Package velox.api.layer1
This package contains Bookmap L1 api. There might be some extra classes you
don't really need available though, so examples are best place to get
started.
To develop strategies more easily do:
1) Create empty "bm-strategy-package-fs-root.jar" in the folder with your classes.
2) Select it in bookmap strategy loading dialog and configure bookmap to load the strategy. Now you can remove the file.
3) Configure you IDE to run bookmap. For this configure ide to
- add C:\Program Files\Bookmap\Bookmap.exe to classpath
- start velox.ib.Main
- Add -Xmx1000M to VM options
- Use C:\Bookmap\Config as working directory
4) Now you should be able to use this configuration to start bookmap with latest version of your strategy.
To develop strategies more easily do:
1) Create empty "bm-strategy-package-fs-root.jar" in the folder with your classes.
2) Select it in bookmap strategy loading dialog and configure bookmap to load the strategy. Now you can remove the file.
3) Configure you IDE to run bookmap. For this configure ide to
- add C:\Program Files\Bookmap\Bookmap.exe to classpath
- start velox.ib.Main
- Add -Xmx1000M to VM options
- Use C:\Bookmap\Config as working directory
4) Now you should be able to use this configuration to start bookmap with latest version of your strategy.
-
Interface Summary Interface Description Layer1ApiAdapter Extends all possible Layer1 listeners.Layer1ApiAdminAdapter Provides default empty implementations.Layer1ApiAdminListenable Layer1ApiAdminListener Listens to general events, such as login results, disconnections, warnings, etc.Layer1ApiAdminProvider Class implementing this should provide general Layer1 Api functions.Layer1ApiAdvancedGeneratorCreator Normally when settings are changed (e.g.Layer1ApiDataAdapter Provides default empty implementations.Layer1ApiDataListenable Layer1ApiDataListener Listener for trading eventsLayer1ApiDataProvider Class implementing this should provide trade/depth data to subscribersLayer1ApiFinishable Every strategy should implement this interface Defines action when strategy is being unloaded (removing added GUI, disposing dialogs, etc)Layer1ApiInstrumentAdapter Provides default empty implementations.Layer1ApiInstrumentListenable Layer1ApiInstrumentListener Listener for instrument eventsLayer1ApiInstrumentProvider Class implementing this should provide ability to work with instrumentsLayer1ApiInstrumentSpecificEnabledStateProvider If this interface is implemented, when strategy checkbox is selected/deselected in Studies config / Strategy config dialog, strategy will not be loaded/unloaded, instead it will be notified via this interfaceLayer1ApiListener Extends all possible Layer1 listeners.Layer1ApiMboDataAdapter Provides default empty implementationsLayer1ApiMboDataListenable Layer1ApiMboDataListener Listener for MBO eventsLayer1ApiMboDataProvider Class implementing this should provide MBO data to subscribersLayer1ApiProvider Extends all possible Layer1 provider aspect interfaces.Layer1ApiTradingAdapter Provides default empty implementations.Layer1ApiTradingListenable Layer1ApiTradingListener Listener for order routingLayer1ApiTradingProvider Class implementing this should provide ability to work with ordersLayer1CustomPanelsGetter Implement this interface if you want strategy to show custom panels when selected in strategies dialogLayer1Descripted Implement this interface if you want your strategy to display description in strategies dialogLayer1InternallyControllingEnable This interface allows Bookmap to know if strategy is enabled/disabled for specific instrumentLayer1InternallyControllingEnable.InvalidateIsEnabledCallback LayerApiListenable -
Class Summary Class Description Layer1ApiBasicListenable