CME MDP 3.0: packet header, message size, SBE messages and the schema

Learn how CME MDP 3.0 frames SBE market data messages inside UDP multicast packets, how its incremental and recovery feeds work, where to get the official XML schema, and how the viewer replays captured feeds as order books.

View as Markdown

Market Data Platform 3.0 (MDP 3.0) is CME Group's real-time market-data feed for futures, options, treasuries, and FX across CME Globex (CME, CBOT, NYMEX, COMEX), BrokerTec, and EBS. Trading firms, market makers, and data vendors consume MDP 3.0 over UDP multicast to build live order books and track trades, encoded in Simple Binary Encoding (SBE).

While CME's public XML schema defines every SBE message template, the outer UDP packet header and per-message length prefix exist only in CME's documentation. This page walks through an MDP 3.0 packet from its first byte, explains CME's multicast channels and gap recovery, notes key schema conventions, and shows where to fetch and inspect the schema.

This guide is not affiliated with or endorsed by CME Group; where this page and CME's Client Systems Wiki (under sources) differ, the wiki is authoritative. See the protocol directory for CME's other protocols.

A packet, from the first byte

The primary feed uses UDP multicast (CME also publishes the same SBE templates over Google Cloud Pub/Sub—real-time and 10-minute delayed—and conflated TCP feeds for some markets). Everything is little-endian.

Because UDP delivers datagrams and SBE does not mark message boundaries, CME adds two framing layers not declared in the XML schema:

  1. Packet header (12 bytes, once per packet): MsgSeqNum (uint32, per-channel sequence number incrementing by 1 per packet and resetting weekly), then SendingTime (uint64, nanoseconds since the Unix epoch—see timestamps as integers).
  2. MsgSize (uint16, before each message): total byte length of this message, including MsgSize itself and the SBE header. Add MsgSize to its start offset to reach the next message.
  3. 8-byte SBE message header: blockLength, templateId, schemaId, version (four uint16 fields).
  4. SBE message body (as SBE lays it out): root block, repeating groups, and any variable-length data. Repeat steps 2–4 until the end of the packet.

Channels and feeds

CME partitions instruments into channels (listed in CME's channel guide), each with three multicast feeds:

  • Incremental feed: real-time book updates, trades, statistics, and status changes, duplicated on Feed A and Feed B. Receivers arbitrate by keeping the first copy of each MsgSeqNum.
  • Market recovery feed: continuous loop of per-instrument book snapshots.
  • Instrument definition feed: continuous loop of security definitions for receivers starting mid-week.

Recovery in brief

A gap in MsgSeqNum across both Feed A and Feed B means lost packets. Recover in either of two ways:

  • Snapshot loop: listen to the market recovery feed for each affected instrument's snapshot, apply newer queued incremental messages, then leave the recovery feed (per CME guidance).
  • TCP replay: request the missed incremental packets from CME's TCP replay service.

What is in the schema

One XML schema holds all templates—book updates by price and by order, trade summaries, statistics, security definitions, security status, snapshots, and channel admin messages—along with shared types:

CME bumps the schema's version when templates change. Older decoders stay compatible by advancing past each root block using the wire blockLength (schema versioning).

Get the schema

  • Address: ftp://ftp.cmegroup.com/SBEFix/Production/Templates/templates_FixBinary.xml (plain XML; older versions sit in Archive/ beside it; cert and new-release directories are listed on CME's FTP/SFTP wiki page).
  • Fetching: browsers block ftp:// and CME's web mirror refuses scripted requests; use curl or an FTP client against the FTP address above.
  • Licence: no licence text is inside the file, and CME's site terms reserve its rights (the wiki also states production schema details are for certified customers, though the FTP server does not enforce login). The Market Data Visualizer bundles version 13 as a sample; check your CME agreement before you redistribute it yourself.
  • Sample pcap files: a synthetic MDP 3.0 capture and its instrument definitions, made by Structure, to download, and where CME and Databento offer recorded captures, are in market data schemas and sample files.

In the Market Data Visualizer

The app reads MDP 3.0 in two ways:

Open MDIncrementalRefreshBook46 in the CME schema

Open sample CME order book

See replay CME order books, order books by price and by order and find trades, resets and gaps.

Sources

Reviewed by Structure on 2026-11-24. Last changed 2026-11-26.