get_order_book
Fetch live L2 order book for Hyperliquid markets, displaying top bids, asks, sizes, and spread. Supports perp and spot pairs.
Instructions
Live L2 order book for a Hyperliquid market (e.g. 'BTC'): top bids and asks with sizes, plus the spread. Works for perps (BTC) and spot pairs (e.g. 'HYPE/USDC').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Market symbol, e.g. BTC or HYPE/USDC | |
| depth | No | Levels per side (default 10) |