Interface OrderStrategy

All Known Implementing Classes:
IfDoneOCOStrategy, IfDoneStrategy, IfTimeoutStrategy, MotifOrderStrategy, OCOStrategy, SingleStrategy

@Deprecated public interface OrderStrategy
Deprecated.

An OrderStrategy instance encapsulates the order strategy that the client wants to execute.

If the strategy is a multi-leg order, than it contain the list of orders within it for each leg.

  • Method Details

    • getTradingSubProtocol

      String getTradingSubProtocol()
      Deprecated.
      The trading sub protocol, used to determine small variations of OrderStrategy, should be FXTradingSubProtocol.NONE for standard orders.
      Returns:
      The trading sub protocol
    • getRequestID

      String getRequestID()
      Deprecated.
      The client generated ID of the order strategy to be used in tracking the order in the backend trading system.
      Returns:
      The client generated ID.
    • getUsername

      String getUsername()
      Deprecated.
      Returns the client username for which this order strategy will be executed for.
      Returns:
      The client username.
    • getTOBOUser

      String getTOBOUser()
      Deprecated.
      Returns the trade on behalf of user.
      Returns:
      The trade on behalf of user.
    • getAccount

      Account getAccount()
      Deprecated.
      Returns the client account to which this order strategy should be executed for.
      Returns:
      The client account.
    • getActivationDate

      ActivationDate getActivationDate()
      Deprecated.
      Returns the date on which the order strategy should be activated.
      Returns:
      The date on which the order strategy should be activated.
    • getExpirationDate

      ExpirationDate getExpirationDate()
      Deprecated.
      Returns the date on which the order strategy should expire.
      Returns:
      The expiration date.
    • getChildOrders

      List<Order> getChildOrders()
      Deprecated.
      Returns the list of orders representing the legs of the order strategy.
      Returns:
      The list of orders strategy.
    • getType

      StrategyType getType()
      Deprecated.
      Returns the StrategyType of the order strategy.
      Returns:
      The strategy type of the order strategy.
    • getAlertTypes

      Set<AlertType> getAlertTypes()
      Deprecated.
      Returns the set of AlertType of the order strategy.
      Returns:
      The set of alert types.
    • getCurrencyPair

      String getCurrencyPair()
      Deprecated.
      Returns the currency pair of the order strategy.
      Returns:
      The currency pair.
    • getRemarks

      String getRemarks()
      Deprecated.
      Returns the remarks on the order strategy.
      Returns:
      The remarks.
    • getSubmittedResponder

      OrderSubmittedResponder getSubmittedResponder()
      Deprecated.
      Returns the responder for responding to events from the Submitted state.
      Returns:
      The Submitted Responder
    • getQueuedResponder

      OrderQueuedResponder getQueuedResponder()
      Deprecated.
      Returns the responder for responding to events from the Queued state.
      Returns:
      The Queued Responder.
    • getPendingAcceptResponder

      OrderPendingAcceptResponder getPendingAcceptResponder()
      Deprecated.
      Returns the responder for responding to events from the PendingAccept state.
      Returns:
      The Pending Activation.