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

How to reconnect for listening websocket

Open denisenkoaj opened this issue 8 years ago • 2 comments

Hello! How i can create reconnection every time when connection falls? Specifically for websockets.trades It's really a big problem

denisenkoaj avatar Dec 27 '17 08:12 denisenkoaj

connection closes after 24h

denisenkoaj avatar Dec 27 '17 10:12 denisenkoaj

I have added websocket reconnection to this function This is available in release v0.3.0 if you navigate to your project directory and issue an npm update

jaggedsoft avatar Dec 27 '17 19:12 jaggedsoft