public interface BlockQuoteFactory
Modifier and Type | Method and Description |
---|---|
com.caplin.motif.datasource.Message |
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.
|
void initialise(Context context)
context
- The contextcom.caplin.motif.datasource.Message createBlockQuote(com.caplin.motif.fx.trading.block.BlockTrade blockTrade, com.caplin.ret.trapi.fx.execution.QuoteEvent trapiQuote) throws QuoteCreationException
blockTrade
- The FX Integration API Block Trade objecttrapiQuote
- The RET quote objectQuoteCreationException
- if a quote cannot be created.Copyright © 2019 Caplin Systems.