futuresSubscribe websocket for all symbols
Hi,
Please advise how to run futuresSubscribe WebSocket for all symbols...
Thanks,
Sunali
Please advise how to run futuresSubscribe WebSocket for all symbols...
console.log(binance.futuresSubscriptions())
Does this function work for you? I always get an empty object. I asked this question about a year ago, but I still couldn't figure out why it doesn't work for me.
Please advise how to run futuresSubscribe WebSocket for all symbols...
console.log(binance.futuresSubscriptions())Does this function work for you? I always get an empty object. I asked this question about a year ago, but I still couldn't figure out why it doesn't work for me.
@jaggedsoft, after reading the codes, i can tell you that it won't work for everyone.
the base method futuresSubscribeSingle and futuresSubscribe doesn't save the opening websocket, so futuresSubscriptions always return {}.
https://github.com/jaggedsoft/node-binance-api/blob/950d773a5f2c3a61c6e29b53e3af57594921a239/node-binance-api.js#L865-L915