[This message was posted by Changpeng Yu of FT Computer Solutions <[email protected]> to the "4.0 Session" discussion forum at http://fixprotocol.org/discuss/12. You can reply to it on-line at http://fixprotocol.org/discuss/read/2719fa7b - PLEASE DO NOT REPLY BY MAIL.]
> No, option 2 is not valid. A message with PosDupFlag does not 'advance' > the counterparty's next expected sequence number--that's what the > Sequence Reset - Gap Fill does. > > > I have a scenario where broker/exchange asks for a resend. FIX42 > > scenario > > - Lets say broker is missing 4-10 messages and asks for resend. > > - client goes through the list and finds that messages 4-7 need not > > be send(whatever be the reason) instead send a gapfill message > > for them. > > > > Client has two options. > > ---------------------- > > option 1- it sends single gapfill message for 4-7 stating next > > sequence is 8. then sends messages 8-10 with dup flag. option 2- It > > sends messages 8-10 with dup flag. then sends a single gapfill > > message with seq 10 and nextseq to 11. > > > > if option-2 is viable then I would like to implement option-2. > > Please advise. ~Vimal Actually, when the opposit party send you a resend request, they will adjust the expected incoming sequence number to the one (4). So, your resend message has to be starting with (4). If that is a application message, you need send it. Otherwise, you need to send a gapfill(4, 8). Next is message(8). Good luck, peng Free Download FixExpress at http://www.eptop.com/FIX/FixExpress.htm [You can unsubscribe from this discussion group by sending a message to mailto:[email protected]] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Financial Information eXchange" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/FIX-Protocol?hl=en -~----------~----~----~----~------~----~------~--~---
