Enum | Description |
---|---|
Layer1ApiVersionValue |
List of API versions.
|
Annotation Type | Description |
---|---|
Layer1ApiDisableOnLoad |
Marks strategy that can not be auto enabled on load based on settings, no matter what it's previous state was
|
Layer1ApiVersion |
Accepts integer value specifying API version that was used to write this
module.
|
Layer1Attachable |
Marks classes that can be loaded from GUI as a strategy.
Should implement AutoCloseable, close will be called when unloading. When strategy is loaded and is correctly injected in layers chain, it will receive UserMessageLayersChainCreatedTargeted message via Layer1ApiAdminListener.onUserMessage(Object) (you need to implement it)After this, you can interact with Layer1ApiProvider , received in your constructor.When strategy is no longer in layers chain, Layer1ApiFinishable.finish() will be called (you need to implement it)You can interact with Layer1ApiProvider inside Layer1ApiFinishable.finish() method, if your previous state allowed it (see below for details*)After method is completed, you can not interact with Layer1ApiProvider .*Note, that there is no guarantee that if Layer1ApiFinishable.finish() is called, UserMessageLayersChainCreatedTargeted for this strategy was received.(i.e. |
Layer1ChartControlVisbility |
User will be able to control this strategy (enable/disable) via visibility popup menu
Note that this menu is intended to control only visual components present on main chart, not bottom panel |
Layer1Injectable |
Marks classes that can be loaded from GUI as a strategy.
Class will be injected in layers chain. Should implement AutoCloseable, close will be called when unloading. When strategy is loaded and is correctly injected in layers chain, it will recieve UserMessageLayersChainCreatedTargeted message via Layer1ApiAdminListener.onUserMessage(Object) (you need to implement it)After this, you can interact with Layer1ApiProvider , received in your construtor.When strategy is no longer in layers chain, Layer1ApiFinishable.finish() will be called (you need to implement it)You can interact with Layer1ApiProvider inside Layer1ApiFinishable.finish() method, if your previous state allowed it (see below for details*)After method is completed, you can not interact with Layer1ApiProvider .*Note, that there is no guarantee that if Layer1ApiFinishable.finish() is called, UserMessageLayersChainCreatedTargeted for this strategy was received.(i.e. |
Layer1SimpleAttachable |
Marks classes that can be loaded from GUI as a strategy.
Simplified version of Layer1 API, for more advanced (but more complex) version use Layer1Attachable |
Layer1StrategyDateLicensed |
Use this annotation if your strategy should only be available if it user has
corresponding license field set to a date ahead of current date.
|
Layer1StrategyName |
Specifies a name for strategy that will be displayed in strategies dialog
|
Layer1TradingStrategy |
Mark strategy as trading strategy, not allowing it to be used in non demo real trading
|
Layer1UpstreamDataEditor |
Tells bookmap that strategy will be modifying upstream data (e.g.
|
MaximumSupportedFeatures |
Similar to
Layer1ApiAdminProvider.getSupportedFeatures() , but is used
to declare provider capabilities before provider is actually instantiated. |
UnrestrictedData |
Bookmap will only trust this annotation if module is signed.
|