Package velox.api.layer1.annotations
package velox.api.layer1.annotations
-
ClassDescriptionMarks strategy that can not be auto enabled on load based on settings, no matter what it's previous state wasItems marked with this annotation are exposed as part of L1 API.Accepts integer value specifying API version that was used to write this module.List of API versions.Marks classes that can be loaded from GUI as a strategy.
When strategy is loaded and is correctly injected in layers chain, it will receive
UserMessageLayersChainCreatedTargetedmessage viaLayer1ApiAdminListener.onUserMessage(Object)(you need to implement it)
After this, you can interact withLayer1ApiProvider, 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 withLayer1ApiProviderinsideLayer1ApiFinishable.finish()method.
After method is completed, you can not interact withLayer1ApiProvider.
Please note, that interacting withLayer1ApiProviderafterLayer1ApiFinishable.finish()was called will result in exception.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 panelMarks classes that can be loaded from GUI as a strategy.
Class will be injected in layers chain.
When strategy is loaded and is correctly injected in layers chain, it will recieve
UserMessageLayersChainCreatedTargetedmessage viaLayer1ApiAdminListener.onUserMessage(Object)(you need to implement it)
After this, you can interact withLayer1ApiProvider, 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 withLayer1ApiProviderinsideLayer1ApiFinishable.finish()method.
After method is completed, you can not interact withLayer1ApiProvider.
Please note, that interacting withLayer1ApiProviderafterLayer1ApiFinishable.finish()was called will result in exception.Specifies the order of injection of strategies in the layers chain.The general name of the bundle containing the translation.
This bundle will be used to resolve translationKeys in others' annotations.
If the translationKey is not found in the given bundle then it will be displayed as is.
In the current version it is applied only toLayer1ActionMetadata.name()andLayer1ActionMetadata.groups()values.
It is allowed to use translationKeys and plain text values at the same time in those annotations.Indicates that the marked strategy supports data from multiple trading accounts to be received.Marks classes that can be loaded from GUI as a strategy.
Simplified version of Layer1 API, for more advanced (but more complex) version useLayer1AttachableUse this annotation if your strategy should only be available if it user has corresponding license field set to a date ahead of current date.Specifies a name for strategy that will be displayed in strategies dialogMark strategy as trading strategy, not allowing it to be used in non demo real tradingTells bookmap that strategy will be modifying upstream data (e.g.Similar toLayer1ApiAdminProvider.getSupportedFeatures(), but is used to declare provider capabilities before provider is actually instantiated.Items marked with this annotation are exposed as part of L1 API.Bookmap will only trust this annotation if module is signed.