Git Stars Git Stars

#backtesting Repositories

Discover 73 active open source GitHub repositories tagged with #backtesting, accumulating 366,495 total stars (averaging 5,020 stars per project). Leading this topic is virattt/ai-hedge-fund with 64,789 stars.

73
Total Repositories
366,495
Total Stars
5,020
Avg Stars/Repo
1
virattt/ai-hedge-fund

An AI Hedge Fund Team

virattt
โญ 64,789 Python ๐Ÿ‘ค virattt User ๐Ÿ• Updated 2026-11-09 ๐Ÿ“… Created 2024-11-29
2
HKUDS/Vibe-Trading

"Vibe-Trading: Your Personal Trading Agent"

HKUDS
โญ 38,639 Python ๐Ÿ‘ค HKUDS Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2026-04-01
3
HKUDS/AI-Trader

"AI-Trader: 100% Fully-Automated Agent-Native Trading"

HKUDS
โญ 23,345 Python ๐Ÿ‘ค HKUDS Organization ๐Ÿ• Updated 2026-06-11 ๐Ÿ“… Created 2025-10-23
4
stefan-jansen/machine-learning-for-trading

Code for Machine Learning for Trading, 3rd edition โ€” from data sourcing to live execution.

stefan-jansen
โญ 21,929 Jupyter Notebook ๐Ÿ‘ค stefan-jansen User ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2018-05-09
5
hummingbot/hummingbot

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

hummingbot
โญ 21,327 Python ๐Ÿ‘ค hummingbot Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2019-04-02
6
mementum/backtrader

Python Backtesting library for trading strategies

mementum
โญ 19,931 Python ๐Ÿ‘ค mementum User ๐Ÿ• Updated 2024-08-19 ๐Ÿ“… Created 2015-01-10
7
myhhub/stock

stock stocks. Get stock data, calculate stock indicators, chip distribution, identify stock patterns, comprehensive stock selection, stock selection strategies, stock verification backtesting, automatic stock trading, supports PC and mobile devices.

myhhub
โญ 15,293 Python ๐Ÿ‘ค myhhub User ๐Ÿ• Updated 2026-04-02 ๐Ÿ“… Created 2023-03-21
8
OpenByteInc/QuantDinger

The most complete open-source, self-hosted Agentic Trading OSโ€”AI research, Python strategies, factor discovery, backtesting, optimization, paper/live multi-asset execution, risk controls, monitoring, MCP, and multi-tenant SaaS in one auditable stack.

OpenByteInc
โญ 13,895 Python ๐Ÿ‘ค OpenByteInc Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2025-12-28
9
StockSharp/StockSharp

Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).

StockSharp
โญ 11,143 C# ๐Ÿ‘ค StockSharp Organization ๐Ÿ• Updated 2026-11-19 ๐Ÿ“… Created 2014-12-08
10
polakowo/vectorbt

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

polakowo
โญ 9,903 Python ๐Ÿ‘ค polakowo User ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2017-11-14
11
kernc/backtesting.py

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

kernc
โญ 9,271 Python ๐Ÿ‘ค kernc User ๐Ÿ• Updated 2026-08-05 ๐Ÿ“… Created 2019-01-02
12
Jakeschincariol/day-trader-skill

11 Claude skills for day trading: scan thousands of charts, track breaking news, time every entry and exit, and replay every outcome before you risk a dollar.

Jakeschincariol
โญ 8,994 Python ๐Ÿ‘ค Jakeschincariol User ๐Ÿ• Updated 2026-10-20 ๐Ÿ“… Created 2026-10-20
13
ccxt/binance-trade-bot

Automated cryptocurrency trading bot

ccxt
โญ 8,678 Python ๐Ÿ‘ค ccxt Organization ๐Ÿ• Updated 2025-03-12 ๐Ÿ“… Created 2019-07-12
14
shy3130/tick-stock-panel

TSP: A self-hosted, zero-ops quantitative workstation for China A-shares, featuring strategy building, monitoring, and backtesting | LLM-powered strategy customization, individual stock analysis, and post-trade review | Freely connect third-party data sources and add custom data extensions | Open source for personal use

shy3130
โญ 8,132 Python ๐Ÿ‘ค shy3130 User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2026-06-18
15
Mathieu2301/TradingView-API

๐Ÿ“ˆ Get real-time stocks from TradingView

Mathieu2301
โญ 5,924 TypeScript ๐Ÿ‘ค Mathieu2301 User ๐Ÿ• Updated 2026-11-14 ๐Ÿ“… Created 2021-03-05
16
wangzhe3224/awesome-systematic-trading

A curated list of insanely awesome libraries, packages and resources for systematic trading. Crypto, Stock, Futures, Options, CFDs, FX, and more | Quantitative Trading | Quantitative Investing

wangzhe3224
โญ 5,410 HTML ๐Ÿ‘ค wangzhe3224 User ๐Ÿ• Updated 2026-11-03 ๐Ÿ“… Created 2021-12-11
17
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

nkaz001
โญ 5,124 Rust ๐Ÿ‘ค nkaz001 User ๐Ÿ• Updated 2025-12-23 ๐Ÿ“… Created 2022-08-25
18
zvtvz/zvt

modular quant framework.

zvtvz
โญ 4,338 Python ๐Ÿ‘ค zvtvz Organization ๐Ÿ• Updated 2026-07-01 ๐Ÿ“… Created 2019-04-04
19
fasiondog/hikyuu

An open-source, high-performance quantitative trading framework in C++/Python focused on strategy analysis and backtesting Trading model R&D ยท Ultra-fast engine ยท Efficient backtesting

fasiondog
โญ 3,733 C++ ๐Ÿ‘ค fasiondog User ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2012-07-18
20
edtechre/pybroker

Algorithmic Trading in Python with Machine Learning

edtechre
โญ 3,725 Python ๐Ÿ‘ค edtechre User ๐Ÿ• Updated 2026-11-16 ๐Ÿ“… Created 2023-01-16
21
pst-group/pysystemtrade

Systematic Trading in python

pst-group
โญ 3,638 Python ๐Ÿ‘ค pst-group Organization ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2015-11-27
22
hello245m/free-stockdb

A local quantitative engine for A-share daily K-line, minute K-line, and ETF minute data, integrating incremental synchronization, local caching, adjustment, batch query, backtesting, and indicator calculation.

hello245m
โญ 3,188 HTML ๐Ÿ‘ค hello245m User ๐Ÿ• Updated 2026-11-11 ๐Ÿ“… Created 2026-05-08
23
pmorissette/bt

bt - flexible backtesting for Python

pmorissette
โญ 3,045 Python ๐Ÿ‘ค pmorissette User ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2014-06-19
24
datawhalechina/whale-quant

This project is a quantitative open-source course that can help people quickly master quantitative finance knowledge and the ability to conduct quantitative development using Python.

datawhalechina
โญ 2,958 Jupyter Notebook ๐Ÿ‘ค datawhalechina Organization ๐Ÿ• Updated 2026-11-12 ๐Ÿ“… Created 2023-04-08
25
skfolio/skfolio

Python library for portfolio optimization, factor model construction, and risk management built on scikit-learn

skfolio
โญ 2,663 Python ๐Ÿ‘ค skfolio Organization ๐Ÿ• Updated 2026-11-20 ๐Ÿ“… Created 2023-12-14
26
barter-rs/barter-rs

Open-source Rust framework for building event-driven live-trading & backtesting systems

barter-rs
โญ 2,376 Rust ๐Ÿ‘ค barter-rs Organization ๐Ÿ• Updated 2026-08-24 ๐Ÿ“… Created 2022-10-09
27
coding-kitties/investing-algorithm-framework

Framework for quantitative trading. Complete framework for development, backtesting, and deploying automated trading algorithms and trading bots.

coding-kitties
โญ 2,252 Python ๐Ÿ‘ค coding-kitties Organization ๐Ÿ• Updated 2026-11-17 ๐Ÿ“… Created 2019-12-18
28
Lumiwealth/lumibot

Python trading framework with AI agents that actually place the trade. Backtest, paper and live trade on 12 brokers: stocks, options, futures, forex, crypto and prediction markets.

Lumiwealth
โญ 2,244 Python ๐Ÿ‘ค Lumiwealth Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2020-09-10
29
whittlem/pycryptobot

Python Crypto Bot (PyCryptoBot)

whittlem
โญ 2,061 Python ๐Ÿ‘ค whittlem User ๐Ÿ• Updated 2026-03-26 ๐Ÿ“… Created 2020-12-07
30
ScottfreeLLC/AlphaPy

Python AutoML for Trading Systems and Sports Betting

ScottfreeLLC
โญ 1,791 Python ๐Ÿ‘ค ScottfreeLLC Organization ๐Ÿ• Updated 2026-10-05 ๐Ÿ“… Created 2016-02-14
31
TA-Lib/ta-lib

Technical analysis library: indicators and candlestick patterns, batch and streaming, native in C, Rust, Java, C#... and more

TA-Lib
โญ 1,740 C ๐Ÿ‘ค TA-Lib Organization ๐Ÿ• Updated 2026-11-21 ๐Ÿ“… Created 2016-08-20
32
khscience/OSkhQuant

Kanhai Quant Backtesting Platform khQuant Open Source Edition V2.2: Free, open-source desktop software for quantitative backtesting of A-shares. No brokerage account or QMT installation required. Download data via BaoStock / Tushare to a local DuckDB database, write strategies in Python, and generate backtest reports with one click.

khscience
โญ 1,652 Python ๐Ÿ‘ค khscience User ๐Ÿ• Updated 2026-10-19 ๐Ÿ“… Created 2025-01-08
33
PacktPublishing/Machine-Learning-for-Algorithmic-Trading-Second-Edition_Original

Machine Learning for Algorithmic Trading, Second Edition - published by Packt

PacktPublishing
โญ 1,650 Jupyter Notebook ๐Ÿ‘ค PacktPublishing Organization ๐Ÿ• Updated 2026-04-22 ๐Ÿ“… Created 2019-11-15
34
goldspanlabs/optopsy

A nimble options research and backtesting library for Python

goldspanlabs
โญ 1,522 Python ๐Ÿ‘ค goldspanlabs Organization ๐Ÿ• Updated 2026-11-04 ๐Ÿ“… Created 2017-09-17
35
evan-kolberg/prediction-market-backtesting

An extension for Nautilus Trader

evan-kolberg
โญ 1,271 Python ๐Ÿ‘ค evan-kolberg User ๐Ÿ• Updated 2026-05-16 ๐Ÿ“… Created 2026-02-13
36
PacktPublishing/Python-for-Algorithmic-Trading-Cookbook

Python for Algorithmic Trading Cookbook, published by Packt

PacktPublishing
โญ 1,259 Jupyter Notebook ๐Ÿ‘ค PacktPublishing Organization ๐Ÿ• Updated 2026-03-02 ๐Ÿ“… Created 2023-06-05
37
facioquo/stock-indicators-dotnet

Stock Indicators for .NET is a C# NuGet package that transforms raw equity, commodity, forex, or cryptocurrency financial market price quotes into technical indicators and trading insights. You'll need this essential data in the investment tools that you're building for algorithmic trading, technical analysis, machine learning, or visual charting.

facioquo
โญ 1,253 C# ๐Ÿ‘ค facioquo Organization ๐Ÿ• Updated 2026-11-18 ๐Ÿ“… Created 2019-12-29
38
santoshlite/EigenLedger

An Open Source Portfolio Backtesting Engine for Everyone | An Open Source Portfolio Backtesting Engine for Everyone

santoshlite
โญ 1,081 Python ๐Ÿ‘ค santoshlite User ๐Ÿ• Updated 2025-09-14 ๐Ÿ“… Created 2021-03-08
39
rootSunc/CNEquity

Open-source local data lake for Chinaโ€™s stock market (A-shares): Shanghai and Shenzhen stock quotes, A-share stock data, and financial data for quantitative research, trading, and backtesting. Includes financial statements, futures data, fund flows, announcements, indices, sectors, and macroeconomic data. 86 datasets updated daily, with corporate-action-adjusted prices and historical constituents built in, row-level lineage, PIT, and native MCP support. No registration or token required; self-hosted. Open-source China stock market data lake for quantitative research, backtesting, and AI agents.

rootSunc
โญ 1,071 Python ๐Ÿ‘ค rootSunc User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2026-06-28
40
TreborNamor/TradingView-Machine-Learning-GUI

HyperView is a terminal-first TradingView strategy lab for downloading market data, backtesting Python strategies with Pine-like behavior, and optimizing SL/TP parameters.

TreborNamor
โญ 1,027 Python ๐Ÿ‘ค TreborNamor User ๐Ÿ• Updated 2026-08-18 ๐Ÿ“… Created 2021-01-27
โญ 1,021 JavaScript ๐Ÿ‘ค PandaAI-Tech User ๐Ÿ• Updated 2025-08-14 ๐Ÿ“… Created 2025-06-19
42
Leo4815162342/dukascopy-node

โœจ Download historical and real-time price tick data for Crypto, Stocks, ETFs, CFDs, Forex via CLI and Node.js โœจ

Leo4815162342
โญ 980 TypeScript ๐Ÿ‘ค Leo4815162342 User ๐Ÿ• Updated 2026-10-28 ๐Ÿ“… Created 2019-06-08
43
quarkfin/qf-lib

Modular Python library that provides an advanced event driven backtester and a set of high quality tools for quantitative finance. Integrated with various data vendors and brokers, supports Crypto, Stocks and Futures.

quarkfin
โญ 977 Python ๐Ÿ‘ค quarkfin Organization ๐Ÿ• Updated 2026-08-31 ๐Ÿ“… Created 2019-08-16
44
PacktPublishing/Learn-Algorithmic-Trading

Learn Algorithmic Trading, Published by Packt

PacktPublishing
โญ 974 Python ๐Ÿ‘ค PacktPublishing Organization ๐Ÿ• Updated 2026-03-02 ๐Ÿ“… Created 2019-12-13
45
LuxAlgo/PineTS

Run Pine Scriptยฎ anywhere. PineTS is LuxAlgo's open-source Pine Scriptยฎ runtime for Node.js and the browser.

LuxAlgo
โญ 965 TypeScript ๐Ÿ‘ค LuxAlgo Organization ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2025-01-30
46
Heerozh/spectre

GPU-accelerated Factors analysis library and Backtester

Heerozh
โญ 961 Python ๐Ÿ‘ค Heerozh User ๐Ÿ• Updated 2026-11-05 ๐Ÿ“… Created 2019-10-08
47
jianweiweng05/qsx-strategy-score

Free strategy scorecard for trading backtests. Detect overfitting, weak edge, drawdown risk, and random-timing luck from returns, equity curves, or trade logs.

jianweiweng05
โญ 932 Python ๐Ÿ‘ค jianweiweng05 User ๐Ÿ• Updated 2026-10-25 ๐Ÿ“… Created 2026-06-24
48
xingwudao/xquant-beginner

XQuant: Everyone Is a Quantitative Trader โ€” An introductory and self-study open-source book on quantitative trading: use AI and Python to go from zero to running strategy backtests, risk assessment, trade execution, and factor research.

xingwudao
โญ 899 TypeScript ๐Ÿ‘ค xingwudao User ๐Ÿ• Updated 2026-11-02 ๐Ÿ“… Created 2026-06-09
49
gbeced/basana

A Python async and event driven framework for algorithmic trading, with a focus on crypto currencies.

gbeced
โญ 879 Python ๐Ÿ‘ค gbeced User ๐Ÿ• Updated 2026-11-06 ๐Ÿ“… Created 2023-03-04
50
Marigold/universal-portfolios

Collection of algorithms for online portfolio selection

Marigold
โญ 870 Jupyter Notebook ๐Ÿ‘ค Marigold User ๐Ÿ• Updated 2026-11-13 ๐Ÿ“… Created 2014-02-22

Frequently Asked Questions

1

What is the most popular #backtesting repository on GitHub?

The top ranked open source #backtesting project on GitHub is virattt/ai-hedge-fund with 64,789 stars. An AI Hedge Fund Team

2

Which programming languages are most used in #backtesting repositories?

Among the top ranked #backtesting projects on GitHub, the most common programming languages are Python, Jupyter Notebook, TypeScript, C#.

3

How is the #backtesting repository ranking calculated?

We track 73 active open source repositories tagged with #backtesting (500+ stars), totaling 366,495 stars with an average of 5,020 stars per repository. Rankings update daily from the GitHub API.