@Deprecated public class PerLegOrderFactory extends java.lang.Object implements OrderFactory
OrderFactory.Context
Constructor and Description |
---|
PerLegOrderFactory()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
createOrder(java.lang.String user,
java.lang.String retClientName,
OrderTypeInStrategy orderType,
com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy,
com.caplin.motif.fx.trading.orders.submission.Order order,
com.caplin.ret.trapi.fx.order.transaction.strategy.submit.SubmissionFXOrder trapiFXOrder,
boolean isSales)
Deprecated.
Sets data on a
FXOrder from the given strategy and order |
void |
initialise(OrderFactory.Context context)
Deprecated.
Initialises the factory.
|
public void initialise(OrderFactory.Context context)
OrderFactory
OrderFactory.createOrder(String, String, OrderTypeInStrategy, MotifOrderStrategy, Order, SubmissionFXOrder, boolean)
.initialise
in interface OrderFactory
public void createOrder(java.lang.String user, java.lang.String retClientName, OrderTypeInStrategy orderType, com.caplin.motif.fx.trading.orders.submission.strategy.MotifOrderStrategy strategy, com.caplin.motif.fx.trading.orders.submission.Order order, com.caplin.ret.trapi.fx.order.transaction.strategy.submit.SubmissionFXOrder trapiFXOrder, boolean isSales) throws java.lang.Exception
OrderFactory
FXOrder
from the given strategy and ordercreateOrder
in interface OrderFactory
user
- the userretClientName
- the ret client nameorderType
- OrderTypeInStrategystrategy
- a strategyorder
- an ordertrapiFXOrder
- the order to be builtisSales
- Whether or not the order is being entered a Sales Trader.java.lang.Exception
Copyright © 2016 Caplin Systems.