SBE (Simple Binary Encoding)

acronym

networkingprogramming

Kept in this browser · My desk

Stands for: Simple Binary Encoding, the FIX Trading Community's fixed-layout binary encoding of FIX messages, published as ISO/IEC 25390:2025

A binary encoding for FIX messages, standardized by the FIX Trading Community and published as ISO/IEC 25390:2025, that places native integers at fixed offsets described by a message schema exchanged in advance.

SBE came from the community's High Performance Working Group to complement FAST, the 2005 encoding aimed at bandwidth: SBE aims at low latency of encoding and decoding while keeping messages reasonably small, and it is intended to represent all FIX semantics. B3's Binary EntryPoint and CME Group's iLink use it for order entry, and B3's Binary UMDF for market data.

How a message looks. A header gives the root block length, the template, the schema identifier and the schema version, 2 bytes each; the recommended header adds the counts of repeating groups and variable-length fields, for 12 octets. Fields follow at fixed positions as native integers, little-endian by default. A fixed-point price is a mantissa whose exponent is a constant in the schema: B3 uses an int64 with exponent -4, so 100.02 travels as 08 43 0f 00 00 00 00 00. Optional fields keep their space and signal absence with a reserved null value. Framing. With no delimiter, a Simple Open Framing Header (SOFH) in front of each message gives its length and encoding type; the standard header is 6 big-endian bytes, while B3 and CME both use 4-byte little-endian variants (B3 with code 0xEB50, CME with the private value 0xCAFE). Costs. Messages are not self-describing, so the receiver needs the right schema, and decoders must read the block length rather than assume it, because later versions append fields. The standard's own order example (version 1.0, November 2020) prints a transaction time in its hex dump three days apart from the one in its interpretation table.

Also known as: sbe, simple binary encoding, iso/iec 25390, fix sbe, sbe 1.0, sbe 2.0, codificação binária sbe

← Back to S Back to the glossary