Skip to main content
SBEschema 34 · market datatypes

Enumerations

OrderUpdateAction

Encoding: uint8

InstrumentUpdateAction

Encoding: uint8

ProductType

Encoding: uint8

MarketSector

Encoding: uint8

MaturityType

Encoding: uint8

Side

Encoding: uint8

AggressorSide

Encoding: uint8

InstrumentTradingStatus

Encoding: uint8

TradingSessionStatusCode

Applies to Spot and Futures only. US Perps does not expose a global trading session status; it provides the status per instrument (see InstrumentTradingStatus). Encoding: uint8

OrdTypeMD

Encoding: char

Primitive and composite encodings

messageHeader

Composite of: blockLength:uint16, templateId:uint16, schemaId:uint16, version:uint16.

groupSizeEncoding

Composite of: blockLength:uint16, numInGroup:uint16.

InstrumentId

Primitive uint64, length 1, required. Opaque, globally unique instrument identifier assigned by Instrument Registry.

OrderId

Composite of: low:uint64, high:uint64.

TradeId

Composite of: low:uint64, high:uint64.

TimestampNs

Primitive int64, length 1, required. Positive UTC timestamp in nanoseconds since the Unix epoch.

Scale

Primitive uint8, length 1, required. Maximum value 36. Number of supported decimal places.

Decimal

Composite of: mantissa:int64, exponent:int8. exponent ranges from -36 to 0.

Price

Composite of: decimal:ref.

Quantity

Composite of: decimal:ref.

SymbolEncoding

Composite of: length:uint16, varData:char. length is the number of UTF-8 encoded bytes, up to 128. Used by symbol and underlyingSymbol.

CurrencyEncoding

Composite of: length:uint8, varData:char. length is the number of UTF-8 encoded bytes, up to 12.

DescriptionEncoding

Composite of: length:uint16, varData:char. length is the number of UTF-8 encoded bytes, up to 512.

StatusReasonEncoding

Composite of: length:uint16, varData:char. length is the number of UTF-8 encoded bytes, up to 1024. An empty value means no reason was supplied.
Kraken constrains these values to the limits above before publishing and does not truncate identifiers.