Coder Social home page Coder Social logo

sharonjin / quanttrading Goto Github PK

View Code? Open in Web Editor NEW

This project forked from letianzj/quanttrading

0.0 2.0 0.0 73.68 MB

A real-time quantitative trading/backtesting platform in C#, supporting IB (full brokerage) and Google Finance (quote only). It adds R support through R.NET.

Groff 1.77% C# 95.09% PowerShell 0.20% R 2.94%

quanttrading's Introduction

QuantTrading

Project Description

A real-time quantitative trading/backtesting platform in C#, supporting IB (full brokerage) and Google Finance (quote only). It adds R support through R.NET.

Project Summary

Currently it supports Interactive Brokers(IB) and GoogleFinance(GOOG); switch from config\mainconfg.xml.

Run program RealTimeTrading (QTShell) on top of TWS to manually trade, or

Design and derive a strategy from StrategyBase class. Backtest it in BackTestWindow Program, and then load it seamlessly into RealTimeTrading by configuring the Config/mainconfig.xml. For details, see examples in project ClassicStrategies.

DailyPreMarket and HistoricalDataDownloader are console based in order to be set up in Windows task scheduler.

Keywords

Quantitative: Econometrics, Time Series, Technical Analysis, Statistical Arbitrage, Kalman Filter, Machine Learning.

Technical: WCF, WPF, MVVM, Rx, Prism, Concurrency, TPL, LINQ

Installation

(1) Download and upzip; no installation needed. Compile to run or try Programs\Release\QTShell.exe.

(2) Currently it supports IB(IB) and GoogleFinance(GOOG); switch from config\mainconfg.xml.

(3) Portfolio is retrieved from config\basket.xml.

(4) The only personal information needed is google email account in config\mainconfig.xml if email notices on trading activities are desirable. Otherwise leave it blank.

(5) Some functions need statistical package R (required) and RStudio (recommended).

(6) Due to IB historical data request restriction, it may take a while for yesterday's close and change to be fully initialized (or should we load yesterday's prices along with basket file instead of requesting them dynamically?)

  1. Log folder holds log files; Real time data is recorded in TickData folder. Historical bar requests are directed into HistData folder.

  2. Strategy dlls are placed in the Strategy folder, which can be loaded into RealTimeTrading or BacktestWindow.

(9) It's compiled in VS 2013. If you encounter a false complaint of missing Oxyplot or R.Net, simply build again and it should get pass.

(10) Don't forget to check out Git Repository for latest development. Enjoy !

Figures

alt tag

alt tag

quanttrading's People

Contributors

letianzj avatar

Watchers

James Cloos 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.