Skip to content
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.

227K 9K 2K
pynesys
pynesys-pynecore

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

92K 286 86
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

19K 5K 981
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 可解释性与模型集成,贯穿回测到生产部署。)

7K 9 2
SLMolenaar
quantcore

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

3K 1 0
bbalouki
bbstrader

Simplified Investment & Trading Toolkit with Python & C++

2K 17 3
karanbh01
py-beacon-kit

End-to-end tool kit for index, ETF & Delta-1 derivatives development

2K 1 1
keel-trade
keel-trade

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

2K 2 0
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.

2K 356 72
smalinin
backtrader-next

Python Backtesting library for trading strategies

1K 50 10
Delta-F
deltafq

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

965 96 48
squidKid-deluxe
qtradex

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

902 92 21
nivolon
tradingkit-py

Async Python trading framework — Polars + ClickHouse, pluggable local/subprocess/remote/sandboxed execution, same strategy code for backtesting and live trading.

868 2 0
pynesys
pynecore

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

774 286 86
mhallsmoore
qstrader

QuantStart.com - QSTrader backtesting simulation engine.

629 3K 926
MegaJoctan
strategytester5

A Python-based MetaTrader strategy tester for the MetaTrader5 module

549 41 20
GongJr0
neoportfolio

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

445 1 2
nikkisora
polarbt

Blazingly fast strategy backtest with polars

396 13 2
akim-mukhtarov
backintime

Tool for testing trading strategies on historical data

341 0 0
spyderweb47
vibe-trade

AI-powered trading agent platform — skill-based architecture with planner, pattern detection, strategy backtesting, and multi-agent simulation debates.

321 21 5
pynesys
opencode-pyneruntime

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

297 286 86
arbuzovv
zipfinam

Бэктест и алготорговля на Мосбирже через Финам. Надстройка над ziplime.

242 5 1
TudorOrban
alpheast

An event-driven backtesting engine for trading strategies.

239 0 0
slowpoke111
pybacktest

Simple Python Backtesting

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