Dashboard disconnects#
The dashboard streams live trade updates over a persistent connection. When the connection drops, you'll see a "disconnected" indicator in the header. The page automatically reconnects.
What the live connection carries#
- Price ticks for open trades — driving the unrealised PnL in Live Trades.
- Trade lifecycle events — entry filled, TP hit, SL moved, trade closed.
- Notification pushes — so the badge updates without polling.
It is authenticated automatically using your session.
Common causes of disconnect#
| Cause | What you'll see | Action |
|---|---|---|
| Network hiccup | Brief red badge, auto-reconnect within seconds | Nothing — this is normal. |
| Laptop sleep / mobile background | Disconnect on resume, reconnect immediately | Nothing. |
| Deploy | Brief disconnect while the API restarts | Nothing — picks up within ~10s. |
| Cookie expired | Disconnect followed by redirect to sign-in | Sign in again. JWT is 7-day. |
| Multiple tabs | Each tab has its own live connection. Closing tabs doesn't affect others. | Nothing — by design. |
What's safe to ignore#
- A brief red badge that goes green again on its own. The Live Trades view re-syncs from the next event.
- "Disconnected" on a laptop you just woke up. Reconnect is automatic.
When to worry#
- Persistent disconnect for more than a minute or two with no automatic recovery.
- "Disconnected" combined with notification errors from the same window.
- Live Trades showing stale prices even though the badge is green.
In any of those, refresh the page first. If the issue persists, file a bug.
What doesn't depend on the live connection#
Trades themselves are placed entirely server-side. A disconnected dashboard does not affect open trades. Your SL / TP / trail keep running on HookTrader's servers and on Binance independent of whether your browser is connected.
When you reconnect, the dashboard re-syncs and the live stream resumes from current state. You don't lose history.
Behind the scenes#
HookTrader's live update system is designed to work reliably through network changes, browser tab switches, and brief outages. When you reconnect, it automatically catches up to current state.