@Deprecated public interface StrategyDetailsRequestListener
A StrategyDetailsRequestListener instance will be notified of incoming client requests for the details of previously submitted order strategies.
|Modifier and Type||Method and Description|
Called to notify you that a client is no longer interested in the details of the previously requested order strategy.
Called to notify you that a client has requested details for a previously submitted order strategy.
void onStrategyDetailsRequest(OrderDetailsInfo subjectInfo, StrategyDetailsCallback callback)
Called to notify you that a client has requested details for a previously submitted order
strategy. This callback is generally called immediately after you return your implementation of
StrategyDetailsRequestListener from the
Note that the OrderDetailsInfo representing the request is for a single order, and the
order ID you retrieve by calling
OrderDetailsInfo.getOrderID() is the ID for the order and
not the strategy. You are responsible for determining if the requested order is part of a multi-order
strategy, and if so you must return the details of the whole strategy and not just this specific order.
subjectInfo- A domain object representing the request for the order strategy details.
callback- A callback object used for sending the details (or a failure response) back to the client.
void onStrategyDetailsDiscard(OrderDetailsInfo subjectInfo)
subjectInfo- A domain object representing the original request for the order strategy details, which the client is no longer interested in.
Copyright © 2019 Caplin Systems.