Kraken WebSocket API unexpected disconnections from market data feeds

Learn the Secret

Get  our 2 Free Books

Get these now which land directly to their inbox.
Invalid email address
(Last Updated On: April 17, 2021)

I keep getting this exception on Kraken via their web socket API

websocket._exceptions.WebSocketConnectionClosedException: socket is already closed.

I never get this on Binance which shows it is better technology. (not by much)

Here is a solution if you get it:


It seems that the multiple websocket might be best

Get on my daily newsletter https://quantlabs.net/​​

See my private research at my my private chat server https://quantlabs.net/dvd/​

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!
Scroll to Top