Systems & building

FIX, ITCH and OUCH: trading protocols compared

∞structural
By . Reviewed 24 November 2026. As of 2026: a permanent feature of the market, not an edge that decays.

FIX is the text standard for orders between firms. ITCH is Nasdaq's binary market-data feed and OUCH its binary order entry. Fast firms use binary.

See it move

A FIX order messagedecode itIX-FIX
8=FIX.4.2|9=112|35=D|49=BUYSIDE|56=SELL|34=4|52=20260604-13:20:01|11=ORD-7|21=1|55=BTC|54=1|38=1.5|40=2|44=68250.5|59=0|10=131|

What to notice. FIX is just tag=value pairs separated by a delimiter. Human-readable and ubiquitous for order entry, but verbose, which is why latency-sensitive venues offer compact binary protocols for the hot path and keep FIX for the slow one.

The protocols side by side

ProtocolCarriesEncodingTransport and detail from the spec
FIXOrders and executions between firmsText, tag=value pairs (the message example below)See the FIX message example below
ITCH (Nasdaq TotalView-ITCH 5.0)Market data: orders added, removed and executedBinary, big-endian integers, nanosecond timestamps since midnightDelivered over MoldUDP64 (UDP multicast with a retransmission request) or SoupBinTCP
OUCH (Nasdaq OUCH 5.0, specification updated October 2025)Order entry to NasdaqBinaryOrders carry a client reference number (UserRefNum)

The split follows the job. FIX is the common language that two firms and a venue can all speak, and ITCH and OUCH are one exchange's compact binary formats for market data and for orders. The page below explains why the market-data and order paths are separate, and how a feed stays correct when packets are lost.

Why data and orders travel separately

Because the two flows have opposite requirements. Market data is one venue talking to thousands of listeners, so it goes out as multicast UDP: the venue sends each packet once and accepts that a listener will occasionally miss one. Order entry is a private conversation between you and the matching engine, so it runs over TCP or a reliable session protocol built on it. You cannot afford to lose an order silently.

Nasdaq's own specifications show the split clearly. TotalView-ITCH 5.0, the market-data feed, is delivered over MoldUDP64 (UDP multicast) or over SoupBinTCP. OUCH 5.0, the order-entry protocol, is "a simple protocol that allows NASDAQ participants to enter, replace, and cancel orders and receive executions", and it rides on SoupBinTCP, a TCP session layer that adds logon, heartbeats and sequenced messages.

On the data side the venue publishes every book change once onto a multicast group. Because the sender does not track who is listening, adding a thousand more subscribers costs the venue nothing. Equal treatment is a matter of venue rules rather than of multicast itself: in the EU, RTS 10 (Delegated Regulation 2017/573) requires the same conditions for all users of a given co-location service, down to cable length, so colocated subscribers on the same service receive the feed on equal terms. UDP has no retransmission, so the protocol carries sequence numbers and a separate recovery path for when you miss a packet. On the order side, your gateway holds a logged-on session to the matching engine, and FIX adds its own sequence numbers on top so a dropped connection can resume without losing or duplicating an order.

This split shapes the whole low-latency stack. The inbound multicast firehose is where kernel bypass earns its keep, while the outbound order path is where determinism and pre-trade risk checks live. The message viewer above decodes one order both ways so you can see what each channel carries.

FIX, and what a FIX order message looks like

FIX, the Financial Information eXchange protocol, is a tag=value text protocol and the common language for order entry and post-trade between firms and venues. It dates from 1992, when Fidelity Investments and Salomon Brothers started the project. A message is a list of numbered fields joined by a delimiter: 35=D35{=}D means "this is a new order", 54=154{=}1 means "buy". It is human-readable and easy to integrate against, but heavy on the wire compared with binary.

A NewOrderSingle (35=D35{=}D) carries, among other fields: tag 11 the client order id, 55 the symbol, 54 the side (1 buy, 2 sell), 38 the quantity, 40 the order type (1 market, 2 limit), 44 the price and 59 the time-in-force. The venue answers with an ExecutionReport (35=835{=}8) saying the order is new, filled, cancelled or rejected. The decoder above explains each tag on hover.

