com.apama.oms.im
Event InternalMarketFactory


This factory be used to set up an internal market using the ExchangeEngine and Orderbook as its main components.
Since:
CMF 5.0.1

Action summary
 voidcreateInternalMarket(context mainContext, com.apama.oms.im.CreateInternalMarket create, com.apama.oms.ExchangeEngineExtensionInterface extensions, string instanceId)

This action creates a new Internal Market using the extension interface provided.
 
Action detail

createInternalMarket

            void createInternalMarket(context mainContext, com.apama.oms.im.CreateInternalMarket create, com.apama.oms.ExchangeEngineExtensionInterface extensions, string instanceId)
        
This action creates a new Internal Market using the extension interface provided.
Parameters:
mainContext - The context of the underlying adapter (IE the main context)
create - CreateInternalMarket event to turn on the internal market for a specific depth key
extensions - Exchange engine extensions
instanceId - Instance id for this instance of Internal Market
See Also:
com.apama.oms.im.InternalMarketExtensionInterface - An interface that is used to extend the exchange engine functionality
com.apama.oms.im.CreateInternalMarket - Event to turn on the internal market for a specific depth key