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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonTradeClosed(MotifOrderStrategy orderStrategy) Called in order to close/cancel the tradevoidorderStrategySubmitted(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:OrderSubmissionListenerCalled on the initiation of Limit Order trades, to notify the backend that a Limit Order has been submitted for the specified OrderStrategy- Specified by:
orderStrategySubmittedin 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:OrderSubmissionListenerCalled in order to close/cancel the trade- Specified by:
onTradeClosedin 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.
-