public class DefaultBlockQuoteFactory extends java.lang.Object implements BlockQuoteFactory
Constructor and Description |
---|
DefaultBlockQuoteFactory() |
Modifier and Type | Method and Description |
---|---|
com.caplin.generated.motif.fx.rates.QuoteTypesDef.BlockQuote |
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 void initialise(Context context)
BlockQuoteFactory
initialise
in interface BlockQuoteFactory
context
- The contextpublic com.caplin.generated.motif.fx.rates.QuoteTypesDef.BlockQuote 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 © 2019 Caplin Systems.