Interface OrderFactory
-
- All Known Implementing Classes:
MotifOrderFactory
@Deprecated public interface OrderFactory
Deprecated.The factory that will be asked to create the Order object
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Order
createOrder(com.caplin.trading.Trade trade, String legId)
Deprecated.Returns an instance of Order for the specified trade instance and leg id.
-
-
-
Method Detail
-
createOrder
Order createOrder(com.caplin.trading.Trade trade, String legId) throws OrderConfigurationException
Deprecated.Returns an instance of Order for the specified trade instance and leg id.- 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
-
-