Class BulkOrderActionTrade


  • @Deprecated
    public class BulkOrderActionTrade
    extends UserTrade
    Deprecated.

    An instance of this object represents a request from the client to perform an action on a number of orders.

    • Constructor Detail

      • BulkOrderActionTrade

        public BulkOrderActionTrade​(com.caplin.trading.Trade trade,
                                    ScheduledExecutorService executorService,
                                    BulkOrderAction bulkOrderAction,
                                    Set<String> orderIDs)
        Deprecated.

        Constructs the BulkOrderActionTrade with a trade object from the underlying trading com.caplin.motif.datasource that contains the fields and the state model representing the clients request to perform bulk action on a set of orders.

        Note: As a user of the FXIntegrationAPI one is not expected to create this object, but to be passed these in listeners. See BulkOrderActionTradeListener

        Parameters:
        trade - The underlying trade from the trading com.caplin.motif.datasource library.
        orderIDs - A set of order ids on which the bulk order action BulkOrderAction will be performed.
        bulkOrderAction - The bulk action to perform on these orders.
    • Method Detail

      • getBulkActionSentResponder

        public BulkOrderActionSentResponder getBulkActionSentResponder()
        Deprecated.
        Returns the responder that can trigger events from the BulkActionSent state.
        Returns:
        the responder that can trigger events from the BulkActionSent state.
      • getProcessingResponder

        public BulkOrderActionProcessingResponder getProcessingResponder()
        Deprecated.
        Returns the responder that can trigger events from the Processing state.
        Returns:
        the responder that can trigger events from the Processing state.
      • getOrderIDs

        public Set<String> getOrderIDs()
        Deprecated.
        The ids of the orders on which this action should be performed on.
        Returns:
        the id of the orders that this action will be performed on.
      • hashCode

        public int hashCode()
        Deprecated.
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(Object obj)
        Deprecated.
        Overrides:
        equals in class Object