One instance of OnixS::CME::MDH::Handler processes market data for a single channel only. To process data from multiple channels multiple handler instances shall be created.
Filtering (instrument selection) is useful when market data required for specific instruments only. Instrument selection is used like inclusive 'white list', e.g. if security A is selected, security-related events (members of OnixS::CME::MDH::SecurityListener) are raised for security A only.
If two or more securities are selected, events will be triggered only for those securities.
It's a bit more complicated with book consistency & up-to-date. Please, note that actually CME doesn't guarantee 100% book up-to-date on intermediate updates. It's guaranteed only after 'End of XXX quote' market event where XXX is real or implied. So you have to check this field to ensure the book is 100% up-to-date.
Actually it can be achieved by using book update callbacks of OnixS::CME::MDH::SecurityListener rather than atomic book update listening. They are publishing the books only on 'End of XXX quotes' market event giving guarantee books are consistent and up-to-date.
Any OnixS::CME::MDH::SecurityListener::onBookUpdate call will give you consistent order book state (except for Natural Refresh mode). If you need book state at startup you can just get snapshot at first call.
When Handler performs book recovery, it caches all the data received on incremental feeds. When the market is busy, number of cached messages may exceed configured limit defined by OnixS::CME::MDH::HandlerSettings::recoveryQueueMaxSize parameter value. So, to avoid
QueueOverflow warnings, it's necessary to increase value of the noted parameter.
The cause is violation of sequence of received packets (gap) that wasn't restored after OnixS::CME::MDH::RealtimeFeedSettings::outOfOrderPacketMaxInterval number of packets of after OnixS::CME::MDH::HandlerSettings::lostPacketWaitTime elapsed. Violation of packet sequence can be caused by packets loss on different levels: CME environment issues, network connectivity issues, system or application issues.
Also, when Handler performs a large-scale recovery due to gap or while joining market lately, incremental packets are cached. In case of intensive data transmission, queue keeping incremental packets may reach its limit causing noted warning.
Please refer to our Lost multicast packets troubleshooting guide for more details.
Book Atomic Update (OnixS::CME::MDH::SecurityListener::onBookAtomicUpdate) is an elementary action over a book and usually there're multiple atomic updates inside a single snapshot or incremental refresh. Also, book may not be valid between two atomic updates. Only when all atomic updates are processed from the single market event, book is considered as valid.
Book Update (OnixS::CME::MDH::SecurityListener::onBookUpdate) are raised exactly at a time when all atomic updates are processed and book appears to be valid and up-to-date.
Security definition sent by Market Data Platform contains fields
representing the multipliers to convert the CME Globex display price to the conventional price.
Minimal book update latency falls into 100-250 nanoseconds depending on hardware/operating system/network conditions. Please, contact Onix Sales for most recent official benchmark results.
It depends significantly on many different parameters including network, hardware, operating system environment, market data rate and applied handler settings.
The smaller the better. It shall be microseconds to do not impact handler ability to process data on high tickers.
Handler allows to trace packets as they are received by active feeds including out-of-order or duplicated packets (in contrast to market data listening which exposes packets passed through session rules). With the help of new OnixS::CME::MDH::FeedListener listener it's possible to write advanced diagnostic services.