Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following section describes the MDP 3.0 message and packet structure with structure with event based messaging. 

MDP Packet Structure

The encoded FIX transmission is sent in a packet structured as follows:

  • Packet header - contains packet sequence number, sending time

  • Message Size - field indicating size of message

  • Message header - contains message size, templateID, schemaID, and version

  • FIX Message - contains FIX header and FIX message

  • MDP Message - contains message header and FIX updates such as book updates and trades

Gliffy
nameBinaryMsgConstruction2
pagePin3

Each packet sent on all feeds (Incremental, Market Recovery, Instrument Definition, and TCP Replay) contains a packet sequence number and a timestamp. The packet number is unique to each packet sent and each channel has its own separate set of sequence numbers that increment sequentially with each packet and are reset weekly.

...

MDP 3.0 uses the concept of sequencing and recovery by packet instead of by message. Packets may contain a single or multiple MDP messages.   

Each packet is prefixed with:

  • Sequence Number

  • Sending Time (nanosecond precision)

Each MDP message includes:

  • Message Size

  • Template ID

MDP Packet Structure Examples

The following section provides examples of MDP packet structures. 

One Packet, One Event

The following example shows the packet structure for single event in one packet.

Gliffy
size1200
name1 packet, multi events
pagePin7

One Packet, Two Events

The following example shows the packet structures for two events in one packet.

Gliffy
size1200
name1 packet, 2 events new
pagePin7

One Event, Multiple Packets

The following example shows the packet structures for one event in multiple packets.

Gliffy
size1200
name1 event multi packets new
pagePin6