public class MotifOrderFactory extends Object implements OrderFactory
Constructor and Description |
---|
MotifOrderFactory() |
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.
|
public Order createOrder(com.caplin.trading.Trade trade, String legId) throws OrderConfigurationException
OrderFactory
createOrder
in interface OrderFactory
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.