Package velox.api.layer1
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.jar to classpath
- start velox.ib.Main
- 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.jar to classpath
- start velox.ib.Main
- 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.
-
ClassDescriptionExtends all possible Layer1 listeners.Provides default empty implementations.Listens to general events, such as login results, disconnections, warnings, etc.Class implementing this should provide general Layer1 Api functions.Deprecated.Provides default empty implementations.Listener for trading eventsClass implementing this should provide trade/depth data to subscribersEvery strategy should implement this interface
Defines action when strategy is being unloaded (removing added GUI, disposing dialogs, etc)Provides default empty implementations.Listener for instrument eventsClass implementing this should provide ability to work with instrumentsIf 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 interfaceExtends all possible Layer1 listeners.Provides default empty implementationsListener for MBO eventsClass implementing this should provide MBO data to subscribersIf add-on implement this interface than it will be not unloaded and then loaded again when user has reset chart settings.Extends all possible Layer1 provider aspect interfaces.Provides default empty implementations.Listener for order routing.Class implementing this should provide ability to work with ordersImplement this interface if you want strategy to show custom panels when selected in strategies dialogImplement this interface if you want your strategy to display description in strategies dialogDeprecated.
Layer1ApiNotReloadedOnSettingsChangeinstead.