Class MotifOrderStrategy

    • Field Detail

      • orders

        protected final List<Order> orders
        Deprecated.
    • Method Detail

      • getTOBOUser

        public String getTOBOUser()
        Deprecated.
        Description copied from interface: OrderStrategy
        Returns the trade on behalf of user.
        Specified by:
        getTOBOUser in interface OrderStrategy
        Returns:
        The trade on behalf of user.
      • getAccount

        public Account getAccount()
        Deprecated.
        Returns the account that the order should be executed against.
        Specified by:
        getAccount in interface OrderStrategy
        Returns:
        The account
      • getActivationDate

        public ActivationDate getActivationDate()
        Deprecated.
        Returns the date which specifies when the order should activate.

        This will be GFA if the order should activate immediately.

        Specified by:
        getActivationDate in interface OrderStrategy
        Returns:
        The activation date.
      • getExpirationDate

        public ExpirationDate getExpirationDate()
        Deprecated.
        Returns the date which specifies when the order should expire.

        This will be GTC if the order should not expire unless it is explicitly canceled.

        Specified by:
        getExpirationDate in interface OrderStrategy
        Returns:
        The expire date.
      • getQueuedResponder

        public OrderQueuedResponder getQueuedResponder()
        Deprecated.
        Returns the Responder responsible for sending server events from the Queued state.
        Specified by:
        getQueuedResponder in interface OrderStrategy
        Returns:
        The Queued Responder
      • getChildOrders

        public List<Order> getChildOrders()
        Deprecated.
        Returns a list of orders that this strategy contains.
        Specified by:
        getChildOrders in interface OrderStrategy
        Returns:
        The list of orders.
      • getType

        public StrategyType getType()
        Deprecated.
        Returns the type of strategy that should be executed.
        Specified by:
        getType in interface OrderStrategy
        Returns:
        The list strategy.
      • getAlertTypes

        public Set<AlertType> getAlertTypes()
        Deprecated.
        Returns a list of alert types that should be fired during the order workflow, for example, fills, partial fills, cancelations etc.
        Specified by:
        getAlertTypes in interface OrderStrategy
        Returns:
        The alert types.
      • getCurrencyPair

        public String getCurrencyPair()
        Deprecated.
        Returns the currency pair that this strategy should be executed for.
        Specified by:
        getCurrencyPair in interface OrderStrategy
        Returns:
        The currency pair
      • getRemarks

        public String getRemarks()
        Deprecated.
        Returns the remarks text which is a free text area within the order ticket.
        Specified by:
        getRemarks in interface OrderStrategy
        Returns:
        The remarks text.
      • getSpotRateDPS

        public String getSpotRateDPS()
        Deprecated.