node-binance-api
node-binance-api copied to clipboard
Testnet - executionReport no firing up when placing a new order - v13.0.1
Hi all,
After struggling a lot, I found out the issue is on versions 0.13.0 and 0.13.1, executionReport is not fired up when placing a new order, not sure if it’ll be even fired up during order updates, haven't gotten there yet.
Here’s the code I’m using for testing, the same code works when using version 0.12.5
binance.websockets.userData( balanceData => console.log(balanceData), executionData => console.log(executionData), subscribedData => console.log(subscribedData ), listStatusData => console.log(listStatusData) );
//Placing a new order for testing if executionData will be fired up. // symbol, quantity, price, options binance.buy('BTCUSDT', '0.018086', '21242.89', {type: 'LIMIT'})
When I do this, the order is successfully placed but there’s nothing at the console.log for the executionData, if I downgrade the version, it does get fired up.
Does anyone know how I could fix it so that I can keep using the latest version? I’d really appreciate if anyone could throw me a light on this.
Thanks