Interface StrategyHandler
- All Known Implementing Classes:
AbstractStrategyHandler
,IfDoneOCOStrategyHandler
,IfDoneStrategyHandler
,IfTimeoutStrategyHandler
,OCOStrategyHandler
,SingleStrategyHandler
public interface StrategyHandler
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Deprecated.along with other audit logging features, this accessor is now redundantgetUser()
void
submitOrder
(com.caplin.ret.trapi.fx.order.transaction.strategy.submit.OrderSubmissionTransaction transaction) void
void
tradeSubmitError
(String reason)
-
Method Details
-
getRequestId
String getRequestId() -
getParentTradeId
String getParentTradeId() -
getStrategy
MotifOrderStrategy getStrategy() -
getUser
String getUser() -
getAssetClass
String getAssetClass() -
getOrderIds
Deprecated.along with other audit logging features, this accessor is now redundantReturns a list of order IDs in ascending order. -
getOrderSubmittedResponder
OrderSubmittedResponder getOrderSubmittedResponder() -
tradeSubmitError
-
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
-