public class DefaultBlockQuoteFactory extends java.lang.Object implements BlockQuoteFactory
Constructor and Description |
---|
DefaultBlockQuoteFactory(QuoteBuilderFactory quoteBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.fx.rates.FXQuote |
createBlockQuote(com.caplin.motif.fx.trading.block.BlockTrade blockTrade,
com.caplin.ret.trapi.fx.execution.QuoteEvent trapiQuote)
Invoked when the toolkit receives a RET block quote and requires the factory to build the FX API quote object
|
void |
initialise(Context context)
Invoked by the toolkit.
|
public DefaultBlockQuoteFactory(QuoteBuilderFactory quoteBuilderFactory)
public void initialise(Context context)
BlockQuoteFactory
initialise
in interface BlockQuoteFactory
context
- The contextpublic com.caplin.motif.fx.rates.FXQuote createBlockQuote(com.caplin.motif.fx.trading.block.BlockTrade blockTrade, com.caplin.ret.trapi.fx.execution.QuoteEvent trapiQuote) throws QuoteCreationException
BlockQuoteFactory
createBlockQuote
in interface BlockQuoteFactory
blockTrade
- The FX Integration API Block Trade objecttrapiQuote
- The RET quote objectQuoteCreationException
- if a quote cannot be created.Copyright © 2016 Caplin Systems.