Hyperliquid Connector Stability Upgrade
Published on 2026-01-23 18:50:04
-
Shared WebSocket Watchdog
- Implemented a monitoring system that tracks data liveness on active candle streams.
- Automatically triggers a connection reset if no data is received for 5 minutes on high-frequency timeframes (1m, 3m, 5m, 15m), ensuring "silent" disconnects are caught and resolved.
- Includes a 60-second debounce mechanism to prevent rapid "flapping" of connections during intermittent network instability.
-
Rate Limit Protection
- Added a conservative delay (
0.1s) between subscription requests during the reconnection loop. - This throttling ensures compliance with Hyperliquid's 10 messages/second limit, preventing
429 Too Many Requestserrors during initialization or when resubscribing to multiple assets.
- Added a conservative delay (
-
Improved Diagnostics
- Added dedicated handling for
subscriptionResponsemessages. - The system now explicitly logs successful subscription confirmations and alerts on failures, providing better visibility into the state of active data streams.
- Added dedicated handling for