An application to automate trading strategies based on candle stick charts and indicators This is an open source project. Current interface supported are Interactive Brokers TWS and Yahoo Finance (data only)
Wednesday, March 6, 2013
2.11 build now avaialbe this build handle FA account holders. It also allows submission of FA orders.
1/ Altered database, Tradestrategy ManyToOne Portfolio ManyToMany Account. The Portfolio table now represents a group of accounts. This allows Profiles/Groups from IB TWS to be loaded at login into the Portfolio table. Portfolio AllocationMethod details the distribution of a position across Accounts.
2/ Configuration Tab allows configuration of Portfolio/Account relationship. Note for individual accounts this is OneToOne for FA accounts this should be managed in IB TWS.
Thanks
Simon
Subscribe to:
Post Comments (Atom)
Hi Simon,
ReplyDeleteI ran "build.bat" on winXP and everything ran fine. But when I ran "tradermanager.bat" I got the following errors:
C:\Documents and Settings\All Users\Documents\trade-manager-2.11_02>trademanager.bat
Path=C:/Program Files/Java/jdk1.7.0_02/bin;C:\Perl\site\bin;C:\Perl\bin;C:\WINDOWS\system32;C:\WINDO
WS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Acronis\SnapAPI\
ClassPath=C:/Program Files/Java/jdk1.7.0_02/jre/lib/rt.jar;C:/Program Files/Java/jdk1.7.0_02/lib/too
ls.jar;lib/*;dist/*;
Market Timezone=EST5EDT
log4j:ERROR Could not read configuration file from URL [file:config.properties].
java.io.FileNotFoundException: config.properties (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at java.io.FileInputStream.(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:524)
at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
at org.apache.log4j.LogManager.(LogManager.java:127)
at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
at org.trade.core.properties.ConfigProperties.(ConfigProperties.java:64)
at org.trade.ui.TradeAppLoadConfig.loadAppProperties(TradeAppLoadConfig.java:57)
at org.trade.ui.TradeAppFrame.(TradeAppFrame.java:67)
at org.trade.ui.TradeAppMain.(TradeAppMain.java:64)
at org.trade.ui.TradeAppMain$1.run(TradeAppMain.java:86)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
log4j:ERROR Ignoring configuration file [file:config.properties].
log4j:WARN No appenders could be found for logger (org.trade.core.properties.ConfigProperties).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
and also, a popup message box that said:
org.hibernate.exception.GenericJDBCException. Could not open connection See log for details.
If you don't mind, please give me some hints on how to rectify these problems. Thank you very much for your time and help.
Regards,
Tom
Hi Simon,
ReplyDeleteSorry I didn't notice the docs folder, now that I've read the docs everything's OK now. Thank you very much for the nice app.
Regards,
Tom
Np if you have any question email me direct. Next version I'll add a copy to the build.bat in case people forget.
ReplyDelete