Class OrderSubmissionManager
java.lang.Object
com.caplin.motif.fx.ret.orders.trading.OrderSubmissionManager
- All Implemented Interfaces:
OrderSubmissionListener<MotifOrderStrategy>
public class OrderSubmissionManager
extends Object
implements OrderSubmissionListener<MotifOrderStrategy>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onTradeClosed
(MotifOrderStrategy orderStrategy) Called in order to close/cancel the tradevoid
orderStrategySubmitted
(MotifOrderStrategy orderStrategy) Called on the initiation of Limit Order trades, to notify the backend that a Limit Order has been submitted for the specified OrderStrategy
-
Constructor Details
-
OrderSubmissionManager
-
-
Method Details
-
orderStrategySubmitted
Description copied from interface:OrderSubmissionListener
Called on the initiation of Limit Order trades, to notify the backend that a Limit Order has been submitted for the specified OrderStrategy- Specified by:
orderStrategySubmitted
in interfaceOrderSubmissionListener<MotifOrderStrategy>
- Parameters:
orderStrategy
- The object representing the clients submission of the trade, containing all the information required to submit a trade to a backend system.
-
onTradeClosed
Description copied from interface:OrderSubmissionListener
Called in order to close/cancel the trade- Specified by:
onTradeClosed
in interfaceOrderSubmissionListener<MotifOrderStrategy>
- Parameters:
orderStrategy
- 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.
-