public class DefaultQuoteFactory extends java.lang.Object implements QuoteFactory
Constructor and Description |
---|
DefaultQuoteFactory(QuoteBuilderFactory quoteBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.fx.rates.FwdQuote |
createFwdQuote(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 forward quote and requires the factory to build the FX API quote object
|
com.caplin.motif.fx.rates.SpotQuote |
createSpotQuote(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 spot quote and requires the factory to build the FX API quote object
|
void |
initialise(Context context)
Invoked by the toolkit.
|
public DefaultQuoteFactory(QuoteBuilderFactory quoteBuilderFactory)
public void initialise(Context context)
QuoteFactory
initialise
in interface QuoteFactory
context
- The contextpublic com.caplin.motif.fx.rates.SpotQuote createSpotQuote(com.caplin.motif.fx.trading.rfs.RFSTrade trade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide)
QuoteFactory
createSpotQuote
in interface QuoteFactory
trade
- The FX Integration API RFS Trade objectquote
- The RET Quotepublic com.caplin.motif.fx.rates.FwdQuote createFwdQuote(com.caplin.motif.fx.trading.rfs.RFSTrade trade, com.caplin.ret.trapi.fx.execution.QuoteEvent quote, com.caplin.motif.fx.trading.PricingSide pricingSide)
QuoteFactory
createFwdQuote
in interface QuoteFactory
trade
- The FX Integration API RFS Trade objectquote
- The RET QuoteCopyright © 2016 Caplin Systems.