Package | Description |
---|---|
com.caplin.motif.fx.trading.orders.submission |
Classes and interfaces that relate to submitting an order or order strategy.
|
com.caplin.motif.fx.trading.orders.submission.strategy |
Classes representing the various order strategies that are supported by the FX Motif.
|
Modifier and Type | Method and Description |
---|---|
Order |
OrderFactory.createOrder(com.caplin.trading.Trade trade,
String legId)
Returns an instance of Order for the specified trade instance and leg
id.
|
Modifier and Type | Method and Description |
---|---|
List<Order> |
OrderStrategy.getChildOrders()
Returns the list of orders representing the legs of the order strategy.
|
Modifier and Type | Field and Description |
---|---|
protected List<Order> |
MotifOrderStrategy.orders |
Modifier and Type | Method and Description |
---|---|
Order |
IfTimeoutStrategy.getParentOrder()
Returns the parent order, which must be of type Take Profit, Stop Loss or Market.
|
Order |
IfDoneOCOStrategy.getParentOrder()
Returns the parent order, which can be of any type, except CALL
|
Order |
IfDoneStrategy.getParentOrder()
Returns the parent order, which must be of type Take Profit, Stop Loss or Market.
|
Order |
SingleStrategy.getSingleOrder()
Returns the single order.
|
Order |
OCOStrategy.getStopLossOrder()
Returns the stop loss child order from within the OCO.
|
Order |
IfDoneOCOStrategy.getStopLossOrder()
Returns the stop loss child order from within the OCO.
|
Order |
OCOStrategy.getTakeProfitOrder()
Returns the take profit child order from within the OCO.
|
Order |
IfDoneOCOStrategy.getTakeProfitOrder()
Returns the take profit child order from within the OCO.
|
Order |
IfTimeoutStrategy.getThenOrder()
Returns the order which will be executed once the parent has been executed.
|
Order |
IfDoneStrategy.getThenOrder()
Returns the order which will be executed once the parent has been executed.
|
Modifier and Type | Method and Description |
---|---|
List<Order> |
MotifOrderStrategy.getChildOrders()
Returns a list of orders that this strategy contains.
|
Constructor and Description |
---|
SingleStrategy(com.caplin.trading.Trade trade,
TradingSubProtocol tradingSubProtocol,
String currencyPair,
String user,
String toboUser,
String remarks,
Set<AlertType> alertTypes,
String requestId,
String account,
Order order,
ActivationDate activationDate,
ExpirationDate expirationDate)
Creates a SingleStrategy based on the parameters provided.
|
Constructor and Description |
---|
IfDoneOCOStrategy(com.caplin.trading.Trade trade,
TradingSubProtocol tradingSubProtocol,
String currencyPair,
String user,
String toboUser,
String remarks,
Set<AlertType> alertTypes,
String requestId,
String account,
List<Order> orders,
ActivationDate activationDate,
ExpirationDate expirationDate)
Creates a IfDoneOCOStrategy based on the parameters provided.
|
IfDoneStrategy(com.caplin.trading.Trade trade,
TradingSubProtocol tradingSubProtocol,
String currencyPair,
String user,
String toboUser,
String remarks,
Set<AlertType> alertTypes,
String requestId,
String account,
List<Order> orders,
ActivationDate activationDate,
ExpirationDate expirationDate)
Constructs an IfDoneStrategy based on the parameters provided.
|
IfTimeoutStrategy(com.caplin.trading.Trade trade,
TradingSubProtocol tradingSubProtocol,
String currencyPair,
String user,
String toboUser,
String remarks,
Set<AlertType> alertTypes,
String requestId,
String account,
List<Order> orders,
ActivationDate activationDate,
ExpirationDate expirationDate)
Constructs an IfTimeoutStrategy based on the parameters provided.
|
OCOStrategy(com.caplin.trading.Trade trade,
TradingSubProtocol tradingSubProtocol,
String currencyPair,
String user,
String toboUser,
String remarks,
Set<AlertType> alertTypes,
String requestId,
String account,
List<Order> orders,
ActivationDate activationDate,
ExpirationDate expirationDate)
Creates a new OCOStrategy from the provided parameters.
|
Copyright © 2015 Caplin Systems.