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.validator |
Classes that validate the correctness of a submitted order strategy.
|
Modifier and Type | Method and Description |
---|---|
static ActivationDate |
DateUtil.createActivationDate(String date,
String time,
String location,
String offset) |
static ExpirationDate |
DateUtil.createExpirationDate(String date,
String time,
String location,
String offset) |
Modifier and Type | Method and Description |
---|---|
ExpirationDate |
Order.getExpirationDate() |
Modifier and Type | Method and Description |
---|---|
Order |
MotifOrderFactory.createOrder(com.caplin.trading.Trade trade,
String legId) |
Order |
OrderFactory.createOrder(com.caplin.trading.Trade trade,
String legId)
Returns an instance of Order for the specified trade instance and leg
id.
|
MotifOrderStrategy |
MotifOrderStrategyFactory.createOrderStrategy(com.caplin.trading.Trade trade) |
T |
OrderStrategyFactory.createOrderStrategy(com.caplin.trading.Trade trade)
Returns an instance of OrderStrategy for the specified trade.
|
protected void |
OrderValidityDate.parse(String dateStr,
String timeStr,
String location,
String offset)
Sets the date, time, location and offset values from the parameters.
|
static ActivationDate |
ActivationDate.parseFromValues(String date,
String time,
String location,
String offset) |
static ExpirationDate |
ExpirationDate.parseFromValues(String date,
String time,
String location,
String offset) |
void |
OrderSubmissionValidator.validate(StrategyType type,
OrderStrategy strategy,
Map<String,String> fields)
Checks the validity of a strategy based on its type, the strategy object itself, and
the raw field map that the strategy was derived from.
|
Constructor and Description |
---|
ActivationDate(String date,
String time,
String location,
String offset)
Constructs an ActivationDate which represents a specific date, time and location.
|
ExpirationDate(String date,
String time,
String location,
String offset)
Constructs a GTD (Good til Date) ExpirationDate which represents a specific date,
time and location.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultIfDoneOCOValidator.validate(StrategyType type,
OrderStrategy strategy,
Map<String,String> fields) |
void |
DefaultOCOValidator.validate(StrategyType type,
OrderStrategy strategy,
Map<String,String> fields) |
Copyright © 2015 Caplin Systems.