Class OrderSubmissionDelegate

java.lang.Object
com.caplin.motif.fx.ret.orders.trading.OrderSubmissionDelegate
All Implemented Interfaces:
com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>

public class OrderSubmissionDelegate extends Object implements com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
  • Constructor Details

  • Method Details

    • connectionAvailable

      public void connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection limitOrderConnection)
      Specified by:
      connectionAvailable in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
    • connectionRegistrationFailed

      public void connectionRegistrationFailed(String reason)
      Specified by:
      connectionRegistrationFailed in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
    • onOrderTransactionCreatePass

      public void onOrderTransactionCreatePass()
    • onOrderTransactionCreateFailed

      public void onOrderTransactionCreateFailed(String reason)
    • ifDoneOcoStrategySubmitted

      public void ifDoneOcoStrategySubmitted(IfDoneOCOStrategy ifDoneOCOStrategy)
    • ifDoneStrategySubmitted

      public void ifDoneStrategySubmitted(IfDoneStrategy ifDoneStrategy)
    • ocoStrategySubmitted

      public void ocoStrategySubmitted(OCOStrategy ocoStrategy)
    • singleStrategySubmitted

      public void singleStrategySubmitted(SingleStrategy singleStrategy)
    • ifTimeoutStrategySubmitted

      public void ifTimeoutStrategySubmitted(IfTimeoutStrategy strategy)
    • customStrategySubmitted

      public void customStrategySubmitted(MotifOrderStrategy customOrderStrategy)
    • ifDoneOcoStrategyClosed

      public void ifDoneOcoStrategyClosed(IfDoneOCOStrategy ifDoneOCOStrategy)
    • ifDoneStrategyClosed

      public void ifDoneStrategyClosed(IfDoneStrategy ifDoneStrategy)
    • ocoStrategyClosed

      public void ocoStrategyClosed(OCOStrategy ocoStrategy)
    • singleStrategyClosed

      public void singleStrategyClosed(SingleStrategy singleStrategy)
    • ifTimeoutStrategyClosed

      public void ifTimeoutStrategyClosed(IfTimeoutStrategy strategy)
    • customStrategyClosed

      public void customStrategyClosed(MotifOrderStrategy customOrderStrategy)