I’ve been struggling with an issue for a little while, I’m quite new to coding and so if anyone can help me understand why this might be happening I would really appreciate it.
My script is running on a Raspberry pi 4 using Ubuntu and connects to:
ws = websocket.WebSocketApp(SOCKET, on_open=on_open, on_close=on_close, on_message=on_message, on_error=on_error) ws.run_forever()
After some time, normally within 24 hours, the data being received can become significantly delayed… The candle data is sometimes from 5-10 periods in the past…
Thanks for any help with this.