Kata 04

Sorted Side Data Structure

Uses Hyperliquid ETH L2 snapshots to populate RBTree-backed bid and ask sides with decimal-safe prices. You can also disconnect and apply manual updates to see the sorted structure react in real time.

RBTree-backed live order book side

Live Hyperliquid l2Book snapshots are reapplied into the Side trees, so bids stay highest-first and asks stay lowest-first. Disconnect if you want to experiment with manual updates without live snapshots replacing them.

closed

Spread

--

Best Bid

--

Best Ask

--

Live Snapshot

No live snapshot applied yet.

Waiting for a live book snapshot or a manual sample update.

Live snapshots overwrite local edits while connected. Set size to 0 to remove a level at that price.

Bids

PriceSize
No bid levels yet.

Asks

PriceSize
No ask levels yet.