Getting Started | Table of Content | Subscribing to Multicast Groups |
Product Definitions |
This section provides information about product definitions, available on the ICE Exchange, and their representation in the OnixS Multicast Price Feed Handler API.
The ICE Exchange provides following types of product definitions:
The product definitions could be received in two ways:
The table below describes how the product definitions represented in the OnixS ICE iMpact Multicast Price Feed Handler API:
Product Definition | Security Type | Event (TCP) | Event (UDP) |
---|---|---|---|
Futures/OTC | Futures | FuturesProductDefinitionReceived | NewExpiryReceived |
Options | Options | OptionsProductDefinitionReceived | NewOptionsMarketDefinitionReceived |
Options Strategy | UdsOptionsMarkets | OptionsStrategyDefinitionReceived | NewOptionsStrategyDefinitionReceived |
Futures Strategy | UdsFuturesMarkets | FuturesStrategyDefinitionReceived | NewFuturesStrategyDefinitionReceived |
The Handler provides a special mode when it only receives product definitions and then stopped. To activate this mode you need to set ReceiveProductDefinitionsOnly to true. After this, you can create and start the Handler in the usual way, but the behavior will be different. The Handler establishes a TCP connection to the ICE server, sends a Login request, and according to market subscriptions, sends Product Definition requests. When all the requested product definitions are received, the Handler stops. The Handler's state changes in the following sequence:
This mode is using, if you want to periodically update information about product definitions in your local store and have a simple implementation without tracking the Handler state and calling the Stop() method to stop the Handler.