public abstract class FXTrade extends MotifTrade
trade
Constructor and Description |
---|
FXTrade(com.caplin.trading.Trade trade)
Constructs the FXTrade which wraps around the underlying trading
datasource trade object and provides basic functionality.
|
Modifier and Type | Method and Description |
---|---|
abstract FXTradingProtocol |
getTradingProtocol()
Returns the
FXTradingProtocol that was used to enter this trade. |
abstract TradingSubProtocol |
getTradingSubProtocol()
Returns the
TradingSubProtocol that was used to enter this trade. |
getCurrentState, getField, getRequestID, getTradeChannelSubject, getUsername, toString
public FXTrade(com.caplin.trading.Trade trade)
trade
- The underlying trading datasource trade object.public abstract FXTradingProtocol getTradingProtocol()
FXTradingProtocol
that was used to enter this trade.FXTradingProtocol
used to enter this trade.public abstract TradingSubProtocol getTradingSubProtocol()
TradingSubProtocol
that was used to enter this trade.
This defaults to TradingSubProtocol.NONE
if no protocol was provided.TradingSubProtocol
that was use to enter this trade.Copyright © 2015 Caplin Systems.