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

Backtesting Engine Python Packages

Python packages with the GitHub topic backtesting-engine. Sorted by monthly downloads, with stars and forks.
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

183K 9K 2K
pynesys
pynesys-pynecore

Pine Script-compatible Python runtime for indicators and strategies, validated against TradingView on real published scripts

31K 229 67
nkaz001
hftbacktest

Free, open source, a high frequency trading and market making backtesting and trading bot, which accounts for limit orders, queue positions, and latencies, utilizing full tick data for trades and order books(Level-2 and Level-3), with real-world crypto trading examples for Binance and Bybit

12K 5K 926
smalinin
backtrader-next

Python Backtesting library for trading strategies

5K 48 10
pengwow
axon-quant

AI-native event-driven trading engine. Rust core with Python RL bindings. Built-in Gymnasium environments, LLM agents, SHAP explainability, and model ensembling — from backtesting to production.(AI 原生事件驱动交易引擎,Rust 内核,Python RL 绑定,支持 Gymnasium 环境、LLM 智能体、SHAP 可解释性与模型集成,贯穿回测到生产部署。)

4K 7 0
karanbh01
py-beacon-kit

python package for index & ETFs strategy development, backtesting and analysis

3K 0 2
SLMolenaar
quantcore

C++ backtesting engine with a real order book, priority-queue event loop, and Python bindings.

3K 1 0
bbalouki
bbstrader

Simplified Investment & Trading Toolkit with Python & C++

2K 16 3
keel-trade
keel-trade

Keel — CLI and MCP server for AI-driven crypto strategy development on Hyperliquid

1K 2 0
Delta-F
deltafq

Python 开源量化框架: 覆盖“研究、回测、交易”全生命周期,构建从零到实盘的工业级量化闭环工作流。

1K 91 44
kay-ou
simtradelab

SimTradeLab is an open-source backtesting framework inspired by PTrade’s event-driven architecture. It features a lightweight, modular design and full syntax compatibility, enabling seamless strategy development and validation.

926 349 70
squidKid-deluxe
qtradex

AI-powered SDK featuring algorithmic trading, backtesting, deployment on 100+ exchanges, and multiple optimization engines.

792 87 21
pynesys
opencode-pyneruntime

Pine Script-compatible Python runtime for indicators and strategies, validated against TradingView on real published scripts

784 229 67
mhallsmoore
qstrader

QuantStart.com - QSTrader backtesting simulation engine.

591 3K 928
MegaJoctan
strategytester5

A strategy tester for MetaTrader5 in Python language

557 39 20
praneetsah
deployquant

DQengine: the fastest event-driven backtester we know of for US stocks on bars. Python, LEAN-compatible. The engine behind DeployQuant.

550 1 0
GongJr0
neoportfolio

Portfolio Selection, Weight Optimization, and Backtesting with Sentiment analysis and ML return predictions. Automatic retrieval of popular indices' components.

523 1 2
praneetsah
deployquant-schwab

DQengine: the fastest event-driven backtester we know of for US stocks on bars. Python, LEAN-compatible. The engine behind DeployQuant.

522 1 0
praneetsah
deployquant-webull

DQengine: the fastest event-driven backtester we know of for US stocks on bars. Python, LEAN-compatible. The engine behind DeployQuant.

519 1 0
arbuzovv
zipfinam

Бэктест и алготорговля на Мосбирже через Финам. Котировки из Finam Trade API, календари MOEX и FORTS, заявки на ваш счёт без переписывания стратегии. Надстройка над ziplime.

358 3 1
akim-mukhtarov
backintime

Tool for testing trading strategies on historical data

320 0 0
polyorderbookslabs
polyorderbooks-backtest

Official Python backtesting library for PolyOrderbooks historical Polymarket order-book data.

303 0 0
nikkisora
polarbt

Blazingly fast strategy backtest with polars

279 13 2
slowpoke111
pybacktest

Simple Python Backtesting

225 4 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology