Giter VIP home page Giter VIP logo

terminal-desktop's Introduction

Update

The most active development continues in the cross-platform web version

https://github.com/Indemos/Terminal

Stock Trading Terminal and Backtester - Desktop Version

All-in-one. Trading terminal with generic gateway implementation, tick backtester, charting, and performance evaluator for trading strategies. Currently, supports only stocks with experimental extension for FX, options, and futures.

Structure

  • Core - cross-platform .NET 5 class library that contains main functionality
  • Chart - graphics and charts
  • Client - the main application that puts together windows for orders, positions, performance metrics, and charts
  • Evaluation - basic unit tests
  • Score - class library measuring performance and related statstics
  • Data - catalog with historical data, any format is acceptable as long as you implement your own parser
  • Gateway - gateway implementations for various brokers and exchanges, including historical and simulated data

Gateways

Both, trading and data gateways are included in the same interface. In order to create connector for preferable broker, implement interface IGatewayModel.

Trading Strategies

Examples of simple trading strategies can be found in Client catalog.

Configuration

In order to connect to specific gateway, you need to provide relevant credentials by using App.config file in the Client project or directly in the source code. Example of the configuration file for Simulation gateway below.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <appSettings>
    <add key="DataLocation" value="D:/Code/Net/Terminal/Data/Quotes" />
  </appSettings>
</configuration>

Then, in your strategy, when creating Gateway instance, initialize it using configuration above.

var gateway = new GatewayClient()
{
  Token = ...
  Secret = ...
  Source = ConfigurationManager.AppSettings["DataLocation"].ToString()
}

Preview

terminal-desktop's People

Contributors

artemiusgreat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.