Class Layer1ApiSetStopOrderDurationMessage

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

public final class Layer1ApiSetStopOrderDurationMessage extends Layer1ApiTradingMessageWithCallback
Request to change the Stop Order Duration 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 durations depend on the provider's supported features (see supportedStopDurations in Layer1ApiProviderSupportedFeatures). If the specified duration 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: