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.

439K 8K 972
mementum
backtrader

Python Backtesting library for trading strategies

303K 22K 5K
kernc
backtesting

🔎 📈 🐍 💰 Backtest trading strategies in Python.

189K 8K 1K
xLydianSoftware
qubx

Framework for quantitative strategies development, backtesting and live execution.

99K 68 15
Lumiwealth
lumibot

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

76K 2K 300
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.

75K 351 154
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

20K 4K 788
HKUDS
vibe-trading-ai

"Vibe-Trading: Your Personal Trading Agent"

14K 7K 1K
ricardofrantz
nanobook

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

12K 7 1
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

11K 4K 788
FLOX-Foundation
flox-py

Modular framework for building trading systems with polyglot strategy bindings and AI-friendly developer tools.

10K 202 38
hummingbot
hummingbot

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

9K 19K 5K
crypto-lake
lakeapi

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

9K 68 9
Drakkar-Software
octobot-backtesting

Library containing the backtesting engine for OctoBot

6K 7 18
smalinin
backtrader-next

Python Backtesting library for trading strategies

5K 36 7
radiusred
tradedesk

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

5K 4 2
tradingexpert
ordersim

Inspectable, deterministic Python execution simulator for replaying real order-book data

5K 0 0
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/

4K 1K 270
goldspanlabs
optopsy

A nimble options research and backtesting library for Python

4K 1K 202
polakowo
vectorbt-rust

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

4K 8K 972
PFund-Software-Ltd
pfund

An All-in-One Algo-Trading Framework: Backtest -> Train -> Trade -> Monitor. Machine / Deep Learning Ready. Supports All Trading: TradFi+CeFi+DeFi. Code Once, Trade Anywhere.

4K 64 9
VectorAlpha-dev
vector-ta

High-performance technical analysis library in Rust with 340+ indicators, SIMD/CUDA acceleration, and optional Python/WASM bindings.

4K 16 8
ArturSepp
optimalportfolios

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

3K 74 30
zvtvz
zvt

modular quant framework.

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