Class Layer1ApiChangeTradingModeMessage

java.lang.Object
velox.api.layer1.messages.Layer1ApiTradingMessageWithCallback
velox.api.layer1.messages.Layer1ApiChangeTradingModeMessage

@Deprecated public class Layer1ApiChangeTradingModeMessage extends Layer1ApiTradingMessageWithCallback
Deprecated.
This message is deprecated and won't be processed since 7.7.
It is deprecated because of new multi-account concept. With the new multi-account concept, there are no trading mode anymore.
Now, trading could be either enabled or disabled from the Trading Control Panel.
To enable/disable trading via the API If the trading is enabled, both CHART and DOM trading is enabled.
To enable trading, the account for trading must be selected.
To disable trading, the account for trading must be deselected.
Request to change the trading mode in the Trading Control Panel.

This message is only proccessed if it was sent from a trading strategy (see Layer1TradingStrategy).

See Also: