public interface QuoteFactory
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.datasource.Message |
createFwdQuote(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 forward quote and requires the factory to build the FX API quote object
|
com.caplin.motif.datasource.Message |
createSpotQuote(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 spot 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 createSpotQuote(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 QuoteQuoteCreationException
- if a quote cannot be created.com.caplin.motif.datasource.Message createFwdQuote(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 QuoteQuoteCreationException
- if a quote cannot be created.Copyright © 2019 Caplin Systems.