Trademanager 2.7_02 now available. Major re-factor of the persist Trade and TradeOrder process. Now CRUD actions on Trade/TradeOrder are all handled via the persistTradeOrder action, TradeOrderfill are handled by the persistTradeOrderfill (note this calls persistTradeOrder). Trade (a.k.a Position) is derived from the latest state of all the open/filled TradeOrders. Trade is now not needed by any of the createOrder actions in the strategies. This simplifies the writing of strategies and wraps Trade actions in one function.
I have added addition events to the BrokerChangeEvent i.e. tradeOrderFilled, positionclosed, tradeOrderCancelled.
TradeOrder Key is now a NOT NULL field in the DB.
Next 3 weeks I will be away so don't expect any new builds!!
Hi Simon-
ReplyDeleteI tried to email this to your Google addy, but delivery failed.
Just stumbled across your Trade-Manager project. While I'm a full time equity trader, sorry to say I'm clueless with regard to coding. I can handle Excel but that's about it!
In any case, I'd love to get your application hooked up to my TWS to see it in action!
I've followed your instructions as carefully as possible, but have a couple questions.
1) you gave a link to the J2SE download page, but Oracle appears to be offering other things now. I downloaded JRE Ver 5, hopefully that will work?
2) I did edit both the Build.bat and the TradeManager.bat files to reflect J2SE location
3) Sorry but I don't know how to "UNCOMMENT", so I attached the Build.bat file, perhaps you'd be good enough to edit it uncommenting the CreateDB
4) Running Build.bat does not seem to get very far. Says there an "Exception in thread "main"java.lang.NoClassDefFoundError: org/apache/tools/ant/Main"
I'm running a Win XP3 machine with both TradeManager and IB TWS on same box, and Java is located at: C:\Program Files\Java\jre1.5.0, with previous Java (for Interactive Brokers at C:\Program Files\Java\jre6). For grins I tried pointing the Build.bat file at JRE6, but that fails as it is not finding javac compiler.
Regards,
Gordon