Networking & DNS
Bug Report
Trading bot missed fills overnight: websocket dropped at 24 hours and nobody reconciled
Our bot believed two orders were still open when they had filled hours earlier. The exchange closes websocket connections after 24 hours; our reconnect logic resubscribed but never checked what happened while disconnected. Reconnect with backoff plus REST reconciliation fixed the state drift.