Real-Time Fit
| Need | Use |
|---|---|
| Latest point-in-time snapshot | REST order-book, trades, or summary routes |
| Continuing live updates | WebSocket subscription |
| Historical event order | WebSocket replay |
| Backtest input file | REST history or replay depending on sequencing |
| Freshness evidence | Data-quality routes before trusting output |
Subscription Design
Choose route family
Pick Hyperliquid core, Hyperliquid Spot, HIP-3, HIP-4, or Lighter before choosing a channel.
Choose one channel and symbol
Start with the minimum channel-symbol pair that confirms the consumer can keep up.
Handle state changes
Track snapshots, updates, gaps, unsubscribe events, reconnects, and local state rebuilds.
Live Subscription Checklist
Use this checklist before opening or regenerating a live subscription.| Field | Capture |
|---|---|
| Venue family | Core, Spot, HIP-3, HIP-4, or Lighter |
| Channel-symbol pair | One channel and one symbol for the first run |
| Consumer | Dashboard, alert, local book, model input, incident monitor, or agent task |
| Keep-alive policy | Ping interval, idle timeout, reconnect cap, and resubscribe behavior |
| Lag signal | Queue depth, last message time, processing delay, and dropped UI updates |
| Exit path | Unsubscribe, close, retry budget, or fail-visible state |