Package | Description |
---|---|
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.
|
com.caplin.motif.fx.trading.orders.submission.validator |
Classes that validate the correctness of a submitted order strategy.
|
Modifier and Type | Method and Description |
---|---|
StrategyType |
Strategy.getType() |
Modifier and Type | Method and Description |
---|---|
StrategyFieldSet |
StrategyFieldSet.setStrategyType(StrategyType strategyType)
Sets the type of the strategy, for example SINGLE or OCO ("One
Cancels the Other").
|
Modifier and Type | Method and Description |
---|---|
StrategyType |
OrderStrategy.getType()
Returns the
StrategyType of the order strategy. |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Field and Description |
---|---|
static StrategyType |
StrategyType.IF_DONE
Represents an If Done Then strategy which contains a parent order and one
child order.
|
static StrategyType |
StrategyType.IF_DONE_OCO
Represents an If Done Then One Cancels the Other strategy which contains
a parent order and an OCO child strategy.
|
static StrategyType |
StrategyType.IF_TIMEOUT
Represents an If Timeout strategy which contains a parent order and one
child order.
|
static StrategyType |
StrategyType.OCO
Represents a One Cancels the Other strategy which contains a take profit
and stop loss order.
|
static StrategyType |
StrategyType.SINGLE
Represents a single order strategy that does not contain any contingent
orders.
|
Modifier and Type | Method and Description |
---|---|
StrategyType |
MotifOrderStrategy.getType()
Returns the type of strategy that should be executed.
|
static StrategyType |
StrategyType.getValue(String value)
Returns the StrategyType corresponding to the passed in StrategyType
|
Modifier and Type | Method and Description |
---|---|
static Set<StrategyType> |
StrategyType.values()
Returns a set containing the default StrategyTypes
|
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.