Class OrderAcceptEvent

    • Field Detail

      • ACCEPT_EVENT

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

      • 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".