Class OrderAcceptEvent

java.lang.Object
com.caplin.motif.fx.trading.ResponderEvent<UserTrade>
com.caplin.motif.fx.trading.orders.submission.event.OrderAcceptEvent

@Deprecated public class OrderAcceptEvent extends ResponderEvent<UserTrade>
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.

See Also:
  • Field Details

    • ACCEPT_EVENT

      public static final String ACCEPT_EVENT
      Deprecated.
      The name of the transition representing this event
      See Also:
  • Constructor Details

    • OrderAcceptEvent

      public OrderAcceptEvent(String orderID)
      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

      public OrderAcceptEvent(List<String> orderIDs)
      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 an IfDoneOCOStrategy 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".