Package | Description |
---|---|
com.caplin.motif.fx.trading |
Parent package with classes that relate to FX trading in general but no specific trading protocol.
|
com.caplin.motif.fx.trading.orders.details |
Classes and interfaces that relate to supplying the details of a previously submitted order strategy.
|
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 |
---|---|
static ExpirationDate |
DateUtil.createExpirationDate(String date,
String time,
String location,
String offset) |
Modifier and Type | Method and Description |
---|---|
ExpirationDate |
Order.getExpirationDate() |
ExpirationDate |
Strategy.getExpirationDate() |
Modifier and Type | Method and Description |
---|---|
OrderFieldSet |
OrderFieldSet.setExpirationDate(ExpirationDate expirationDate)
Sets the date, time and location the strategy or order should expire.
|
StrategyFieldSet |
StrategyFieldSet.setExpirationDate(ExpirationDate expirationDate)
Sets the date, time and location the strategy or order should expire.
|
Modifier and Type | Field and Description |
---|---|
static ExpirationDate |
ExpirationDate.FOK
An instance of ExpirationDate that represents Fill or Kill.
|
static ExpirationDate |
ExpirationDate.GFD
An instance of ExpirationDate that represents Good for Day.
|
static ExpirationDate |
ExpirationDate.GTC
An instance of ExpirationDate that represents Good til Canceled.
|
static ExpirationDate |
ExpirationDate.IOC
An instance of ExpirationDate that represents Immediate or Cancel.
|
Modifier and Type | Method and Description |
---|---|
ExpirationDate |
Order.getExpirationDate()
Returns the expiration date of the order
|
ExpirationDate |
OrderStrategy.getExpirationDate()
Returns the date on which the order strategy should expire.
|
static ExpirationDate |
ExpirationDate.parseFromValues(String date,
String time,
String location,
String offset) |
Modifier and Type | Method and Description |
---|---|
ExpirationDate |
MotifOrderStrategy.getExpirationDate()
Returns the date which specifies when the order should expire.
|
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.
|
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.
|
Copyright © 2015 Caplin Systems.