← Technical Guides

Inspect CME MDP 3.0 UDP packets alongside iLink order entry

Check packet sequencing, SBE message boundaries, nanosecond timestamps and the Limits and Banding template in a synthetic CME MDP 3.0 capture.

CME Globex futures order entry and UDP market data use different envelopes. An iLink message begins with a length and the little-endian 0xCAFE encoding marker. A UDP MDP 3.0 datagram begins with the channel’s packet sequence and sending timestamp. Feeding either stream to the other’s decoder changes the meaning of the first bytes. CME iLink encoding · CME MDP technical headers

Decode a capture

Select CME Globex and the market-data channel. Use the actual destination UDP port in your capture. Each packet starts with a 32-bit sequence and 64-bit nanosecond timestamp. Each contained message then starts with a two-byte size that includes its own length prefix, followed by the eight-byte SBE header. The fixed block length is measured from the end of the SBE header. A variable repeating group can extend beyond that fixed block while remaining within the message size. Open MDP Packet Capture

A datagram with two messages advances the channel packet sequence once. FIXScope Labs records a possible gap if the next observed packet number jumps. Each captured flow starts at its first observed number. A lower number can indicate a repeat, a reordered packet or a channel reset. Use timestamps and both captured feeds when investigating the cause. The workbench does not retrieve missing packets from CME. CME packet and event structure

Exercise a published template

Choose Limits and Banding in the MDP builder. Its fields follow CME’s schema 1, acting version 9, template 50 decoding example. In the example layout the root is 11 bytes, including padding. The group has a two-byte entry block length and a one-byte count. Each 32-byte entry holds three nullable signed price mantissas with a constant exponent of −9, a SecurityID and an instrument report sequence. The event flags, packet sequence and instrument report sequence describe different levels of the feed. Build a synthetic limits packet · CME’s published template example

Enter distinct high and low prices and set one optional value to null. Decode the downloaded datagram and confirm its price scale, instrument ID, sequence and sending time. The tool preserves the timestamp as an integer string, including the nanoseconds beyond JavaScript’s safe integer range. Inspect generated bytes

For a different template or acting version, the default decoder reports packet and message headers. Packet Capture accepts a matching local SBE XML within the workbench’s supported schema subset and limits. For a combined capture, the iLink preset maps order-entry TCP and MDP UDP to separate ports. A custom capture specification can associate a different local schema with each interface.

On the order-entry side, a supplied Negotiate or Establish layout may declare HMACSignature as a 32-byte fixed string. Its wire value is a binary digest and can include zero or high-bit bytes. The local iLink decoder preserves those bytes. Capture reports redact the digest and access key, while fields such as the session UUID and request timestamp remain available for correlation. This is inspection of a recorded login. An authenticated peer also needs to check the signed fields and enforce the FIXP state machine. CME authentication and session-layer procedure

The hosted CME application profile uses explicitly mapped customer templates. Production iLink schemas are distributed through CME’s credentialed SFTP service. FIXScope Labs does not ship a complete iLink CGW/FIXP session or MDP book-recovery emulator. CME iLink schema distribution · MDP schema distribution