public class TimeOptionHandler extends RFSHandler
OVERALL_TIME_OUT
Constructor and Description |
---|
TimeOptionHandler(com.caplin.generated.motif.fx.trading.rfs.RFSTrade rfsTrade,
QuoteFactory quoteFactory,
SalesQuoteFactory salesQuoteFactory,
RFSConfirmationFactory rfsConfirmationFactory) |
Modifier and Type | Method and Description |
---|---|
int |
getLegCount() |
java.util.List<com.caplin.ret.trapi.fx.Side> |
getLegExecutionSides(java.util.List<com.caplin.motif.fx.trading.BuySell> directions) |
com.caplin.motif.datasource.Message |
getQuote(com.caplin.ret.trapi.fx.execution.QuoteEvent quote,
com.caplin.motif.fx.trading.PricingSide pricingSide,
ProfitConversionRate profitConversionRate) |
com.caplin.ret.trapi.fx.FXTradeType |
getTradeType() |
boolean |
isTwoWay(com.caplin.motif.fx.trading.PricingSide pricingSide) |
void |
setupTradeLeg(com.caplin.ret.trapi.fx.FXLeg leg,
java.lang.String legNum) |
createClientCloseAckEvent, createExecuteAckEvent, createExpiredEvent, createHeldEvent, createPickUpEvent, createQuoteEvent, createQuoteEvent, createSubmitAckEvent, createTradeConfirmationEvent, createWithdrawEvent, getExtraFieldsFromTrade, getTrade
public TimeOptionHandler(com.caplin.generated.motif.fx.trading.rfs.RFSTrade rfsTrade, QuoteFactory quoteFactory, SalesQuoteFactory salesQuoteFactory, RFSConfirmationFactory rfsConfirmationFactory)
public boolean isTwoWay(com.caplin.motif.fx.trading.PricingSide pricingSide)
public int getLegCount()
public com.caplin.motif.datasource.Message getQuote(com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide, ProfitConversionRate profitConversionRate) throws QuoteCreationException
QuoteCreationException
public java.util.List<com.caplin.ret.trapi.fx.Side> getLegExecutionSides(java.util.List<com.caplin.motif.fx.trading.BuySell> directions)
public void setupTradeLeg(com.caplin.ret.trapi.fx.FXLeg leg, java.lang.String legNum)
public com.caplin.ret.trapi.fx.FXTradeType getTradeType()
Copyright © 2019 Caplin Systems.