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

Is it possible to handle websocket errors myself?

Open cmartin81 opened this issue 2 years ago • 1 comments

Hi, I have a method that fetches kline data and also it starts subscribing to updates via websockets. From time to time it will lose the connection or something other might happen. Is it possible to get the errors from the websocket API and handle this myself?

cmartin81 avatar Apr 07 '22 17:04 cmartin81

rewrite binance npm function by yourself, use power of javascript, access "binance" object and create a new function , you will have access to all functions and varibles in that object

mr-smit avatar Sep 07 '22 15:09 mr-smit