Skip to main content
SBEschema 33 · sessiontypes

Enumerations

CredentialType

Encoding: uint8

NegotiationRejectCode

Encoding: uint8

TerminationCode

Encoding: uint8

SubscriptionRequestType

Encoding: uint8

InstrumentListRequestType

Encoding: uint8

MarketDataFeed

Encoding: uint8

SubscriptionResult

Encoding: uint8

Primitive and composite encodings

messageHeader

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

SessionId

Composite of: low:uint64, high:uint64.

groupSizeEncoding

Composite of: blockLength:uint16, numInGroup:uint16.

InstrumentId

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

SequenceNumber

Primitive uint64, length 1, required. Connection-local frame count, with zero meaning no frame received.

TimestampNs

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

VarStringEncoding

Composite of: length:uint16, varData:char. Variable-length UTF-8 string. length is the number of bytes in varData, up to 65534. Used by compId, accessKey and the reason fields.

VarBufferEncoding

Composite of: length:uint32, varData:uint8. Variable-length byte buffer. length is the number of bytes in varData, up to 2147483647. Used by the Negotiate signature.