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.block |
Classes and interfaces that relate to block trading.
|
com.caplin.motif.fx.trading.esp |
Classes and interfaces that relate to ESP (Executable Streaming Price) trading.
|
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.rfs |
Classes and interfaces that relate to RFS (Request For Stream) trading.
|
Modifier and Type | Method and Description |
---|---|
abstract TradingSubProtocol |
FXTrade.getTradingSubProtocol()
Returns the
TradingSubProtocol that was used to enter this trade. |
Modifier and Type | Method and Description |
---|---|
void |
FXTradeAdapter.registerLegacySalesRFSTradeListenerFactory(RFSTradeListenerFactory factory,
TradingSubProtocol subProtocol)
Deprecated.
registers an RFS TradeListenerFactory to the old SalesRFS Trading Protocol. To be used until Sales Motif refactors usages of SalesRFS
|
Modifier and Type | Method and Description |
---|---|
TradingSubProtocol |
BlockTrade.getTradingSubProtocol() |
TradingSubProtocol |
BlockTradeExecution.getTradingSubProtocol() |
Modifier and Type | Method and Description |
---|---|
TradingSubProtocol |
ESPTrade.getTradingSubProtocol() |
Modifier and Type | Method and Description |
---|---|
TradingSubProtocol |
OrderStrategy.getTradingSubProtocol()
The trading sub protocol, used to determine small variations of OrderStrategy,
should be
NONE for standard orders. |
Modifier and Type | Method and Description |
---|---|
TradingSubProtocol |
MotifOrderStrategy.getTradingSubProtocol() |
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.
|
Modifier and Type | Field and Description |
---|---|
static TradingSubProtocol |
TradingSubProtocol.NONE
The sub protocol for standard RFS trade
|
static TradingSubProtocol |
TradingSubProtocol.SALES_ESP
The sub protocol for Sales ESP trade
|
static TradingSubProtocol |
TradingSubProtocol.SALES_ORDER
The sub protocol for Sales RFS trade
|
static TradingSubProtocol |
TradingSubProtocol.SALES_RFS
The sub protocol for Sales RFS trade
|
Modifier and Type | Method and Description |
---|---|
TradingSubProtocol |
RFSTrade.getTradingSubProtocol() |
static TradingSubProtocol |
TradingSubProtocol.getValue(String name)
Returns the trading sub protocol matching the protocol name.
|
Modifier and Type | Method and Description |
---|---|
static TradeValidator |
RFSValidators.create(TradingSubProtocol subProtocol) |
Copyright © 2015 Caplin Systems.