Closed elyase closed 2 years ago
Each orderbook message should have a unique seq_id
and have prev_seq_id
pointing to its former message, by this way all orderbook messages are linked together in a singly linked list.
I checked multiple data samples from gateio, I'm going to set ws_msg.u
to seq_id
and ws_msg.U-1
to prev_seq_id
Partially fixed gate by this commit https://github.com/soulmachine/crypto-crawler-rs/commit/cf9ae4e2ad15588957b9e4e53a3cdf1fddd14409
Due to lack of docs, I'm not able to fill prev_seq_id
for all cases.
seq_id and prev_seq_id are not being setup for gateio
It should probably be
ws_msg.U
andws_msg.u
but not sure I understand the definition ofseq_id
andprev_seq_id
.Gateio orderbook reference