Package velox.api.layer1.messages
Class CrossTradingStatusMessage
java.lang.Object
velox.api.layer1.messages.CrossTradingStatusMessage
- All Implemented Interfaces:
Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui,velox.api.layer1.messages.Layer1ApiIgnorableUpwardMessage
public class CrossTradingStatusMessage
extends Object
implements Layer1ApiStrategiesEchoMessagesLayer.StrategyEchoMessageFromGui
Received by add-ons and providers when cross-trading starts/stops
through
Layer1ApiAdminListener.onUserMessage(Object) for add-ons
and through Layer1ApiAdminProvider.sendUserMessage(Object) for providers.
Note that if the target instrument is not subscribed, isDepthFull in InstrumentInfo of target
instrument will be false regardless of it's value in the actual InstrumentInfo.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal StringThe instrument from which cross-trading happens (from which user send orders)final CrossTradingStatusfinal StringThe instrument on which cross-trading happens (on which orders are executed)
Note: providers should receive this alias without provider type (i.e.final InstrumentInfo -
Constructor Summary
ConstructorsConstructorDescriptionCrossTradingStatusMessage(String hostAlias, String targetAlias, CrossTradingStatus status) CrossTradingStatusMessage(String hostAlias, String targetAlias, CrossTradingStatus status, InstrumentInfo targetInstrumentInfo) -
Method Summary
-
Field Details
-
hostAlias
The instrument from which cross-trading happens (from which user send orders) -
targetAlias
The instrument on which cross-trading happens (on which orders are executed)
Note: providers should receive this alias without provider type (i.e. if full target alias is "M6BH3.CME@RITHMIC" the provider should receive "M6BH3.CME") -
status
-
targetInstrumentInfo
-
-
Constructor Details
-
CrossTradingStatusMessage
public CrossTradingStatusMessage(String hostAlias, String targetAlias, CrossTradingStatus status, InstrumentInfo targetInstrumentInfo) - Parameters:
hostAlias- The instrument from which cross-trading happens (from which user send orders)targetAlias- The instrument on which cross-trading happens (on which orders are executed)status- Current cross-trading statustargetInstrumentInfo- The Info of the target instrument- See Also:
-
CrossTradingStatusMessage
-
CrossTradingStatusMessage
-
-
Method Details