Hello, I’m wondering if there is some rule to follows, in order to exclude some received klines when processing result of websocket stream market data.
For instance, I’ve encountered an example I hardly manage to reproduce, but I received this quote :
It was an answer to subscribtion of ethusdt@kline_1m
{“e”:“kline”,“E”:1711980182436,“s”:“ETHUSDT”,“k”:{“t”:1711980180000,“T”:1711980239999,“s”:“ETHUSDT”,“i”:“1m”,“f”:-1,“L”:-1,“o”:“3556.16000000”,“c”:“3556.16000000”,“h”:“3556.16000000”,“l”:“3556.16000000”,“v”:“0.00000000”,“n”:0,“x”:false,“q”:“0.00000000”,“V”:“0.00000000”,“Q”:“0.00000000”,“B”:“0”}}
You can see the fields First and Last trade ID have value -1
and q V Q at zero.
Unfortunately, I don’t have previous quote, but the o c h l values looked suspicious too (they are all the same).
My question is, what this quote means ? Should I exclude some base on simple rules (like negative values for f or L ?)
Thanks !