Home / Backtesting & trading frameworks

hftbacktest

Backtesting & trading frameworks5,169 GitHub starsRust⏱ No commits in over six months

High-frequency trading and market-making backtesting in Rust and Python

What it is

A backtesting framework for developing high-frequency trading and market-making strategies that replays markets using full order book and trade tick data. It simulates feed and order latencies and models order queue position for fill simulation, supports multi-asset and multi-exchange backtests, and can deploy a live trading bot using the same algorithm code, currently for Binance Futures and Bybit. Quant developers who need accurate market-replay-based backtesting rather than simplified approximations are the main audience. Live-bot deployment is currently Rust-only, and realistic tick-level simulation requires full historical tick data and demands considerable computation time, so fully accurate backtesting is not always practical.

At a glance

Worth watchingOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forBacktesting, Strategy research
MarketsCrypto, Multi-market
StackPython
Learning curveSteep learning curve
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceNo commits in over six months

Popularity snapshots

Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +136 , latest 5,169. Gaps mean no snapshot was taken that day.

In the author's words

A high-frequency trading and market-making backtesting tool accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books.

Open on GitHub ↗This week's trending toolsChinese page

Similar tools