HOME FORUMS BROKERS SOFTWARE BOOKS CONTACT US
Elite Trader Your Account  •  Become a Member  •  Help  •  Search    
    Forums ›› Technically Speaking ›› Automated Trading ›› Java IB TWS API open source project  


Post A Reply
    
james2hunt
 

Registered: Apr 2010
Posts: 97

 

07-13-12 08:38 PM

Open source project for writing strategies against IB TWS in Java.

Some how to vids and you can download the project.

http://code.google.com/p/trade-manager/

IB TWS first interface built + backtest interface (tested on Win XP/7 & Ubuntu linux 12.04)

1/ Historical candle chart data on any Interactive Brokers (IB) Trader Workstation (TWS) supported time frame i.e. 30sec/1min/2/5/15/30/60-Daily download from TWS and stored. The trade strategy time-frame is defined in UI when you setup the contract to trade for that day.

2/ Charts using JFreeCharts updatable every 5secs, standard indicators used Moving Averages, Vwap, Pivots & Indexes. Support for any derived indicator based on price/volume. Save and Print in png format. Roll-up from traded timeframe, i.e. if traded time-frame was 2min you can roll-up to 5/15/30/60min.

3/ Back testing Strategies supported. Simply enter your symbols and download historical data from TWS then back test the strategy. Ability to reassign strategies for groups of contracts. Assign indicators to strategies all via UI.

4/ Manual order creation and transmission to IB TWS.

5/ Portfolio Summary(monthly/total)/Detail reports with batting (% win/loss) and simple sharp ratio calculations. Click through to charts/trade details. Export reports in csv format.

6/ Support for Strategies written in java. Strategies are version-ed and stored in the DB, with the latest version being deployed to the file system for compile at run-time. Changes can be made via your favorite java editor or via the Strategy Tab and deployed.

There are separated strategies for entry and management (optional) of positions. Strategies fired on completion of a base candle or at 5sec intervals or on last price if price is out side the H/L of forming bar. The account balances, realized/unrealized P/L are available to strategies and are updated as changes occur. This allows for better risk management of the account when sizing a position.

7/ Import symbols in csv format for daily setup and back testing.

8/ Support for any indicator that is derived from price/volume. Indicator parameters are defined and configured via generic code/code attribute tables in the Configuration Tab i.e. No DB changes required for new indicators.

9/ Configurable trade parameter supported i.e. STPLMT amts, roll up/down on whole/half number, bar % ranges e.t.c all via UI and generic table support for future parms.

10/ Time-zone support for local vs market time-zone.

11/ When not connected to IB TWS the application can download data from Yahoo finance.

James

    Edit/Delete Quote Complain
PetaDollar
Moderator

Registered: Mar 2003
Posts: 1765

 

08-19-12 06:39 PM

I just downloaded this and had a quick look. It's a great effort; thanks for open sourcing it. Do you have a discussion group somewhere (or is this it)?

    Edit/Delete Quote Complain
james2hunt
 

Registered: Apr 2010
Posts: 97

 

08-21-12 05:22 PM


Quote from PetaDollar:

I just downloaded this and had a quick look. It's a great effort; thanks for open sourcing it. Do you have a discussion group somewhere (or is this it)?



No discussion group just email me or and issues if you would like to see new features or if you have question. Email via the google page.

I just uploads 2.7 this morning and will update the DB download at end of week.

Thanks

    Edit/Delete Quote Complain
james2hunt
 

Registered: Apr 2010
Posts: 97

 

08-21-12 08:20 PM


Quote from PetaDollar:

I just downloaded this and had a quick look. It's a great effort; thanks for open sourcing it. Do you have a discussion group somewhere (or is this it)?



Ok I've just setup a blog see bottom right on the code home page for the link

http://code.google.com/p/trade-manager/

or Blog is at

http://trade-manager.blogspot.com/

    Edit/Delete Quote Complain
james2hunt
 

Registered: Apr 2010
Posts: 97

 

09-09-12 01:40 AM

You can download the source and documentation from

http://code.google.com/p/trade-manager/

I have also setup a blog see for details of changes in this version.

http://trade-manager.blogspot.com/

Thanks
James

    Edit/Delete Quote Complain
    
Post A Reply


Receive an email whenever a new post is added to this thread by subscribing to it.
 
Rate This Thread:

Forum Jump:
 

 

   Conduct Rules  -  Privacy Policy  -  Day Trader -  Day Trader Forum -  Best Trading Software -  Sitemap Copyright © 2013, Elite Trader. All rights reserved.    
 
WHILE YOU'RE HERE, TAKE A MINUTE TO VISIT SOME OF OUR SPONSORS:
Advantage Futures
Futures Brokerage & Clearing
AMP Global Clearing
Futures and FX Trading
Bright Trading
Professional Equities Trading
CTS
Futures Trading Software
DaytradingBias.com
Professional Trading Analytics
ECHOtrade
Professional Trading Firm
eSignal
Trading Software Provider
FXCM
Forex Trading Services
Global Futures
Futures, Options & FX Trading
Interactive Brokers
Pro Gateway to World Markets
JC Trading Group
Direct Access Trading
MB Trading
Direct Access Trading
MultiCharts
Trading Software Provider
NinjaTrader
Trading Software Provider
OANDA
Currency Trading
optionshouse
Option Trading & Education
Rithmic
Futures Trade Execution Platform
SpeedTrader
Direct Access Trading
SpreadProfessor
Spread Trading Instruction
thinkorswim by TD Ameritrade
Direct Access TradingAdvertisement
TradersStudio
System Building & Backtesting
Trading Technologies
Trading Software Provider
Trend Following
Trading Systems Provider