Documentation

Bogdan Caramalac's Avatar

Bogdan Caramalac

19 Feb, 2010 01:04 PM via web

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.

  1. Support Staff 2 Posted by David on 19 Feb, 2010 01:15 PM

    David's Avatar

    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

  2. Support Staff 3 Posted by Eric on 19 Feb, 2010 01:21 PM

    Eric's Avatar

    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.

  3. David resolved this discussion on 23 Feb, 2010 05:56 PM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

10 Sep, 2010 01:40 PM
10 Sep, 2010 09:40 AM
10 Sep, 2010 09:40 AM
10 Sep, 2010 05:39 AM
10 Sep, 2010 05:39 AM