SeqNum

base: intFIX 4.4

SeqNum is a FIX datatype defined in FIX 4.4, carried on the wire as int. 8 fields use it.

Wire format

Base type
int
Fields
8

A positive sequence number. Session-level, and monotonic within a session.

What the specification says

int field representing a message sequence number. Value must be positive.

Descriptions are quoted from the FIX Orchestra sources under the Apache 2.0 licence.

How @boarteam/fix handles it

@boarteam/fix parses the value as a number and reports parse/invalid-int when it does not lex as one; the raw string is kept either way.

Fields with this datatype

TagFieldDialectsMessages
7BeginSeqNoFIX 4.4, FIX 4.21
16EndSeqNoFIX 4.4, FIX 4.21
34MsgSeqNumFIX 4.4, FIX 4.293
36NewSeqNoFIX 4.4, FIX 4.21
45RefSeqNumFIX 4.4, FIX 4.22
369LastMsgSeqNumProcessedFIX 4.4, FIX 4.293
630HopRefIDFIX 4.493
789NextExpectedMsgSeqNumFIX 4.41

Decode this in your own code

The same engine that produced the decoded example above is an Apache-2.0 npm package with zero runtime dependencies. It runs in Node and in the browser, and parse() returns problems as data instead of throwing.

npm i @boarteam/fix @boarteam/fix-dict-fix44