Interface OrderSubmissionListener<T extends OrderStrategy>
- Type Parameters:
T
- extends anOrderStrategy
Deprecated.
An OrderSubmissionListener instance will be notified of client events regarding the submission of new orders.
Note, that this does not deal with the state or events regarding the order after the submitted state.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTradeClosed
(T strategy) Deprecated.Called in order to close/cancel the tradevoid
orderStrategySubmitted
(T strategy) Deprecated.Called on the initiation of Limit Order trades, to notify the backend that a Limit Order has been submitted for the specified OrderStrategy
-
Method Details
-
orderStrategySubmitted
Deprecated.Called on the initiation of Limit Order trades, to notify the backend that a Limit Order has been submitted for the specified OrderStrategy- Parameters:
strategy
- The object representing the clients submission of the trade, containing all the information required to submit a trade to a backend system.
-
onTradeClosed
Deprecated.Called in order to close/cancel the trade- Parameters:
strategy
- The object representing the clients request to close the trade during the submission phase, containing all the information required to cancel/close the trade in the backend system.
-