Awesome Open Source
Awesome Open Source

Codera Quant Java framework

Codera Quant Java framework allows development of automated algorithmic trading strategies, supports backtesting using historical data taken from Interactive Brokers, Yahoo Finance, local database or CSV files and paper or live trade execution via Interactive Brokers TWS Java API.

Prerequisites

  1. Maven installed
  2. TWS has to be up and running and listening on port 7497
  3. Download TWS jar http://interactivebrokers.github.io/. Downloaded archive usually contains built jar file in IBJts/source/JavaClient dir (as of 9.72.17 version)
  4. Install jar locally mvn install:install-file -DgroupId=tws-api -DartifactId=tws-api -Dversion=9.72.17-SNAPSHOT -Dfile=TwsApi.jar
  5. Add/update maven dependency e.g
<dependency>
  <groupId>tws-api</groupId>
  <artifactId>tws-api</artifactId>
  <version>9.72.17-SNAPSHOT</version>
</dependency>

Strategy execution

$ mvn exec:[email protected] -Dexec.args="-h localhost -p 7497 -l "SPY,IWM""

Backtest execution

mvn exec:[email protected]


Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,512
trading (228
trading-bot (115
algorithmic-trading (91
trading-strategies (85
quantitative-finance (77
trading-algorithms (59
trading-platform (44
kalman-filter (40
quantitative-trading (39
trading-api (30