PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

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.

380K 7K 944
mementum
backtrader

Python Backtesting library for trading strategies

267K 21K 5K
kernc
backtesting

๐Ÿ”Ž ๐Ÿ“ˆ ๐Ÿ ๐Ÿ’ฐ Backtest trading strategies in Python.

199K 8K 1K
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.

110K 344 149
Lumiwealth
lumibot

Backtesting and Trading Bots Made Easy for Crypto, Stocks, Options, Futures, FOREX and more. Lumibot also makes it very easy to run and backtest agentic AI trading strategies in a safer way.

66K 1K 276
xLydianSoftware
qubx

Framework for quantitative strategies development, backtesting and live execution.

64K 68 15
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

13K 4K 780
HKUDS
vibe-trading-ai

"Vibe-Trading: Your Personal Trading Agent"

10K 5K 946
hummingbot
hummingbot

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

10K 18K 5K
crypto-lake
lakeapi

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

9K 66 9
Drakkar-Software
octobot-backtesting

OctoBot project backtesting engine

9K 8 18
ArturSepp
optimalportfolios

Implementation of optimisation analytics for constructing and backtesting optimal portfolios in Python

6K 73 28
VectorAlpha-dev
vector-ta

High-performance technical analysis indicators with optional SIMD/CUDA and language bindings.

6K 13 6
AlgoTraders
stock-analysis-engine

Backtest 1000s of minute-by-minute trading algorithms for training AI with automated pricing data from: IEX, Tradier and FinViz. Datasets and trading performance automatically published to S3 for building AI training datasets for teaching DNNs how to trade. Runs on Kubernetes and docker-compose. >150 million trading history rows generated from +5000 algorithms. Heads up: Yahoo's Finance API was disabled on 2019-01-03 https://developer.yahoo.com/yql/

6K 1K 269
smalinin
backtrader-next

Python Backtesting library for trading strategies

6K 28 7
Delta-F
deltafq

Python ๅผ€ๆบ้‡ๅŒ–ๆก†ๆžถ๏ผš ่ฆ†็›–โ€œ็ ”็ฉถใ€ๅ›žๆต‹ใ€ไบคๆ˜“โ€ๅ…จ็”Ÿๅ‘ฝๅ‘จๆœŸ๏ผŒๆž„ๅปบไปŽ้›ถๅˆฐๅฎž็›˜็š„ๅทฅไธš็บง้‡ๅŒ–้—ญ็Žฏๅทฅไฝœๆตใ€‚

5K 29 12
radiusred
tradedesk

Event-driven Python framework for backtesting and live trading strategies.

5K 2 0
ricardofrantz
nanobook

Rust-backed Python package for target-weight backtests, portfolio metrics, deterministic order-book simulation, and pre-trade risk checks

4K 3 0
zvtvz
zvt

modular quant framework.

3K 4K 983
wingfoil-io
wingfoil

Python bindings for the wingfoil Rust library

3K 152 19
agent-next
polymarket-paper-trader

Paper trading simulator for Polymarket โ€” built for AI agents. MCP server, live order books, strategy backtesting. Install: npx clawhub install polymarket-paper-trader

3K 282 34
polakowo
vectorbt-rust

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

3K 7K 944
bbalouki
bbstrader

Simplified Investment & Trading Toolkit with Python & C++

3K 13 3
ssantoshp
empyrial

An Open Source Portfolio Management Framework for Everyone ๆŠ•่ต„็ป„ๅˆ็ฎก็†

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