Today I’ve received an error from by bot, that the “s” field was missing from the user data stream ORDER_TRADE_UPDATE message.
I’ve received the following message via websocket:
{"stream":"my-listen-key","data":{"e":"ORDER_TRADE_UPDATE","T":1617777753902,"E":1617777765570,"o":{"c":"MEN_f944be606ca52520e579dc255a","S":"SELL","o":"LIMIT","f":"GTX","x":"CANCELED","X":"CANCELED","i":135515332,"T":1617777753902,"t":0,"m":false,"R":false,"wt":"CONTRACT_PRICE","ot":"LIMIT","ps":"BOTH","cp":false,"rp":"0","pP":false,"si":0,"ss":0}}}
The "s"
field is missing from the payload. It should be DENTUSDT. This happened a single time at 2021-04-07 06:42:45.568 UTC. This is the first time I’ve encountered such bug, and this doesn’t happen anymore.
I hope you can take a look at it so this doesn’t happen in the future.