public class OrderSubmissionDelegate
extends java.lang.Object
implements com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
Constructor and Description |
---|
OrderSubmissionDelegate(OrderAdapterInitialiser initialiser,
java.lang.String user,
java.lang.String retClientUsername) |
Modifier and Type | Method and Description |
---|---|
void |
connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection limitOrderConnection) |
void |
connectionRegistrationFailed(java.lang.String reason) |
void |
customStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy customOrderStrategy) |
void |
customStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy customOrderStrategy) |
void |
ifDoneOcoStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneOCOStrategy ifDoneOCOStrategy) |
void |
ifDoneOcoStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneOCOStrategy ifDoneOCOStrategy) |
void |
ifDoneStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneStrategy ifDoneStrategy) |
void |
ifDoneStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneStrategy ifDoneStrategy) |
void |
ifTimeoutStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfTimeoutStrategy strategy) |
void |
ifTimeoutStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfTimeoutStrategy strategy) |
void |
ocoStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.OCOStrategy ocoStrategy) |
void |
ocoStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.OCOStrategy ocoStrategy) |
void |
onOrderTransactionCreateFailed(java.lang.String reason) |
void |
onOrderTransactionCreatePass() |
void |
singleStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.SingleStrategy singleStrategy) |
void |
singleStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.SingleStrategy singleStrategy) |
public OrderSubmissionDelegate(OrderAdapterInitialiser initialiser, java.lang.String user, java.lang.String retClientUsername)
public void connectionAvailable(com.caplin.ret.trapi.connection.OrderTradingConnection limitOrderConnection)
connectionAvailable
in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
public void connectionRegistrationFailed(java.lang.String reason)
connectionRegistrationFailed
in interface com.caplin.ret.trapi.connection.pool.ConnectionPoolListener<com.caplin.ret.trapi.connection.OrderTradingConnection>
public void onOrderTransactionCreatePass()
public void onOrderTransactionCreateFailed(java.lang.String reason)
public void ifDoneOcoStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneOCOStrategy ifDoneOCOStrategy)
public void ifDoneStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneStrategy ifDoneStrategy)
public void ocoStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.OCOStrategy ocoStrategy)
public void singleStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.SingleStrategy singleStrategy)
public void ifTimeoutStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.IfTimeoutStrategy strategy)
public void customStrategySubmitted(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy customOrderStrategy)
public void ifDoneOcoStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneOCOStrategy ifDoneOCOStrategy)
public void ifDoneStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfDoneStrategy ifDoneStrategy)
public void ocoStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.OCOStrategy ocoStrategy)
public void singleStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.SingleStrategy singleStrategy)
public void ifTimeoutStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.IfTimeoutStrategy strategy)
public void customStrategyClosed(com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy customOrderStrategy)
Copyright © 2019 Caplin Systems.