21:18:53

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 Requests errors during initialization or when resubscribing to multiple assets.
  • Improved Diagnostics

    • Added dedicated handling for subscriptionResponse messages.
    • The system now explicitly logs successful subscription confirmations and alerts on failures, providing better visibility into the state of active data streams.

Comments (0)

No comments yet. Be the first to share your thoughts!

Please log in to leave a comment.