Interface StrategyDetailsRequestListener
A StrategyDetailsRequestListener instance will be notified of incoming client requests for the details of previously submitted order strategies.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onStrategyDetailsDiscard
(OrderDetailsInfo subjectInfo) Deprecated.Called to notify you that a client is no longer interested in the details of the previously requested order strategy.void
onStrategyDetailsRequest
(OrderDetailsInfo subjectInfo, StrategyDetailsCallback callback) Deprecated.Called to notify you that a client has requested details for a previously submitted order strategy.
-
Method Details
-
onStrategyDetailsRequest
Deprecated.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
StrategyDetailsRequestListenerFactory.createStrategyDetailsRequestListener(OrderDetailsInfo)
method.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.- Parameters:
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.
-
onStrategyDetailsDiscard
Deprecated.Called to notify you that a client is no longer interested in the details of the previously requested order strategy.- Parameters:
subjectInfo
- A domain object representing the original request for the order strategy details, which the client is no longer interested in.
-