Interface StrategyHandler
-
- All Known Implementing Classes:
AbstractStrategyHandler
,IfDoneOCOStrategyHandler
,IfDoneStrategyHandler
,IfTimeoutStrategyHandler
,OCOStrategyHandler
,SingleStrategyHandler
public interface StrategyHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
activatingTrade()
java.lang.Boolean
doNotActivate()
java.lang.String
getAssetClass()
java.util.List<java.lang.String>
getOrderIds()
Deprecated.along with other audit logging features, this accessor is now redundantcom.caplin.motif.fx.trading.orders.submission.responder.OrderSubmittedResponder
getOrderSubmittedResponder()
java.lang.String
getParentTradeId()
java.lang.String
getRequestId()
com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy
getStrategy()
java.lang.String
getUser()
void
submitOrder(com.caplin.ret.trapi.fx.order.transaction.strategy.submit.OrderSubmissionTransaction transaction)
void
tradeActivated()
void
tradeSubmitError(java.lang.String reason)
-
-
-
Method Detail
-
getRequestId
java.lang.String getRequestId()
-
getParentTradeId
java.lang.String getParentTradeId()
-
getStrategy
com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy getStrategy()
-
getUser
java.lang.String getUser()
-
getAssetClass
java.lang.String getAssetClass()
-
getOrderIds
@Deprecated java.util.List<java.lang.String> getOrderIds()
Deprecated.along with other audit logging features, this accessor is now redundantReturns a list of order IDs in ascending order.
-
getOrderSubmittedResponder
com.caplin.motif.fx.trading.orders.submission.responder.OrderSubmittedResponder getOrderSubmittedResponder()
-
tradeSubmitError
void tradeSubmitError(java.lang.String reason)
-
activatingTrade
void activatingTrade()
-
tradeActivated
void tradeActivated()
-
doNotActivate
java.lang.Boolean doNotActivate()
-
submitOrder
void submitOrder(com.caplin.ret.trapi.fx.order.transaction.strategy.submit.OrderSubmissionTransaction transaction) throws OrderSubmissionException
- Throws:
OrderSubmissionException
-
-