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.-
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. -
Constructor Summary
ConstructorsConstructorDescriptionCrossTradingStatusMessage(String hostAlias, String targetAlias, CrossTradingStatus status) -
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
-
-
Constructor Details
-
CrossTradingStatusMessage
- 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 status- See Also:
-
CrossTradingStatusMessage
-
-
Method Details