I’m trying to replicate the size and sum of the order book using “/fapi/v1/depth” but without success.
Could you please help?
Thank you in advance for your answer.
I’m trying to replicate the size and sum of the order book using “/fapi/v1/depth” but without success.
could you please share what’s the issue and how did you do with it? thank you
In the documentation they mention the following
How to manage a local order book correctly
u
is <= lastUpdateId
in the snapshot.U
<= lastUpdateId
+1 AND u
>= lastUpdateId
+1.U
should be equal to the previous event’s u
+1.