OnixS ICE iMpact Multicast Price Feed Handler C++ library  8.18.0
API documentation
Security Definition Recovery

How does security definition recovery work?

After OnixS::ICE::iMpact::MarketData::Handler::start method is called the Handler establishes an SSL connection to the ICE server and sends Login Request. If login is successful and Login Response does not indicate any error the Handler starts security definition recovery.

To indicate this the Handler has two states:

The first state is indicating that the Handler just started security definition recovery and only going to send a product definition request. The second state is indicating that all the product definitions downloaded successfully and the Handler is going to start book resynchronization.

To download all the required product definitions the Handler uses a set of market subscriptions which are passed to start method. Each product definition request requires market type and security type so this information is extracted from subscriptions. For example, if a user wants to download product definitions for the following market subscriptions:

MarketSubscription(KnownMarketTypes::IpeBrentFutures, MarketSubType::NonImplied, SecurityType::Futures, BookDepth::FOD));
MarketSubscription(KnownMarketTypes::IpeBrentFutures, MarketSubType::NonImplied, SecurityType::UdsFuturesMarkets, BookDepth::FOD));

The handler will send two product definition requests. For each of these requests, the Handler should receive all the available product definitions or Error Response if there are no product definitions for the requested parameters. The Handler automatically handles such Error Responses and if an error is not critical it continues working. In case the error is critical and indicate something else and not the absence of requested product definitions the Handler will notify user code and stop.

Strip Info

If your application needs Strip Info Messages you can set OnixS::ICE::iMpact::MarketData::TcpServerSettings::getStripInfoMessages to true or specify this in the connectivity configuration file using getStripInfoMessages node:

1 <server name="ICE">
2  <ip>63.247.113.214</ip>
3  <port>443</port>
4  <userName>username</userName>
5  <password>password</password>
6  <getStripInfoMessages>N</getStripInfoMessages>
7  <strategyPreference>New</strategyPreference>
8  <localNetworkInterface></localNetworkInterface>
9  <sslEnabled>Y</sslEnabled>
10 </server>