public interface OrderFactory
Modifier and Type | Method and Description |
---|---|
Order |
createOrder(com.caplin.trading.Trade trade,
String legId)
Returns an instance of Order for the specified trade instance and leg
id.
|
Order createOrder(com.caplin.trading.Trade trade, String legId) throws OrderConfigurationException
trade
- The order trade containing all legs of the order strategylegId
- The Id of particular leg the Order object should representOrderConfigurationException
- If there was an error creating the OrderCopyright © 2015 Caplin Systems.