public class DefaultSalesSwapQuoteFactory extends java.lang.Object implements SalesSwapQuoteFactory
Constructor and Description |
---|
DefaultSalesSwapQuoteFactory() |
Modifier and Type | Method and Description |
---|---|
com.caplin.generated.motif.fx.rates.QuoteTypesDef.SalesSwapQuote |
createSalesSwapQuote(com.caplin.generated.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 void initialise(Context context)
SalesSwapQuoteFactory
initialise
in interface SalesSwapQuoteFactory
context
- The contextpublic com.caplin.generated.motif.fx.rates.QuoteTypesDef.SalesSwapQuote createSalesSwapQuote(com.caplin.generated.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 © 2019 Caplin Systems.