← Technical Guides

Protocol editions for trading captures

Choose the wire edition, framing and FIX dictionary for historical OUCH, TotalView-ITCH and FIX packet captures, including exchange-specific revisions.

A port identifies an endpoint. The venue’s session agreement identifies the protocol edition and transport. For a mixed capture, declare each service port in the capture specification. The same letter can carry different data. For instance, an ITCH 2.0 S event has eight ASCII timestamp bytes before its type. In ITCH 4.1 the type comes first and the next four bytes are the nanoseconds within the second. ITCH 5.0 places the stock locate and tracking number before a six-byte timestamp.

FIX session and application editions

Edition Wire selection Offline coverage
FIX 2.7, 3.0a FIX.2.7 or FIX.3.0 Ordered fields, checksums, body lengths, message names and dated enumeration values. Load matching XML to check original field types, mandatory fields and groups.
FIX 4.0, 4.1, 4.2, 4.3, 4.4 The matching FIX.4.x BeginString Edition-specific fields, membership, nested groups and examples for message types defined in that release.
FIX 5.0, 5.0 SP1, 5.0 SP2 FIXT.1.1 with application codes 7, 8 and 9 Separate session and application dictionaries. A capture may declare the negotiated default for a mid-session start.
FIX Latest EP313 FIXT.1.1, application code 10 Pinned EP313 application dictionary. An explicitly identified, compatible Orchestra XML can supply a different extension pack.

A FIXT Logon carries the default application version in tag 1137. An application message can override it with tag 1128. In a capture bound to a particular edition, a contradictory identifier produces a diagnostic. Extension identifiers such as tag 1156 must agree with the selected profile. A venue’s unmarked QuickFIX 5.0 file needs an explicit base, SP1 or SP2 selection. Use the edition specified by its publisher.

The early FIX lookups use the publisher’s introduction and deprecation metadata for tags, message types and enum codes in the archived Orchestra repository. It describes identifiers that survived into the archive. Original wire types and structural requirements for those two editions come from a supplied dictionary. The validator reports structural coverage as unsupported until the corresponding XML is loaded. FIX archive · Orchestra source · Dictionary licenses and pinned revisions

Nasdaq US equities

Nasdaq’s OUCH 1.06 manual includes the revision history for 1.0 through 1.05. The archived layouts distinguish the addition of the one-byte order increment and nine-byte execution match number in 1.05. The pre-1.05 free-text message has no reproduced layout in the archive and yields an unsupported-type diagnostic. The 2007 revision of 1.05 reserved previously assigned fields while preserving their byte positions.

The tables below describe the offline decoder. Read the TCP column as the service protocol and bind the UDP column separately when the feed provides it. Nasdaq OUCH 1.x uses a carriage return and accepts an optional following line feed. Later ASCII OUCH editions and ASCII ITCH use line-feed-delimited SoupTCP. SoupTCP 2.0 reserves ten bytes for the login sequence number and SoupTCP 3.0 reserves twenty. SoupBinTCP uses a binary two-byte length prefix. Credentials in recognized login packets are redacted.

Classic MoldUDP encodes its four-byte sequence, two-byte count and message lengths little-endian. MoldUDP64 uses an eight-byte sequence and big-endian integers. In classic MoldUDP a final zero-length message block ends a session. In MoldUDP64 the control count is 65535. Both formats can carry packets with zero messages as heartbeats. MoldUDP · MoldUDP64 · SoupTCP 2.0 · SoupTCP 3.0

For other venues or proprietary revisions, supply their exact machine-readable layouts. An unrecognized type, invalid numeric field or incompatible payload length produces a diagnostic at the observed boundary. Two editions can share an identical layout for a given record, so successful decoding alone does not identify the edition. Compressed market-data feeds, encrypted sessions and OUCH UFO datagrams need their own transport decoders. Local packet analyzer · ITCH and OUCH byte inspector

The hosted UAT exchange implements FIX 4.4 and its documented Nasdaq OUCH and ITCH 5.0 simulation scenarios. The version matrix describes offline inspection. UAT message coverage

Nasdaq TotalView-ITCH

Edition and specificationTCP channelUDP channelFrom venue
ITCH 1.0 PDFSoupTCP 2.0 itch10-soup2—A B E P S X
ITCH 2.0 PDFSoupTCP 2.0 itch20-soup2MoldUDP (32-bit little-endian) itch20-mold32A B E P S X
ITCH 2.0a PDFSoupTCP 2.0 itch20a-soup2MoldUDP (32-bit little-endian) itch20a-mold32A B E H P S X
ITCH 3.0 PDFSoupTCP 2.0 itch30-soup2MoldUDP (32-bit little-endian) itch30-mold32A B C D E F H I L M P Q R S T X
ITCH 3.1 PDFSoupTCP 3.0 itch31-soup3MoldUDP64 itch31-moldA B C D E F H I L M P Q R S T U X
ITCH 3.1f PDFSoupTCP 3.0 itch31f-soup3MoldUDP64 itch31f-moldA B C D E F H I L M P Q R S T U V X
ITCH 3.2 PDFSoupTCP 3.0 itch32-soup3MoldUDP64 itch32-moldA B C D E F H I L M N P Q R S T U X Y
ITCH 4.0 PDFSoupBinTCP itch40-soupMoldUDP64 itch40-moldA B C D E F H I L P Q R S T U X
ITCH 4.0f PDFSoupBinTCP itch40f-soupMoldUDP64 itch40f-moldA B C D E F H I L P Q R S T U V X
ITCH 4.1 PDFSoupBinTCP itch41-soupMoldUDP64 itch41-moldA B C D E F H I L N P Q R S T U X Y
ITCH 5.0 PDFSoupBinTCP itch5-soupMoldUDP64 itch5-moldA B C D E F H I J K L N O P Q R S U V W X Y h

Nasdaq OUCH

Edition and specificationTCP channelUDP channelTo venueFrom venue
OUCH 1.0 PDFOUCH CR / CRLF ouch10-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.01 PDFOUCH CR / CRLF ouch101-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.02 PDFOUCH CR / CRLF ouch102-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.03 PDFOUCH CR / CRLF ouch103-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.04 PDFOUCH CR / CRLF ouch104-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.05 PDFOUCH CR / CRLF ouch105-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 1.06 PDFOUCH CR / CRLF ouch106-ouch-line—F I L O W XG H JK JO SE SOA SOB SOC SOE W
OUCH 2.0 PDFSoupTCP 2.0 ouch20-soup2—O XA B C E J S
OUCH 2.0a PDFSoupTCP 2.0 ouch20a-soup2—O XA B C E J S
OUCH 2.1a PDFSoupTCP 3.0 ouch21a-soup3—O XA B C E J S
OUCH 3.0 PDFSoupTCP 2.0 ouch30-soup2—O Q XA B C E I J K P R S
OUCH 3.1 PDFSoupTCP 3.0 ouch31-soup3—O Q XA B C D E I J K P R S
OUCH 3.2 PDFSoupTCP 3.0 ouch32-soup3—O Q XA B C D E I J P R S T
OUCH 4.0 PDFSoupBinTCP ouch40-soup—O U XA B C D E I J K P S U
OUCH 4.1 PDFSoupBinTCP ouch41-soup—O U XA B C D E I J P S U
OUCH 4.2 PDFSoupBinTCP ouch42-soup—M O U XA B C D E G I J M P S T U
OUCH 5.0 PDFSoupBinTCP ouch5-soup—C D E M O Q U XA B C D E G I J K M P Q R S T U X