Class StrategyDetailsSubscription
java.lang.Object
com.caplin.motif.fx.ret.orders.details.subscription.StrategyDetailsSubscription
- All Implemented Interfaces:
com.caplin.ret.trapi.fx.order.listener.OrderEventListener
,com.caplin.ret.trapi.fx.order.listener.OrderModifyRequestListener
public class StrategyDetailsSubscription
extends Object
implements com.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
Constructor Summary
ConstructorsConstructorDescriptionStrategyDetailsSubscription
(OrderAdapterInitialiser adapterServices, String subscriptionId, com.caplin.ret.trapi.fx.order.strategy.StrategyTree initialStrategyTree, Strategy initialStrategy, StrategyBuilder initialStrategyBuilder, com.caplin.ret.trapi.concurrent.executor.SharedExecutorService<ExecutorService> serialExecutor, com.caplin.ret.trapi.concurrent.executor.SharedExecutorService<ExecutorService> parallelExecutor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onBulkPreviousOrdersReceived
(List<com.caplin.ret.trapi.fx.order.CachedOrder> previousOrder) void
void
onEventHistoryReceived
(com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory) void
onLimitOrderActivate
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderActivateFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderCancel
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderCancelFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderCancelPass
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderCompleted
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderDeactivate
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderDeactivateFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderDelete
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderDeleteFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderFillBooked
(com.caplin.ret.trapi.fx.order.OrderFillEvent event) void
onLimitOrderModification
(com.caplin.ret.trapi.fx.order.OrderModificationEvent event) void
onLimitOrderModifyFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderRegister
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderRegisterFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderReject
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderTimeout
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderToleranceFail
(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) void
onLimitOrderTolerancePass
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onLimitOrderTraderCancelled
(com.caplin.ret.trapi.fx.order.OrderEvent event) void
onPreviousOrderReceived
(com.caplin.ret.trapi.fx.FXOrder previousOrder) void
setListener
(StrategyDetailsListener listener)
-
Constructor Details
-
Method Details
-
setListener
-
toDisplayString
- Specified by:
toDisplayString
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderRegister
public void onLimitOrderRegister(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderRegister
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderRegisterFail
public void onLimitOrderRegisterFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderRegisterFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderActivate
public void onLimitOrderActivate(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderActivate
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderActivateFail
public void onLimitOrderActivateFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderActivateFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderDeactivate
public void onLimitOrderDeactivate(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderDeactivate
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderDeactivateFail
public void onLimitOrderDeactivateFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderDeactivateFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderDelete
public void onLimitOrderDelete(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderDelete
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onEventHistoryReceived
public void onEventHistoryReceived(com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory) - Specified by:
onEventHistoryReceived
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onBulkPreviousOrdersReceived
public void onBulkPreviousOrdersReceived(List<com.caplin.ret.trapi.fx.order.CachedOrder> previousOrder) - Specified by:
onBulkPreviousOrdersReceived
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderDeleteFail
public void onLimitOrderDeleteFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderDeleteFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderCancel
public void onLimitOrderCancel(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderCancel
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderCancelPass
public void onLimitOrderCancelPass(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderCancelPass
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderCancelFail
public void onLimitOrderCancelFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderCancelFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderTolerancePass
public void onLimitOrderTolerancePass(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderTolerancePass
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderToleranceFail
public void onLimitOrderToleranceFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderToleranceFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderCompleted
public void onLimitOrderCompleted(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderCompleted
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderTraderCancelled
public void onLimitOrderTraderCancelled(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderTraderCancelled
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderTimeout
public void onLimitOrderTimeout(com.caplin.ret.trapi.fx.order.OrderEvent event) - Specified by:
onLimitOrderTimeout
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderModification
public void onLimitOrderModification(com.caplin.ret.trapi.fx.order.OrderModificationEvent event) - Specified by:
onLimitOrderModification
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderModifyRequestListener
-
onLimitOrderModifyFail
public void onLimitOrderModifyFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderModifyFail
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderModifyRequestListener
-
onDisconnect
public void onDisconnect()- Specified by:
onDisconnect
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderFillBooked
public void onLimitOrderFillBooked(com.caplin.ret.trapi.fx.order.OrderFillEvent event) - Specified by:
onLimitOrderFillBooked
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onPreviousOrderReceived
public void onPreviousOrderReceived(com.caplin.ret.trapi.fx.FXOrder previousOrder) - Specified by:
onPreviousOrderReceived
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-
onLimitOrderReject
public void onLimitOrderReject(com.caplin.ret.trapi.fx.order.OrderErrorEvent event) - Specified by:
onLimitOrderReject
in interfacecom.caplin.ret.trapi.fx.order.listener.OrderEventListener
-