Quickfix Syncing Sequence Numbers

后端 未结 2 390
独厮守ぢ
独厮守ぢ 2020-12-20 00:37

If, for whatever reason, my application loses track of what sequence number I was on, what is the recommended way of re-establishing the session to continue trading?

2条回答
  •  伪装坚强ぢ
    2020-12-20 00:46

    If the acceptor receives a message out of sequence, it would send a reject message and the reason for it in the text field. In the text field it would mention the sequence number expected, so parse that part of the message, take the sequence number and start again.

提交回复
热议问题