public class DefaultSalesSwapQuoteFactory extends java.lang.Object implements SalesSwapQuoteFactory
Constructor and Description |
---|
DefaultSalesSwapQuoteFactory(QuoteBuilderFactory quoteBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.fx.rates.SalesSwapQuote |
createSalesSwapQuote(com.caplin.motif.fx.trading.rfs.RFSTrade rfsTrade,
com.caplin.ret.trapi.fx.execution.QuoteEvent quote,
com.caplin.motif.fx.trading.PricingSide pricingSide,
ProfitConversionRate profitConversionRate)
Invoked when the toolkit receives a RET sales swap quote and requires the factory to build the FX API quote object
|
void |
initialise(Context context)
To be invoked by the toolkit.
|
public DefaultSalesSwapQuoteFactory(QuoteBuilderFactory quoteBuilderFactory)
public void initialise(Context context)
SalesSwapQuoteFactory
initialise
in interface SalesSwapQuoteFactory
context
- The contextpublic com.caplin.motif.fx.rates.SalesSwapQuote createSalesSwapQuote(com.caplin.motif.fx.trading.rfs.RFSTrade rfsTrade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide, @Nullable ProfitConversionRate profitConversionRate)
SalesSwapQuoteFactory
createSalesSwapQuote
in interface SalesSwapQuoteFactory
rfsTrade
- The FX Integration API RFS Trade objectquote
- The RET sales quotepricingSide
- The side, defining whether just BID or ASK values should be set. Or both.profitConversionRate
- The object containing the in house currency and its rates, to be used in profit calculationsCopyright © 2016 Caplin Systems.