FIX persists because one FIX engine can talk to dozens of brokers and venues, each with its own dialect, without a separate code base per counterparty. For a system that is not racing for the last microsecond (most statistical arbitrage, slower market making, cross-venue work) it is adequate and far cheaper to build against, which makes it the natural default for the solo builder. It loses the speed race for a mechanical reason: the text is large and has to be parsed field by field, scanning for delimiters in a variable layout. The FIX community's answer was binary encodings of its own, FAST for compressed market data and then Simple Binary Encoding.

The native binary protocols: ITCH, OUCH and SBE

Native binary protocols pack each message into a fixed byte layout with no text, so a decoder reads fields at known offsets. ITCH is Nasdaq's market-data feed, OUCH is its order-entry protocol, and SBE (Simple Binary Encoding) is a FIX Trading Community standard that CME uses for both market data and order entry.

ITCH is an order-by-order feed. In the Nasdaq TotalView-ITCH 5.0 specification, an Add Order message ("A") is a fixed 36-byte record: message type at offset 0, a stock locate code at 1, a tracking number at 3, a 6-byte timestamp at 5, the 8-byte order reference at 11, side at 19, shares at 20, the stock at 24 and a 4-byte price at 32 with four implied decimals. Integers are big-endian, timestamps count nanoseconds since midnight, and the stock locate code sits at the same position in every message "to support efficient filtering". Order Executed, Order Cancel and Order Delete messages refer back to the order reference, so a subscriber can rebuild the limit order book and track queue position for the orders it can see, the granularity that price-time priority and recorded data depend on. The qualifier matters: the feed carries orders "added to the displayable book", so hidden orders are absent and an inferred queue position is only approximate.

OUCH is far leaner than FIX. Its Enter Order message ("O") has a 47-byte fixed part before any optional appendages: a 4-byte user reference number that is "day-unique and strictly increasing", side, a 4-byte quantity, an 8-byte symbol, an 8-byte price, and a time-in-force field that, in the spec's words, "Corresponds to TimeInForce (59) in Nasdaq FIX". It expresses the same order as a FIX NewOrderSingle in a fraction of the bytes.

SBE is template-driven. A message definition states each field's type and offset, the decoder is generated from it, and a message is read by pointer arithmetic rather than parsed. The FIX High Performance Working Group describes it as a presentation-layer encoding. CME's iLink 3 order entry uses SBE with the FIXP session protocol, and its MDP 3.0 market data is UDP multicast in SBE. For the exact message set, work from the venue's current specification: field tables change between versions.

Keeping a multicast feed correct: sequencing and gap recovery

Every packet carries a sequence number. The feed handler tracks the next number it expects, and if one is skipped it has found a gap and must recover before trusting its book. Until the gap is filled the book is stale and must not be traded on.

Because the feed is incremental (each message is a delta to the book, not the whole book), one missing packet corrupts the book from that point on. Sequence numbers turn "did I miss anything?" into an exact arithmetic check.

A gap is detected the instant the received sequence number jumps past the expected one. Any non-zero gap means the in-memory book has diverged from the venue's and is no longer tradeable until recovery completes.
gap=sreceived−sexpected,book valid  ⟺  gap=0\text{gap} = s_{\text{received}} - s_{\text{expected}}, \qquad \text{book valid} \iff \text{gap} = 0

Venues layer their defences from cheap and fast to slow and certain. The first is A/B line arbitration: the same feed goes out on two independent multicast groups, and the handler takes whichever copy of each sequence number arrives first, so a loss on one line is covered by the other. The second is a snapshot channel: Nasdaq's GLIMPSE service provides a book snapshot, so a handler that has fallen far behind can resynchronise and then resume applying increments. The third is retransmission of specific missing messages. The mechanism differs by venue. Under Nasdaq's MoldUDP64, a listener that detects a gap sends a Request message to a Re-request Server, which answers by UDP unicast. CME runs its own recovery services for MDP 3.0, and its documentation is the place to check the limits.

Detecting and repairing gaps correctly is most of what a feed handler is, and trading on a silently stale book is a classic expensive bug. The same message stream is what a faithful backtest has to replay deterministically, and it is what produces the terabytes-per-day data volume.

What does a feed handler do, and why normalise across venues?

A feed handler decodes a venue's wire protocol into your system's internal events and rebuilds the book from the increments. Normalisation maps every venue's message set onto one internal representation, so strategy code is written once against a uniform event model instead of against ITCH, then SBE, then a crypto JSON feed.

