public interface OrderFactory
FXOrder
from a given
MotifOrderStrategy
strategy and Order
order.Modifier and Type | Interface and Description |
---|---|
static class |
OrderFactory.Context |
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)
Sets data on a
FXOrder from the given strategy and order |
void |
initialise(OrderFactory.Context context)
Initialises the factory.
|
void initialise(OrderFactory.Context context)
createOrder(String, String, OrderTypeInStrategy, MotifOrderStrategy, Order, SubmissionFXOrder, boolean)
.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
FXOrder
from the given strategy and orderuser
- 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.