public class DefaultSwapQuoteFactory extends java.lang.Object implements SwapQuoteFactory
Constructor and Description |
---|
DefaultSwapQuoteFactory(QuoteBuilderFactory quoteBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
static com.caplin.motif.fx.rates.SwapFields |
createSwapFields(com.caplin.motif.fx.trading.PricingSide pricingSide,
com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote,
com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote) |
com.caplin.motif.fx.rates.SwapQuote |
createSwapQuote(com.caplin.motif.fx.trading.rfs.RFSTrade rfsTrade,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote,
com.caplin.motif.fx.trading.PricingSide pricingSide)
Invoked when the toolkit receives a RET swap quote and requires the factory to build the FX API quote object
|
void |
initialise(Context context)
Invoked by the toolkit.
|
public DefaultSwapQuoteFactory(QuoteBuilderFactory quoteBuilderFactory)
public void initialise(Context context)
SwapQuoteFactory
initialise
in interface SwapQuoteFactory
context
- The contextpublic com.caplin.motif.fx.rates.SwapQuote createSwapQuote(com.caplin.motif.fx.trading.rfs.RFSTrade rfsTrade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide)
SwapQuoteFactory
createSwapQuote
in interface SwapQuoteFactory
rfsTrade
- The FX Integration API RFS Trade objectquote
- The RET QuotepricingSide
- The side, defining whether just Bid or Ask values should be set, or both.public static com.caplin.motif.fx.rates.SwapFields createSwapFields(com.caplin.motif.fx.trading.PricingSide pricingSide, com.caplin.ret.trapi.fx.execution.LegQuote nearLegQuote, com.caplin.ret.trapi.fx.execution.LegQuote farLegQuote)
Copyright © 2016 Caplin Systems.