The job runs in a fixed order: receive packets, check the sequence and recover any gap, decode each message at its offsets, apply it to the in-memory book, and emit a normalised event (an AddOrder, a Trade, a BookUpdate) for the rest of the system. It is the first stage of the system pipeline and the component most sensitive to both latency and correctness. At the fast end it can leave software entirely: Nasdaq broadcasts an FPGA version of TotalView-ITCH from Carteret, New Jersey, MoldUDP64 only and unshaped, which needs a 10 Gb or 40 Gb connection.

Normalisation is what makes a multi-venue system tractable. CME SBE, Nasdaq ITCH, a fragmented set of equity venues and a crypto exchange's WebSocket diff feed all describe the same object, a limit order book, in incompatible formats. The handler hides that from the strategy. For a newcomer the news is good: in crypto and on prediction markets the protocol is usually JSON over a WebSocket with a snapshot-plus-diff model. The ideas are identical (sequence numbers, gap recovery, incremental updates) but integration is far easier, which is part of why the independent builder starts there.

Generating a conformant parser and normaliser from a published spec is now largely an LLM-assisted task, so work that used to gate a one-person shop is an afternoon of scaffolding. The judgement stays human: the recovery edge cases, getting timestamps right, and validating against a recorded tape (see what AI changes for HFT). The wire format is not where the edge is.

Worked example: one buy order, two encodings

Take a single limit order, buy 100 lots of a symbol at 50.01, limit, day, and encode it both ways. The numbers are illustrative and the binary frame is schematic; the venue spec gives exact layouts. You can reproduce both in the decoder above.

As FIX, with ∣| standing for the SOH delimiter, the message reads roughly 8=FIX.4.4 | 35=D | 11=ORD-001 | 55=XYZ | 54=1 | 38=100 | 40=2 | 44=50.01 | 59=0: FIX 4.4, a NewOrderSingle, client order id ORD-001, symbol XYZ, side buy, quantity 100, type limit, price 50.01, day. With the header and trailer fields a real session adds (body length, sender and target ids, sequence number, sending time, checksum) that is roughly 60–120 bytes of text, parsed by scanning for delimiters and looking up each tag. As native binary (SBE or OUCH style), the same order is a packed frame, schematically [msgType:1][clOrdId:8][symbolId:4][side:1][qty:4][price:8][tif:1]. That is 1 + 8 + 4 + 1 + 4 + 8 + 1 = 27 bytes, about a third of the bytes, at fixed offsets: side is always byte N, price always bytes M to M+7. No scanning; the decoder reads it by pointer arithmetic.

The same order, two encodings: binary trims the byte count to about a third and replaces delimiter-scanning with constant-time offset reads, saving single-digit microseconds per message.
bbinary≈13 bFIX,Δtdecode∼O(µs) per messageb_{\text{binary}} \approx \tfrac{1}{3}\,b_{\text{FIX}}, \qquad \Delta t_{\text{decode}} \sim \mathcal{O}(\text{µs}) \text{ per message}

Treat the microsecond figure as an illustrative estimate, not a measurement: no published benchmark is behind it. What is solid is the byte count and the absence of scanning, and both matter most on the inbound multicast firehose, where the decoder runs on every message. For a strategy that is not speed-bound those microseconds are irrelevant and FIX's breadth wins; for the speed tier they are the point. Choosing a protocol is an economics decision about your latency budget, not a question of which is better.

Sources

  1. Nasdaq. "Nasdaq TotalView-ITCH 5.0" (specification, revision log to 28 April 2023). nasdaqtrader.com
  2. Nasdaq. "OUCH 5.0 Order Entry Specification" (updated October 2025). nasdaqtrader.com
  3. Nasdaq. "MoldUDP64 Protocol Specification" v1.00. nasdaqtrader.com
  4. Nasdaq. "SoupBinTCP" v3.00. nasdaqtrader.com
  5. FIX Trading Community. "Simple Binary Encoding (SBE)" specification repository. github.com
  6. CME Group Client Systems Wiki. "CME MDP 3.0 Market Data". cmegroupclientsite.atlassian.net
  7. CME Group Client Systems Wiki. "iLink Functional Specification". cmegroupclientsite.atlassian.net
  8. Commission Delegated Regulation (EU) 2017/573 (RTS 10, co-location and fee structures), 6 June 2016. eur-lex.europa.eu

Where this fits