FIXTradingCommunity / fixp-specification

FIXP - FIX performance session layer specification
Other
49 stars 17 forks source link

Question re. example 7.3.1.1 #73

Open danjmarques opened 4 years ago

danjmarques commented 4 years ago

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?

donmendelson commented 4 years ago

Agree that count should be 99.