First of all, I'm working with your lib and it seems pretty nice to me, so thanks for your job.
I'm listening to candles stream and sometimes it disconnects. According to Bitfinex documentation, I've realized that I have to subscribe to Info stream as well, so I get a notification when server status changed.
20051 : Stop/Restart Websocket Server (please try to reconnect)
Now I have a question. What should I do when I receive 20051? Is there any option to reconnect? Or what's the best way to do so?
Hello,
First of all, I'm working with your lib and it seems pretty nice to me, so thanks for your job.
I'm listening to candles stream and sometimes it disconnects. According to Bitfinex documentation, I've realized that I have to subscribe to Info stream as well, so I get a notification when server status changed.
20051 : Stop/Restart Websocket Server (please try to reconnect)
Now I have a question. What should I do when I receive 20051? Is there any option to reconnect? Or what's the best way to do so?