Class Layer1ApiSetStopOrderTypeMessage

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

public final class Layer1ApiSetStopOrderTypeMessage extends Layer1ApiTradingMessageWithCallback
Request to change the Stop Order type in the Trading Control Panel.
Send via Layer1ApiAdminProvider.sendUserMessage(Object)

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

Works only when the Trading Control Panel is enabled.

The available stop order types depend on the provider's supported features. Common values are OrderType.MKT and OrderType.LMT. If the specified type is not supported by the current provider, the request is rejected (the response will be ACTION_REJECTED) and the value is left unchanged.

See Also: