Websocket Event Order Update does not send qty

I’m receiving from many api keys messages without “q” / “z” / “i” or any QTY related fields.
What to do with this? Its futures user stream

Examples:

{"c":"x-yIXKfZTSSew2BGAeBU2ixFLKRbhCX",
"S":"SELL",
"o":"LIMIT",
"f":"GTC",
"x":"TRADE",
"X":"FILLED",
"i":142214735,
"n":"0.02371392",
"N":"USDT",
"T":1617777784614,
"t":8233843,
"m":false,
"R":false,
"wt":"CONTRACT_PRICE",
"ot":"LIMIT",
"ps":"BOTH",
"cp":false,
"rp":"-0.50573712",
"pP":false,
"si":0,
"ss":0}
{"c":"x-yIXKfZTSSBLvzldk7WpZ8T6YEwV7X","S":"SELL","o":"LIMIT","f":"GTC","x":"TRADE","X":"FILLED","i":142214654,"n":"0.02371392","N":"USDT","T":1617777784414,"t":8233819,"m":false,"R":false,"wt":"CONTRACT_PRICE","ot":"LIMIT","ps":"BOTH","cp":false,"rp":"-0.08040864","pP":false,"si":0,"ss":0}
{"c":"x-yIXKfZTSS7QxrsYFZuDYWszRCw5Mg","S":"SELL","o":"LIMIT","f":"GTC","x":"TRADE","X":"FILLED","i":142214841,"n":"0.02370840","N":"USDT","T":1617777784852,"t":8233884,"m":false,"R":false,"wt":"CONTRACT_PRICE","ot":"LIMIT","ps":"BOTH","cp":false,"rp":"-0.55622573","pP":false,"si":0,"ss":0}

Is it a bug?

I can’t reproduce this, are you using a 3rd party library? Please try again with websocat (https://github.com/vi/websocat) to receive the raw update and if problem continues, post here the websocat command and the received events to get a better idea.

Its not happening all the time. But it is a thing. You cant reproduce it by your will. Its raw data from binance this messages. Messages include time and IDs, check server logs probably.

Also can I ask what does this mean?

"si":0,
"ss":0

Noticed this has already being brought up in the Telegram channel, it’s no longer occurring and not intended to happen again.
As for the fields meaning, I’ve asked internally to update the API documentation. Thanks!

Those two are for OTOCO orders. Could be ignored by API users.
“si”:0,
“ss”:0

1 Like