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

There is something wrong with "execution_update" version ^0.13.0

Open beratuslu opened this issue 3 years ago • 4 comments

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.

beratuslu avatar Oct 30 '21 19:10 beratuslu

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!

blackfatpig avatar Nov 02 '21 03:11 blackfatpig

you just use it wrong, its working in 0.13.0

	function order_update(data) {
		console.log(data)
	}
	binance.websockets.userData(order_update, true);

mr-smit avatar Nov 07 '21 19:11 mr-smit

Thank you so much for your help!

blackfatpig avatar Nov 16 '21 05:11 blackfatpig

@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.

pdwinkel avatar Nov 28 '21 09:11 pdwinkel