Skip to content

Question re. example 7.3.1.1 #73

@danjmarques

Description

@danjmarques

In example 7.3.1.1, the client sends a NewOrderSingle with (implicit) sequence number of 100, which the server presumably responds to. The client then sends a Sequence message setting the NextSeqNo to 200, and follows that with a NewOrderSingle with (implicit) sequence number of 200.

In response, the server sends a NotApplied message, with FromSeqNo 101, and Count 100.

In 4.8.2, the description of NotApplied states:

When a receiver on an idempotent flow recognizes a sequence number gap, it should send the NotApplied message immediately but continue to accept messages with a higher sequence number after the gap.

Given that text, and given that the server sent an ExecutionReport at T6 (though it isn't explicit that it is for the second order), it appears that the sever applied the message with sqn 200. If that is indeed the case, then the range of not applied messages was from 101-199 inclusive (i.e. a count of 99). Therefore, shouldn't the NotApplied message have FromSeqNo 101 and Count 99?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions