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

Backtesting Python Packages

Python packages with the GitHub topic backtesting. Sorted by relevance, with stars and monthly downloads.
polakowo
vectorbt

The backtesting engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.

455K 8K 1K
mementum
backtrader

Python Backtesting library for trading strategies

337K 22K 5K
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

193K 9K 1K
Lumiwealth
lumibot

Backtestable AI trading agents and Python algorithmic trading strategies for stocks, options, crypto, futures, forex, SEC filings, FRED macro data, and real brokers.

80K 2K 334
wickra-lib
wickra

Streaming-first technical indicators with a Rust core and Python, Node.js, WebAssembly, C ABI, .NET, Go, Java, and R bindings. 514 indicators, O(1) per-tick updates, no system dependencies. Drop-in TA-Lib replacement.

68K 23 3
pkjmesra
pkscreener

A Python-based stock screener for NSE, India. PKScreener is an advanced free stock screener to find potential breakout stocks from NSE and show its possible breakout values. It also helps to find the stocks which are consolidating and may breakout, or the particular chart patterns that you're looking specifically to make your decisions.

52K 366 167
xLydianSoftware
qubx

Framework for quantitative strategies development, backtesting and live execution.

42K 68 16
HKUDS
vibe-trading-ai

"Vibe-Trading: Your Personal Trading Agent"

24K 18K 3K
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

14K 1K 209
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

14K 4K 822
hummingbot
hummingbot

Open source software that helps you create and deploy high-frequency crypto trading bots

12K 19K 5K
crypto-lake
lakeapi

Python API for accessing Lake high frequency tick trades & order book data

12K 73 10
Drakkar-Software
octobot-backtesting

Library containing the backtesting engine for OctoBot

12K 7 18
smalinin
backtrader-next

Python Backtesting library for trading strategies

9K 44 8
nkaz001
pm-hbtbacktest

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

6K 4K 822
usepancake
batter

The backtesting engine for prediction markets. Every run ships a verifiable, reproducible receipt.

6K 0 0
BoringQuantSystems
nanobook

Rust execution layer for Python trading strategies: deterministic LOB, portfolio backtests, pre-trade risk, and IBKR rebalancing.

6K 9 2
FLOX-Foundation
flox-py

AI-native framework for building trading systems with polyglot bindings.

6K 217 38
babyblueviper1
invinoveritas

The verification layer for autonomous agents — an independent, capital-aware verdict before an irreversible action (/review), a cryptographically signed proof after, and a public on-chain track record, losses included. Free EdgeProof backtest validation. Underneath: memory, sandboxed execution, marketplace. Pay in sats, USDC (x402), or card.

5K 3 1
mostlyrightmd
mostlyrightmd

Local-first Python + TypeScript SDK for public data — one interface for quants, ML pipelines, and AI agents. Adapters ship weather (METAR, ASOS, GHCNh, NWS CLI) + prediction-market settlements (Kalshi, Polymarket) today. SEC filings (EDGAR), Federal Reserve (FRED), court filings, FDA approvals, and equities structured data are next.

5K 4 1
bbalouki
bbstrader

Simplified Investment & Trading Toolkit with Python & C++

5K 13 3
zvtvz
zvt

modular quant framework.

5K 4K 999
mostlyrightmd
mostlyrightmd-weather

Local-first Python + TypeScript SDK for public data — one interface for quants, ML pipelines, and AI agents. Adapters ship weather (METAR, ASOS, GHCNh, NWS CLI) + prediction-market settlements (Kalshi, Polymarket) today. SEC filings (EDGAR), Federal Reserve (FRED), court filings, FDA approvals, and equities structured data are next.

4K 4 1
pineforge-4pass
pineforge-codegen

PineScript v6 → C++ transpiler (source-available, PolyForm Noncommercial). Targets the pineforge-engine runtime.

4K 3 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery