public class StrategyDetailsSubscription
extends java.lang.Object
implements com.caplin.ret.trapi.fx.order.listener.OrderEventListener
Constructor and Description |
---|
StrategyDetailsSubscription(OrderAdapterInitialiser adapterServices,
java.lang.String subscriptionId,
com.caplin.ret.trapi.fx.order.strategy.StrategyTree initialStrategyTree,
com.caplin.motif.fx.trading.orders.details.Strategy initialStrategy,
com.caplin.motif.fx.trading.orders.details.StrategyBuilder initialStrategyBuilder) |
Modifier and Type | Method and Description |
---|---|
void |
onBulkPreviousOrdersReceived(java.util.List<com.caplin.ret.trapi.fx.order.CachedOrder> previousOrder) |
void |
onDisconnect() |
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) |
java.lang.String |
toDisplayString() |
public StrategyDetailsSubscription(OrderAdapterInitialiser adapterServices, java.lang.String subscriptionId, com.caplin.ret.trapi.fx.order.strategy.StrategyTree initialStrategyTree, com.caplin.motif.fx.trading.orders.details.Strategy initialStrategy, com.caplin.motif.fx.trading.orders.details.StrategyBuilder initialStrategyBuilder)
public void setListener(StrategyDetailsListener listener)
public java.lang.String toDisplayString()
toDisplayString
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderRegister(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderRegister
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderRegisterFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderRegisterFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderActivate(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderActivate
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderActivateFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderActivateFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderDeactivate(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderDeactivate
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderDeactivateFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderDeactivateFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderDelete(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderDelete
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onEventHistoryReceived(com.caplin.ret.trapi.fx.order.OrderEventHistories orderHistory)
onEventHistoryReceived
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onBulkPreviousOrdersReceived(java.util.List<com.caplin.ret.trapi.fx.order.CachedOrder> previousOrder)
onBulkPreviousOrdersReceived
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderDeleteFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderDeleteFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderCancel(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderCancel
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderCancelPass(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderCancelPass
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderCancelFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderCancelFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderTolerancePass(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderTolerancePass
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderToleranceFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderToleranceFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderCompleted(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderCompleted
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderTraderCancelled(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderTraderCancelled
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderTimeout(com.caplin.ret.trapi.fx.order.OrderEvent event)
onLimitOrderTimeout
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderModification(com.caplin.ret.trapi.fx.order.OrderModificationEvent event)
onLimitOrderModification
in interface com.caplin.ret.trapi.fx.order.listener.OrderModifyRequestListener
public void onLimitOrderModifyFail(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderModifyFail
in interface com.caplin.ret.trapi.fx.order.listener.OrderModifyRequestListener
public void onDisconnect()
onDisconnect
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderFillBooked(com.caplin.ret.trapi.fx.order.OrderFillEvent event)
onLimitOrderFillBooked
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onPreviousOrderReceived(com.caplin.ret.trapi.fx.FXOrder previousOrder)
onPreviousOrderReceived
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
public void onLimitOrderReject(com.caplin.ret.trapi.fx.order.OrderErrorEvent event)
onLimitOrderReject
in interface com.caplin.ret.trapi.fx.order.listener.OrderEventListener
Copyright © 2019 Caplin Systems.