Backtest Hyperliquid and Lighter on their full history
Hyperliquid’s own API stops at its last 5,000 candles. Through 0xArchive, Manifold-BT reads Hyperliquid’s trades and order book back to April 2023, and the history of its spot and HIP-3 markets and of Lighter, with your own key.
What the 0xArchive connector reads
| Data | What you get | Limit |
|---|---|---|
| Bars | 1m, 5m, 15m, 30m, 1h, 4h, 1d and 1w candles | From March 2025 on Hyperliquid, later on Lighter and HIP-3. 0xArchive serves no older candles |
| Funding | Hourly funding rates on every perpetual | Spot pairs pay none |
| Trades | Each trade 0xArchive recorded, stamped to the millisecond, with the aggressor's side | Whole UTC days, from the start date to the end date |
| Order book | Snapshots of both sides: 20 levels on Hyperliquid, the whole book on Lighter | Up to 500 levels kept on Lighter. A day with no recorded book stops with an error that names it |
Hyperliquid backtest quickstart
The symbol picks the market. Your strategy stays the same.
# export OXARCHIVE_API_KEY=...
store = mbt.ingest(provider="0xarchive", symbol="BTC", symbol_id=1, interval="1h",
start="2025-06-01T00:00:00Z", end="2025-12-01T00:00:00Z")
mbt.ingest_trades("0xarchive", "BTC", 1, "2025-11-03", "2025-11-07")
mbt.ingest_book("0xarchive", "BTC", 1, "2025-11-03", "2025-11-07")Checked against the live API
Before release, the connector was run against 0xArchive’s real API and against Hyperliquid’s own.
What you need on each side
You subscribe to 0xArchive directly, with your own key. Nothing goes through Manifold-BT.
| From | Plan | What it gives |
|---|---|---|
| 0xArchive | Free | The most recent 30 days, enough to test the connector |
| 0xArchive | Build, $49 a month | The full archive |
| 0xArchive | Pro, $199 a month | The full archive, at 150 requests a second instead of 50 |
| Manifold-BT | Pro | Bars and funding through the connector |
| Manifold-BT | Researcher | Trades and the order book, with the tick-level simulation |
Create a key at 0xarchive.io, under API keys in the dashboard. 0xArchive prices are from their pricing page in November 2026. Manifold-BT plans are on our pricing page.
Use it from your AI agent
Connect your agent to the Manifold-BT MCP server. It reads the reference and writes a strategy that compiles, and you run the backtest on your own machine.
FAQ
Keep reading
- Free crypto tick data, and how to backtest it →
- MBO, MBP and BBO: order book data, level by level →
- The Researcher plan: the tape, the book, the trade clock →
- Realistic Slippage, Fees and Funding →
- Multi-Asset Backtesting →
- Market making strategy in Python →
- Backtest Polymarket strategies in Python →
- Read the documentation →
Run your first backtest
Install Manifold-BT and reproduce the backtest above in seconds. The Rust core runs years of bars sub-second so you can sweep parameters instead of waiting.