public interface SalesSwapQuoteFactory
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.datasource.Message |
createSalesSwapQuote(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade,
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.
|
void initialise(Context context)
context
- The contextcom.caplin.motif.datasource.Message createSalesSwapQuote(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide, @Nullable ProfitConversionRate profitConversionRate) throws QuoteCreationException
trade
- 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 calculationsQuoteCreationException
- if a quote cannot be created.Copyright © 2019 Caplin Systems.