DEV Community

Jalvart Studio
Jalvart Studio

Posted on

Rebuilding Hyperliquid's L4 Order Book From Raw Node Data

The L2 Order Book You See in the UI Isn't the Full Story

Hyperliquid's UI shows you aggregated L2 depth — price levels summed together. For market microstructure research (order flow, queue position, individual order lifetimes) you need L4: visibility down to the individual Order ID.

Rebuilding L4 from raw node data

L4 Order Book Reconstruction is an ETL engine that:

  1. Downloads the raw LZ4 files from Hyperliquid's official node-data bucket
  2. Replays the order-status events in sequence
  3. Exports the result to Apache Parquet (ZSTD) — with per-order visibility, not aggregated price levels

This is for quants and data teams who need real microstructure, not a UI-level order book snapshot.

Requirements & honest caveats:

  • Python
  • Your own AWS account (the official bucket is requester-pays — transfer costs are billed to whoever downloads)
  • Disk space for the Parquet output
  • Status: 4/4 unit tests passing. The full pipeline hasn't yet been run end-to-end against the live bucket — stated here for transparency, not buried in fine print.
  • Hyperliquid hasn't published an explicit redistribution clause for this data — a known, shared risk across every provider working with this dataset, not specific to this tool.

Get it ($29): https://theglitchlist.com/product/l4-order-book-reconstruction/?utm_source=devto&utm_medium=article&utm_campaign=n11_l4_orderbook

Top comments (0)