Structure guides

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.

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.

Reference

Lists to look things up in.