118 lines
8.4 KiB
HTML
118 lines
8.4 KiB
HTML
<!-- HTML header for doxygen 1.8.11-->
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
|
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
|
<meta name="generator" content="Doxygen 1.8.11"/>
|
|
<title>OnixS C++ CME Market Data Handler: Latest Release Major Features</title>
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript" src="jquery.js"></script>
|
|
<script type="text/javascript" src="dynsections.js"></script>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
|
<link href="onixs-doxygen.css" rel="stylesheet" type="text/css"/>
|
|
<script type="text/javascript">
|
|
$(window).scroll(function() {
|
|
if ($(this).scrollTop() > 1)
|
|
{
|
|
$('header').addClass("sticky");
|
|
}
|
|
else
|
|
{
|
|
$('header').removeClass("sticky");
|
|
}
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div id="titlearea">
|
|
<table cellspacing="0" cellpadding="0">
|
|
<tbody>
|
|
<tr style="height: 56px;">
|
|
<td id="projectlogo"><a href="http://www.onixs.biz"><img alt="Logo" src="onixs.svg"/></a></td>
|
|
<td style="padding-left: 0.5em;">
|
|
<div id="projectname">OnixS C++ CME Market Data Handler
|
|
 <span id="projectnumber">4.8.0.10</span>
|
|
</div>
|
|
<div id="projectbrief">API documentation</div>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</header>
|
|
<div id="wrapper">
|
|
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
|
<!-- end header part -->
|
|
<!-- Generated by Doxygen 1.8.11 -->
|
|
<div id="navrow1" class="tabs">
|
|
<ul class="tablist">
|
|
<li><a href="index.html"><span>Home</span></a></li>
|
|
<li class="current"><a href="modules.html"><span>Contents</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="annotated.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- top -->
|
|
<div class="header">
|
|
<div class="headertitle">
|
|
<div class="title">Latest Release Major Features<div class="ingroups"><a class="el" href="group__what-is-new.html">What's New and Important Changes</a></div></div> </div>
|
|
</div><!--header-->
|
|
<div class="contents">
|
|
<h1><a class="anchor" id="new-messaging-api"></a>
|
|
The New Messaging Subsystem</h1>
|
|
<p>The messaging subsystem has been redesigned in the SDK. Previously, a message was representing a FIX container that provided access to the field values using tags as keys. Also, the processing machinery used generic SBE (Simple Binary Encoding) decoder to extract data from the SBE-encoded content transmitted by CME MDP and to build a FIX message.</p>
|
|
<p>The given approach of manipulating market data provided certain benefit as it allowed to work with all market data through a unified FIX container. The drawback of the given approach was latency. SBE-encoded content had to decoded and copied to the FIX container on a processing layer.</p>
|
|
<p>The messaging subsystem has been redesigned to provide customers with maximal performance, and now the API exposes classes for each type of SBE message defined by SBE coding templates.</p>
|
|
<p>The given approach allows the customers to be much closer to the original data transmitted by CME, as the SBE to FIX mapping is rather semantical and thus losses certain important characteristics which the customers may require.</p>
|
|
<p>Also, the performance is dramatically improved due to eliminating SBE to FIX transformation subsystem, and now data is directly accessed without any intermediate copying.</p>
|
|
<h1><a class="anchor" id="new-listeners"></a>
|
|
New Events And Listeners</h1>
|
|
<p>Events and listeners, reflecting miscellaneous aspects of the Handler behavior, have been redesigned, and now are more consistent compare to the previous design.</p>
|
|
<p>The table below represents a quick overview of major listeners and key improvements.</p>
|
|
<table class="doxtable">
|
|
<tr>
|
|
<th>Listener </th><th>Description </th></tr>
|
|
<tr>
|
|
<td><a class="el" href="structOnixS_1_1CME_1_1MDH_1_1HandlerListener.html" title="Events raised by Handler while processing market data. ">OnixS::CME::MDH::HandlerListener</a> </td><td><p class="starttd">Encapsulates Handler events.</p>
|
|
<p>Previously, the Handler behavior-related events were spread in a few listeners like a listener for the Handler state and issues (warning, error). Now, everything is gathered into a single listener. The states have been substituted with the correspondent callbacks and enhanced.</p>
|
|
<p class="endtd">For example, now the callback identifying the end of recovery exposes the status of recovery completion indicating whether the recovery is succeeded or failed with a detailed description of the last case. </p>
|
|
</td></tr>
|
|
<tr>
|
|
<td><a class="el" href="structOnixS_1_1CME_1_1MDH_1_1MarketDataListener.html">OnixS::CME::MDH::MarketDataListener</a> </td><td><p class="starttd">Encapsulates market data events.</p>
|
|
<p class="endtd">The given listener is a close analog to the OnixS::CME::MDP3::MessageProcessingListener exposed by the previous generations of the SDK. However, it was enhanced with packet-related events exposing original data received by Handler instances. </p>
|
|
</td></tr>
|
|
<tr>
|
|
<td><a class="el" href="structOnixS_1_1CME_1_1MDH_1_1SecurityListener.html" title="Callbacks invoked by Handler to expose market data entities. ">OnixS::CME::MDH::SecurityListener</a> </td><td><p class="starttd">Encapsulates security-related events.</p>
|
|
<p class="endtd">Previously, security-related events were raised through a number of listeners like the OnixS::CME::MDP3::TradeListener and the OnixS::CME::MDP3::DirectChangeBookLister. </p>
|
|
</td></tr>
|
|
</table>
|
|
<h1><a class="anchor" id="new-session-settings"></a>
|
|
Market Data Processing (Session) Settings</h1>
|
|
<p>Previously, the way how Handler processed market data was defined by which overload of the <a class="el" href="classOnixS_1_1CME_1_1MDH_1_1Handler.html#a706bb1347bedfcfd0cba2ed8d30ae5b1" title="Starts market data processing according to given parameters. ">OnixS::CME::MDH::Handler::start</a> member was used to spawning processing.</p>
|
|
<p>Starting with version 4 of the SDK, the <a class="el" href="classOnixS_1_1CME_1_1MDH_1_1SessionSettings.html">OnixS::CME::MDH::SessionSettings</a> class was invented to define market data processing for the session. Settings are supplied to the <a class="el" href="classOnixS_1_1CME_1_1MDH_1_1Handler.html#a706bb1347bedfcfd0cba2ed8d30ae5b1" title="Starts market data processing according to given parameters. ">OnixS::CME::MDH::Handler::start</a> member as a parameter. Currently, settings allow defining whether market data recovery must be done at the beginning of market data processing or in case of data loss or other processing error and so on. Also, settings allow defining which type of market (by price or by order or both) is to be recovered. New parameters offer a wider variety of processing ways compare to previous versions.</p>
|
|
<h1><a class="anchor" id="tcp-recovery-with-natural-refresh"></a>
|
|
Using TCP Recovery With Natural Refresh</h1>
|
|
<p>Previously, it was not possible to use TCP recovery service while maintaining order books in natural refresh mode. Starting with version 4 of the SDK a TCP recovery facility can be used while processing market data in any selected way.</p>
|
|
<h1><a class="anchor" id="new-book-management"></a>
|
|
Book Management Improvements</h1>
|
|
<p>The users must explicitly configure the Handler concerning which types of order books are to be maintained starting with the given major release. Previously, maintenance was defined by either the Handler's settings or by the fact of associating correspondent book listener with a Handler instance. See <a class="el" href="group__book-handling.html">Manipulating Books</a> for more information.</p>
|
|
<h1><a class="anchor" id="miscellaneous-new-features"></a>
|
|
Miscellaneous</h1>
|
|
<p><a class="el" href="group__what-is-new.html">What's New and Important Changes</a> section enlists other features and improvements as individual topics.</p>
|
|
<dl class="section see"><dt>See also</dt><dd><a class="el" href="group__migration-guide.html">Migration Guide</a> </dd></dl>
|
|
</div><!-- contents -->
|
|
<!-- HTML footer for doxygen 1.8.11-->
|
|
<!-- start footer part -->
|
|
<footer>
|
|
<hr class="footer"/>
|
|
<address class="footer">
|
|
<small>© <a href="http://www.onixs.biz">Onix Solutions [On<span class="corporate-orange">i</span>x<span class="corporate-orange">S</span>]</a>. All rights reserved.</small>
|
|
</address>
|
|
</footer>
|
|
</div> <!-- wrapper -->
|
|
</body>
|
|
</html>
|