public interface SwapQuoteFactory
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.datasource.Message |
createSwapQuote(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade,
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.
|
void initialise(Context context)
context
- The contextcom.caplin.motif.datasource.Message createSwapQuote(com.caplin.generated.motif.fx.trading.rfs.RFSTrade trade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide) throws QuoteCreationException
trade
- The FX Integration API RFS Trade objectquote
- The RET QuotepricingSide
- The side, defining whether just Bid or Ask values should be set, or both.QuoteCreationException
- if a quote cannot be created.Copyright © 2019 Caplin Systems.