ZagTrader

FIX Protocol Tag 36: NewSeqNo

Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked

Sequence number the receiver should expect next, sent in a Sequence Reset.

Tag number
36
Data type
SEQNUM
FIX versions
FIX 4.0 to 5.0 SP2 and FIXT 1.1
Used in
1 message type

Practical notes on NewSeqNo

NewSeqNo is the sequence number the receiver should expect next after a Sequence Reset (35=4).

  • With GapFillFlag (123) = Y, the Sequence Reset stands in for administrative messages that are not resent, and NewSeqNo is the number of the next message after them.
  • Without GapFillFlag (reset mode), it sets the expected number directly. This is a recovery step, used when the two sides cannot resend.

Common mistakes

  • A NewSeqNo lower than the number the receiver expects. Sequence numbers cannot go down, so the message is rejected.

Changes between FIX versions

  • The data type is INT in FIX 4.0 to 4.2 and SEQNUM from FIX 4.3.

See also:Sequence Reset: gap fill or resetMsgSeqNum too low

Tag 36 in each FIX version

Values and message usage as defined in a specific version.

Data type

SEQNUM: A positive integer message sequence number.

Example

36=1024

Illustrative value. In a message, fields are separated by the SOH character (0x01), often shown as | or ^ in logs.

Decode a message with this tag

Message types that use tag 36

Covers every version from FIX 4.0 to 5.0 SP2, including fields reached through components and repeating groups. The version pages above show whether the tag is required in each message.

Field and message data comes from the QuickFIX data dictionaries for FIX 4.0 to 5.0 SP2 and FIXT 1.1, used under the QuickFIX Software License. This product includes software developed by quickfixengine.org (http://www.quickfixengine.org/). Enumerated value names are converted to plain text for reading.