crypto-crawler-rs
crypto-crawler-rs copied to clipboard
Example to reconstruct full order book from updates
It would be great to have an example on how to keep a full order book from updates. Related gateio example
Each OrderBookMsg
has a seq_id
and a prev_seq_id
, see msg.rs#L107-L109, if there are gaps, which means some messages are missing.
I'll submit an example for Binance soon.
that would be great! I am curious to know what other people are doing
Each
OrderBookMsg
has aseq_id
and aprev_seq_id
, see msg.rs#L107-L109, if there are gaps, which means some messages are missing.I'll submit an example for Binance soon.
dose the example submited? thanks
@xtuyaowu No, there is no example for now. You can read the "How to manage a local order book correctly" section from Binance