public interface SwapQuoteFactory
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.fx.rates.FXQuote |
createSwapQuote(com.caplin.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.fx.rates.FXQuote createSwapQuote(com.caplin.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 © 2016 Caplin Systems.