The most important items in the list on the left are the first two: AllDataModule and Api.
- AllDataModule. This page lists all interfaces that your custom module may implement. For instance, if it needs to receive trades in the form of Times&Sales, it needs to implement TradeDataListener interface and will receive the trades via
Code: Select all
onTrade(double price, int size, TradeInfo tradeInfo)
- Api. This page describes how your custom module can call the Api, for instance, if it needs to draw lines/indicators it needs to register the line:
Code: Select all
api.registerIndicator(...)
Raw data listener Even simpler You can find more examples on Bookmap GitHub page in projects called DemoStrategies and simple-demo.
Next
For getting started quickly, please review Bookmap API highlights and Developing with Bookmap API (step-by-step).
Best,
Bookmap team