Quickstart
Inspect and stream a public market, then preview execution.
1. Check Market Lab
mlab --version
mlab daemon backend2. Install a Public Market Snapshot
Hyperliquid perpetual market data does not require authentication:
mlab markets --exchange hyperliquidf --refresh
mlab markets --exchange hyperliquidf --symbol BTCPerpetual symbols use the base asset, such as BTC. Spot symbols keep the exact pair.
3. Read the Market
mlab source orderbook \
--exchange hyperliquidf \
--symbol BTC \
--depth 20Stream live updates from the same orderbook:
mlab source orderbook \
--exchange hyperliquidf \
--symbol BTC \
--depth 20 \
--stream4. Preview Execution
Authorize Hyperliquid:
mlab auth set hyperliquidPreview a perpetual order without submitting it:
mlab trade long BTC \
--venue hyperliquidf \
--margin 10 \
--leverage 2 \
--dry-runKeep --dry-run until the printed plan is correct. Read Execution before placing a live order.
Choose the Next Task
| Goal | Continue with |
|---|---|
| Configure another provider | Authentication |
| Reuse command settings | Configuration |
| Control Market Lab installed on a VPS | SSH Transport |
| Write a Python strategy | Python Scripting V2 |
| Research historical data in Jupyter | Jupyter Notebook |
| Write a JavaScript strategy | JavaScript Scripting |
| Run an execution algorithm | Strategies |
| Run a market maker | Bots |