Class MotifOrderFactory
java.lang.Object
com.caplin.motif.fx.trading.orders.submission.MotifOrderFactory
- All Implemented Interfaces:
OrderFactory
Deprecated.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrder
(com.caplin.trading.Trade trade, String legId) Deprecated.Returns an instance of Order for the specified trade instance and leg id.
-
Constructor Details
-
MotifOrderFactory
public MotifOrderFactory()Deprecated.
-
-
Method Details
-
createOrder
public Order createOrder(com.caplin.trading.Trade trade, String legId) throws OrderConfigurationException Deprecated.Description copied from interface:OrderFactory
Returns an instance of Order for the specified trade instance and leg id.- Specified by:
createOrder
in interfaceOrderFactory
- Parameters:
trade
- The order trade containing all legs of the order strategylegId
- The Id of particular leg the Order object should represent- Returns:
- The Order object representing the one of the legs of the order strategy.
- Throws:
OrderConfigurationException
- If there was an error creating the Order
-