I am trying to get data from this stream (partial snap): btcusdt@depth20@100ms from futures stream. But I am getting weird snapshots in between like:
{
“E” : 1725891867668, “T” : 1725891867668, “U” : 5311741052606,
“a” : [……],
“b” : [ [ “55225.97”,“0.003”], ……],
“e” : “depthUpdate”,
“pu” : 5311741052600,
“s” : “BTCUSDT”,
“u” : 5311741082178
}
The price tick size is 0.1 for BTCUSDT perp. Then:
- Why do we get 2 decimal places in prices.
- Even if we excuse that, getting 0 in the 2nd decimal place would have been fine, but I am getting some prices with non zero 2nd decimal place.
Can someone please tell me if I am missing something or fix it if not?
This bug is happening in all 5,10,20 depth streams