All OnixS ICE iMpact Multicast Price Feed Handler classes are located in the OnixS.NET.ICE.iMpact namespace.
Note |
---|
The Handler needs credentials from ICE to login and download product definitions.
Please contact ICE Support to get a username and password for TCP connection.
When you receive it please update the connectivity configuration file with these values.
|
The typical way of using the ICE iMpact Multicast Price Feed Handler is as follows:
-
Create an instance of the
HandlerSettings
class to adjust Handler options like activating logging.
-
Create an instance of the Handler class.
-
Register event handler for the
FuturesProductDefinitionReceived event so as to be
notified about the security definitions received.
-
Register event handler for the
(ErrorOccurred)
event so as to be notified about the failures occurred while processing market data from the multicast channels.
-
Create subscription of the interested markets by forming a collection of the
MarketSubscription items.
-
Start subscription by invoking the
Start(ICollection<MarketSubscription>)
member and supplying the previously created collection of subscriptions as a parameter.
-
Process the changes in books and markets states through the previously registered handlers.
-
Stop subscription using the Stop() member.
Content