Data partner
Manifold-BT0xArchive

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.

how far back each market goes on 0xArchive
Trades Order book Venue API alone
Hyperliquid API, 1h candleslast 5,000
Hyperliquid perps, tradesApr 2023
Hyperliquid perps, order bookApr 2023
Lighter, tradesJan 2025
Hyperliquid spot, tradesMar 2025
HIP-3, tradesOct 2025
Lighter, order bookJan 2026
HIP-3, order bookFeb 2026
Hyperliquid spot, order bookMay 2026
2023202420252026
Hyperliquid's own API keeps its last 5,000 candles and no old trades. 0xArchive started recording each market on a different day; a symbol listed later starts later. Up to 10 November 2026.
Apr 2023
Hyperliquid trades and order book since
2 venues
Hyperliquid perps, spot and HIP-3, and Lighter
1 ms
trade timestamps, with the aggressor's side
Your key
the data stays between you and 0xArchive

What the 0xArchive connector reads

DataWhat you getLimit
Bars1m, 5m, 15m, 30m, 1h, 4h, 1d and 1w candlesFrom March 2025 on Hyperliquid, later on Lighter and HIP-3. 0xArchive serves no older candles
FundingHourly funding rates on every perpetualSpot pairs pay none
TradesEach trade 0xArchive recorded, stamped to the millisecond, with the aggressor's sideWhole UTC days, from the start date to the end date
Order bookSnapshots of both sides: 20 levels on Hyperliquid, the whole book on LighterUp 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.

BTC
Hyperliquid perpetual
HYPE-USDC
Hyperliquid spot pair
xyz/XYZ100
HIP-3 market, deployer then ticker
lighter/BTC
Lighter market
hyperliquid.py
# 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.

Bars match the venue
BTC 1h candles read through 0xArchive are identical to the ones Hyperliquid's own API serves: open, high, low, close, volume and timestamps.
Trades add up to the candle
One day of BTC trades, 327,914 of them, matches that day's candle in count and in volume.
Trades sit inside the book
Over ten minutes of BTC, every trade printed within the prices of the book snapshots just before and after it.
Every market runs end to end
A perp, a spot pair, a HIP-3 market and a Lighter market each go from ingestion to a strategy run.

What you need on each side

You subscribe to 0xArchive directly, with your own key. Nothing goes through Manifold-BT.

FromPlanWhat it gives
0xArchiveFreeThe most recent 30 days, enough to test the connector
0xArchiveBuild, $49 a monthThe full archive
0xArchivePro, $199 a monthThe full archive, at 150 requests a second instead of 50
Manifold-BTProBars and funding through the connector
Manifold-BTResearcherTrades 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

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.

$pip install manifoldbt