Interface OrderSubmissionListener<T extends OrderStrategy>
-
- Type Parameters:
T
- extends anOrderStrategy
@Deprecated public interface OrderSubmissionListener<T extends OrderStrategy>
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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
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 Detail
-
orderStrategySubmitted
void 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- 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
void onTradeClosed(T strategy)
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.
-
-