node-binance-api icon indicating copy to clipboard operation
node-binance-api copied to clipboard

The execution update of binance.websockets.userData not work

Open rickshenjp opened this issue 4 years ago • 3 comments

binance.websockets.userData(balance_update, execution_update) The callback of execution_update not work when the order changed

rickshenjp avatar Jan 15 '22 10:01 rickshenjp

I've the same problem. sometimes works to me, so i'd a update in the balance_update callback, that compare the "e" value if is executionReport i send the data to a execution function else continues the balance function.

Seems like the execution callback are sent together with balance callback

aquilatrindade avatar Feb 04 '22 17:02 aquilatrindade

I've the same problem. sometimes works to me, so i'd a update in the balance_update callback, that compare the "e" value if is executionReport i send the data to a execution function else continues the balance function.

Seems like the execution callback are sent together with balance callback

tks, I'll try it

rickshenjp avatar Feb 06 '22 10:02 rickshenjp

There's a PR to fix it https://github.com/jaggedsoft/node-binance-api/pull/732

gunar avatar Mar 02 '22 19:03 gunar