No article matches.
Concepts
Ideas the formats share: byte order, padding, framing and null values, variable-sized data and lists, prices as integers, versions; and how order books are sent and matched.
- How a binary message is put together
How a stream of raw bytes represents numbers, fields, missing values and message boundaries, why binary formats work this way, and what silently breaks when a reader gets a rule wrong.
- How an exchange fills a queue: first in, first out, allocation and pro rata
How an exchange splits a trade across the orders resting at one price, and the match algorithms CME uses to do it.
- Order books by price and by order
Price levels, order queues, market depth, implied prices and matching events, and how CME MDP 3.0 sends them.
- Representing prices and money in binary: floats, decimals and overflow
Why binary formats rarely send prices as text or floating point, how fixed-point integers and scaled decimals keep them exact, how precision, scale and overflow behave, and when to choose each representation.
- Schema versioning: evolving binary formats without breaking readers
How binary schemas change while old and new senders and decoders keep running side by side, what goes wrong when a layout shifts under a reader, and how SBE, Protobuf and Parquet stay compatible across versions.
- Variable-sized data and lists in binary messages
How binary formats fit text, byte strings and lists whose length changes from message to message into fields at fixed offsets, the common patterns and their trade-offs, and how common formats choose among them.
Encodings
How an encoding lays out its bytes, shown on the Market Data Visualizer's samples.
- Parquet: encodings and compression
Learn what Apache Parquet is, why columnar storage splits encoding from compression, how each encoding and codec works, and why those choices change file size and read speed.
- Parquet: how a file is laid out
Learn how an Apache Parquet file is organized on disk—from opening PAR1 to row groups, column chunks, pages and the trailing footer—and why readers start at the end.
- Protobuf: how a message is written on the wire
How Protocol Buffers turns a message into bytes, one field at a time, worked through byte by byte, from varints and tags to strings, negative numbers and missing fields, and how a reader skips fields it does not know.
- SBE: the message header and how a decoder picks a message
Learn how the fixed header at the start of every SBE message lets a trading decoder pick the right message layout, handle schema versions and skip unknown trailing bytes.
- SBE: how a message is laid out
Learn how Simple Binary Encoding (SBE) orders every message on the wire—header, fixed root block, repeating groups and variable-length data—so trading decoders read fields without parsing.
- SBE: reading the XML message schema
Learn how an SBE XML message schema declares byte order, reusable types, presence and null rules, messages and schema versions—and how each XML element maps to wire bytes.
- SBE: variable-length data fields
Learn how SBE encodes variable-length strings and raw byte payloads as length-prefixed data fields, why they must sit last in a message or group entry, and how they behave across versions.
Venues
How a venue uses an encoding, and where to get its schema.
- B3 Binary UMDF: packet header, framing header, SBE messages and the schema
Learn how B3's Binary UMDF feed frames SBE market-data messages inside UDP multicast packets, how its streams and gap recovery work, what differs in its schema, and where to download it.
- Binance spot SBE: binary API responses, market data streams and the mbx: schema attributes
Learn where Binance's spot exchange uses SBE across REST, WebSocket, FIX and market-data streams, how its mbx: split-price attributes and microsecond timestamps work, and how to inspect its schemas.
- 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.
- CME MDP 3.0: packet header, message size, SBE messages and the schema
Learn how CME MDP 3.0 frames SBE market data messages inside UDP multicast packets, how its incremental and recovery feeds work, where to get the official XML schema, and how the viewer replays captured feeds as order books.
Reference
Lists to look things up in.
- Glossary
Concise definitions of the SBE, framing, Parquet, order book and viewer terms used across the guide.
- Protocol directory: which venue uses which format
Reference table of trading-venue market data and order entry protocols grouped by encoding, with transports and links to official specifications.
- Market data schemas and sample files: where to get them
Market data and order entry specifications, schemas and sample files, from the venues, from third parties and made by Structure: who may get them and on what terms.