node-binance-api
node-binance-api copied to clipboard
There is something wrong with "execution_update" version ^0.13.0
I was working with client.websockets.userData(() => {}, execution_update);
function, everything is just fine with version "^0.12.5" but it fails with "^0.13.0" it took 1 hour to what is wrong with my code. and only different was package.json.
I faced same issue when upgrade to 0.13.0. And v0.12.5 is still working fine now. Please help or give us simple sample in your "example" guide section. Thank you so much!
you just use it wrong, its working in 0.13.0
function order_update(data) {
console.log(data)
}
binance.websockets.userData(order_update, true);
Thank you so much for your help!
@beratuslu was using the correct API. This is a bug in 0.13.0, and is addressed in pull request 732
@jaggedsoft: please merge this pull request.