# CME iLink 3: FIXP sessions, SBE order messages and the framing header

> Learn how CME iLink 3 frames SBE order-entry messages over TCP inside a FIXP session, how its framing header differs from standard SOFH, and where to obtain the XML schema.

Page: https://structure.fi/guides/cme-ilink3/

iLink 3 is CME Group's low-latency TCP order-entry protocol for CME Globex. Market makers, brokers, and systematic trading firms use it to submit, cancel, and replace orders, send mass quotes, and receive execution reports and rejects, encoded in [Simple Binary Encoding (SBE)](https://structure.fi/guides/sbe-message-layout/) inside a FIX Performance Session Layer (FIXP) session (market data travels separately over [MDP 3.0](https://structure.fi/guides/cme-mdp3/)).

This page walks through an iLink 3 message from its first byte—including how CME's 4-byte framing header differs from standard SOFH—explains the FIXP session lifecycle and reliability rules, highlights schema details, and explains how CME customers fetch the XML 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](https://structure.fi/guides/protocol-directory/) for CME's other protocols.

## A message, from the first byte

TCP is a byte stream with no message boundaries ([framing](https://structure.fi/guides/binary-message/#framing)). Every iLink 3 message is [little-endian](https://structure.fi/guides/binary-message/#endianness) and starts with 12 bytes of headers before the root block:

1. **4-byte framing header (CME's SOFH):** `MessageSize` (`uint16`, total byte length including this 4-byte framing header) followed by `EncodingType` (`uint16`, always `0xCAFE`, CME's code for SBE 1.0 little-endian).
2. **8-byte standard [SBE message header](https://structure.fi/guides/sbe-message-header/):** `blockLength`, `templateId`, `schemaId`, `version` (four `uint16` fields).
3. **SBE message body** ([as SBE lays it out](https://structure.fi/guides/sbe-message-layout/)).

A decoder written for standard FIX [SOFH](https://structure.fi/guides/sbe-message-header/#variations-and-framing) will misread iLink 3—CME's framing header differs in three ways:

- Little-endian instead of big-endian.
- 2-byte `MessageSize` instead of 4 bytes.
- Private encoding code `0xCAFE`, outside the standard's private range.

## The FIXP session

FIXP manages session lifecycle and reliability, and its session messages (`Negotiate`, `Establish`, `Sequence`, `Terminate`) are SBE templates inside the same schema file as order messages—so one decoder handles both:

1. **Create and bind:** the client sends `Negotiate` with a client-chosen 64-bit UUID, then `Establish` to bind the TCP connection. Both are signed with a CME-issued key for authentication.
2. **Sequence and heartbeat:** unlike base FIXP, every business message carries an explicit sequence number. `Sequence` advertises the next expected sequence number and acts as a heartbeat when idle.
3. **Reliability:** CME-to-client messages are *recoverable* (clients can request retransmission of a missed range). Client-to-CME messages are *idempotent*: on a client sequence gap, CME returns `NotApplied` and recommends continuing with `Sequence` (resending is also allowed).
4. **Disconnect without ending the session:** `Terminate` closes the TCP connection, not the session. By default a session lasts the trading week, and the client can re-establish connections using the same UUID.

See CME's session-layer wiki pages for exact start-of-week and mid-week binding rules.

## What is in the schema

One XML schema (schema id `8`) declares both FIXP session templates and business templates (order entry, cancels/replaces, mass quotes, execution reports, rejects, party details), plus:

- Fixed-exponent `int64` prices ([fixed-point integers](https://structure.fi/guides/prices-and-times-as-integers/#fixed-point-one-fixed-scale)).
- CME's [repeating group](https://structure.fi/guides/variable-sized-data/#sbe-count-prefixed-groups-and-length-prefixed-data) dimension headers.
- Type-specific [null values](https://structure.fi/guides/binary-message/#null-values)—note that a `char` enum's null value is byte `0x00`, not ASCII `'0'`.

CME increments `version` on each schema update, and both sides may send only the latest version. Most updates append fields (letting older readers skip them via `blockLength`; see [schema versioning](https://structure.fi/guides/schema-versioning/)), though non-appending changes break backward compatibility and must be implemented as new templates.

## Get the schema

- **Address:** CME's SFTP server `sftpng.cmegroup.com` under `/MSGW/Production/Templates` (`/MSGW/Cert/Templates` for cert, `/MSGW/NRCert/Templates` for new release).
- **Format & access:** plain XML (`schemaId="8"`), requiring CME SFTP credentials (documented behind a CME Group login on the wiki; no public copy exists).
- **Licence:** provided to CME customers with no licence text; do not redistribute.

## In the Market Data Visualizer

Open your own copy of the iLink 3 XML in the Market Data Visualizer to inspect both session and order templates, offsets, groups, and versions. The app has no framing preset for iLink 3, so layouts begin at byte 0 of the root block—add 12 bytes (4-byte SOFH + 8-byte SBE header) when matching offsets against a packet capture.

## Sources

- https://www.fixtrading.org/what-is-the-fix-protocol/
- https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/714113056
- https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/716013709
- https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/714145834
- https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/714506251/Session+Layer+-+Initialization+and+Binding
- https://cmegroupclientsite.atlassian.net/wiki/spaces/EPICSANDBOX/pages/714604582/Session+Layer+-+Transferring

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