Skip to main content
Manifold-BT is a Python backtesting library with a Rust engine. Its 0xArchive connector loads our history with one call, so you can backtest Hyperliquid perps on trades and order books recorded since April 2023. Hyperliquid’s own API only returns its last 5,000 candles. You use your own 0xArchive key. Requests go from your machine to our API and never pass through Manifold-BT.

What the connector loads

If a day has no recorded book, loading stops and the error names that day, so a gap never slips into your results. The exact start of every dataset is on Venue coverage.

Run your first backtest

1

Install Manifold-BT

The 0xArchive connector needs a Manifold-BT Pro license. Loading trades and order books needs Researcher.
2

Create a 0xArchive key

Sign up, open API keys in the dashboard and create one. Then export it in the shell you run Python from:
3

Load a market

The symbol picks the venue and market type. These examples use older dates, which need Build or Pro. On Free, set the start and end inside the most recent 30 days.
4

Run a strategy

Any Manifold-BT strategy runs on the loaded store. This one is a simple EMA crossover on the BTC hours from the first tab:
For tick-level work, load trades and book snapshots for whole UTC days:

Checked against the venue

Before release, the Manifold-BT team ran the connector against our API and against Hyperliquid’s own.

Bars match Hyperliquid

BTC 1h candles from 0xArchive are identical to Hyperliquid’s: open, high, low, close, volume and timestamps.

Trades add up to the candle

One day of BTC, 327,914 trades, matches that day’s candle in count and in volume.

Trades sit inside the book

Over ten minutes of BTC, every trade printed between the book snapshots just before and after it.

All four market types run

A perp, a Spot pair, a HIP-3 market and a Lighter market each go from loading to a strategy run.

Plans on each side

You subscribe to each service directly. Trades and books use credits much faster than candles. Monthly allowances for every plan are on Rate limits.
Last modified on November 14, 2026