Documentation
Do you have somewhere the documentation for the events and
methods? Or the list of instrument identifiers?
I was trying EURUSD, and it isn't recognized as identifier.
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by David on 19 Feb, 2010 01:15 PM
The documentation is very minimalist in the current version.
However, Eclipse should help you to find what's available.
For the instruments, you can read this Knowledge Base: Market data. For a list of supported instruments, use the auto-completion in Eclipse or look at the 'Futures' class in Eclipse or in the apidoc provided in the MarketRunner package
For the events, you can override any method from StrategyEvents class (onStrategyStart(), onStrategyStop(), onBarOpen(Bar barOpen), onPositionOpened(), onPositionChanged(), onPositionClosed(), onStopExecuted(Stop stop), onBarClose(Bar bar))
To get on track faster, you can read and try all the samples provided i n the Eclipse project or even follow the Tutorial
Support Staff 3 Posted by Eric on 19 Feb, 2010 01:21 PM
The generated API documentation is in the Market Runner zip file, under the apidocs directory.
But David is right: the most convenient way is to use auto-complete (Ctrl-Space) under Eclipse.
David resolved this discussion on 23 Feb, 2010 05:56 PM.