PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Backtest Python Packages

Python packages with the GitHub topic backtest. Sorted by monthly downloads, with stars and forks.
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

64K 1K 228
akfamily
akquant

AKQuant is a high-performance quantitative research and trading framework built on Rust and Python! 开源量化回测框架

37K 2K 318
wickra-lib
wickra-backtest

Streaming-native backtester for the Wickra indicator library — backtest == live, in 10 languages (WIP).

8K 5 1
ricequant
rqalpha

A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities

5K 7K 2K
Drakkar-Software
octobot

Free open source crypto trading bot to automate AI, Grid, DCA and TradingView strategies on Binance, Hyperliquid and 15+ exchanges, with a simple interface.

5K 7K 1K
chen-001
pure-ocean-breeze

众人的因子回测框架 stock factor test

3K 30 9
systemathics
systemathics-apis

Auto generated stubs for Systemathics Ganymede gRPC APIs (python)

3K 1 0
bbalouki
bbstrader

Simplified Investment & Trading Toolkit with Python & C++

2K 16 3
alforge-labs
alpha-visualizer

Web visualization tool for AlphaForge backtest results (vis CLI)

2K 0 0
refraction-ray
xalpha

基金投资管理回测引擎

1K 3K 491
unliftedq
index-constitution

Reliable historical index composition data for csi300, csi500, nasdaq100, sp500 and dow30.

1K 13 4
ArthurBernard
fynance

Python and Cython scripts of machine learning, econometrics and statistical tools designed for finance.

1K 26 6
tradepython
pixiu

PiXiu - A trading backtesting tool similar to MT4/MT5

1K 6 1
rafa-rod
vartests

Statistical tests for Value at Risk (VaR) Models and other quantile-based risk measures (e.g. Drawdown at Risk).

1K 17 7
nanvel
cipher-bt

Trading strategy backtesting framework supporting multiple concurrent sessions, complex exit strategies, and multi-exchange data sources with simple Python implementation

872 19 1
nersent
qpace

📊 The Quant SDK for Python and Javascript. Written in Rust.

709 29 6
10mohi6
portfolio-backtest

portfolio-backtest is a python library for backtest portfolio asset allocation on Python 3.7 and above.

418 28 3
doazvjettu
leakguard-mcp

Squawk for backtests — static analyzer flagging lookahead bias & data leakage in ML/trading code before the backtest runs. Local stdio MCP.

396 0 0
akfamily
akquant-qmt

AKQuant is a high-performance quantitative research and trading framework built on Rust and Python! 开源量化回测框架

355 2K 318
xzmeng
binance-history

Fetch klines and trades data from binance.

319 23 12
WISEPLAT
backtrader-moexalgo

MOEX API AlgoPack integration with Backtrader. На данных с биржи MOEX теперь можно создавать полноценные торговые стратегии. Проводить Backtesting и делать Live торговлю через брокеров Алор, Финам и тех, у кого есть торговый терминал Quik.

300 76 35
falsify-quant
falsify-quant

Adversarial backtest validation for trading strategies. Runs your parameter sweep so it knows the real trial count, then spends six tests trying to prove the result is noise: lookahead detection, cost breakeven, Deflated Sharpe, PBO, permutation, regime concentration.

296 2 1
10mohi6
bybit-backtest

bybit-backtest is a python library for backtest with bybit fx trade on Python 3.7 and above.

262 11 5
10mohi6
oanda-backtest

oanda-backtest is a python library for backtest with oanda fx trade rest api on Python 3.6 and above.

247 15 9
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology