Class OrderAcceptEvent
java.lang.Object
com.caplin.motif.fx.trading.ResponderEvent<UserTrade>
com.caplin.motif.fx.trading.orders.submission.event.OrderAcceptEvent
Deprecated.
An event to notify the client that the submission of the order or order strategy has been completed, and the order (or orders) is now active.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.The name of the transition representing this eventFields inherited from class com.caplin.motif.fx.trading.ResponderEvent
fields
-
Constructor Summary
ConstructorDescriptionOrderAcceptEvent
(String orderID) Deprecated.Creates an OrderAcceptEvent with the event name "Accept" and the provided order ID.OrderAcceptEvent
(List<String> orderIDs) Deprecated.Creates an OrderAcceptEvent with the event name "Accept" and multiple order IDs. -
Method Summary
Methods inherited from class com.caplin.motif.fx.trading.ResponderEvent
addField, addFields, equals, getEventName, getField, getFields, hashCode, toString
-
Field Details
-
ACCEPT_EVENT
Deprecated.The name of the transition representing this event- See Also:
-
-
Constructor Details
-
OrderAcceptEvent
Deprecated.Creates an OrderAcceptEvent with the event name "Accept" and the provided order ID.- Parameters:
orderID
- The order id to send (usually the parent order ID).
-
OrderAcceptEvent
Deprecated.Creates an OrderAcceptEvent with the event name "Accept" and multiple order IDs. This is used when a multi-order strategy has been accepted.- Parameters:
orderIDs
- The order IDs of each of the orders in the strategy. The list must be ordered according to the semantics of the strategy, for example if the strategy is anIfDoneOCOStrategy
the first order ID in the list should be the parent order ID, followed by the two order IDs for the OCO part of the strategy. This list will be sent as a comma separated string on the field "OrderID".
-