Package | Description |
---|---|
com.caplin.motif.fx.trading.orders |
Parent package with classes and interfaces that relate to orders in general.
|
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 |
---|---|
void |
FXOrdersAdapter.registerSubmissionListenerFactory(String strategyType,
OrderSubmissionListenerFactory<? extends OrderStrategy> listenerFactory,
OrderStrategyFactory<? extends OrderStrategy> strategyFactory)
Registers a factory that will listen to the Limit Order submission workflows
initiated from the client for the strategy type specified.
|
void |
FXOrdersAdapter.registerSubmissionListenerFactory(String strategyType,
OrderSubmissionListenerFactory<? extends OrderStrategy> listenerFactory,
OrderStrategyFactory<? extends OrderStrategy> strategyFactory)
Registers a factory that will listen to the Limit Order submission workflows
initiated from the client for the strategy type specified.
|
Modifier and Type | Interface and Description |
---|---|
interface |
OrderStrategyFactory<T extends OrderStrategy>
The factory that will be asked to create the OrderStrategy for the
given trade.
|
interface |
OrderSubmissionListener<T extends OrderStrategy>
An OrderSubmissionListener instance will be notified of client events
regarding the submission of new orders.
|
interface |
OrderSubmissionListenerFactory<T extends OrderStrategy>
An OrderSubmissionListenerFactory instance is responsible for
providing an
OrderSubmissionListener whenever a Limit Order has
been initiated from the client, of that specified OrderStrategy |
class |
OrderSubmissionTradeListenerTranslator<T extends OrderStrategy> |
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 | Method and Description |
---|---|
void |
OrderSubmissionFactoryTranslator.registerSubmissionListenerFactory(String strategyType,
OrderSubmissionListenerFactory<? extends OrderStrategy> listenerFactory,
OrderStrategyFactory<? extends OrderStrategy> strategyFactory) |
void |
OrderSubmissionFactoryTranslator.registerSubmissionListenerFactory(String strategyType,
OrderSubmissionListenerFactory<? extends OrderStrategy> listenerFactory,
OrderStrategyFactory<? extends OrderStrategy> strategyFactory) |
Modifier and Type | Class and Description |
---|---|
class |
IfDoneOCOStrategy
Represents the contingent order strategy If Done then One Cancels the Other.
|
class |
IfDoneStrategy
Represents the contingent order strategy If Done then One Cancels the Other.
|
class |
IfTimeoutStrategy
Represents the contingent order strategy If Timeout then execute child order.
|
class |
MotifOrderStrategy
Base Order Strategy class.
|
class |
OCOStrategy
Represents the contingent order strategy One Cancels the Other.
|
class |
SingleStrategy
Represents a single order with no other related orders.
|
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.