Interface StrategyHandler

All Known Implementing Classes:
AbstractStrategyHandler, IfDoneOCOStrategyHandler, IfDoneStrategyHandler, IfTimeoutStrategyHandler, OCOStrategyHandler, SingleStrategyHandler

public interface StrategyHandler
  • Method Details

    • getRequestId

      String getRequestId()
    • getParentTradeId

      String getParentTradeId()
    • getStrategy

      MotifOrderStrategy getStrategy()
    • getUser

      String getUser()
    • getAssetClass

      String getAssetClass()
    • getOrderIds

      @Deprecated List<String> getOrderIds()
      Deprecated.
      along with other audit logging features, this accessor is now redundant
      Returns a list of order IDs in ascending order.
    • getOrderSubmittedResponder

      OrderSubmittedResponder getOrderSubmittedResponder()
    • tradeSubmitError

      void tradeSubmitError(String reason)
    • activatingTrade

      void activatingTrade()
    • tradeActivated

      void tradeActivated()
    • doNotActivate

      Boolean doNotActivate()
    • submitOrder

      void submitOrder(com.caplin.ret.trapi.fx.order.transaction.strategy.submit.OrderSubmissionTransaction transaction) throws OrderSubmissionException
      Throws:
      OrderSubmissionException