Topics / #backtesting
Backtesting projects on GitHub
Testing trading strategies against historical market data.
As of , the most-starred Backtesting projects on GitHub are TradingAgents (111.6K stars), daily_stock_analysis (66.5K stars) and ai-hedge-fund (64.1K stars). GitHub.Locker tracks 31 Backtesting repositories with 756.9K stars combined. The fastest-growing on October 16 was TradingAgents, with +155 stars in a day.
Hot right now
Most stars gained in a day · Oct 16
+155TradingAgents
TauricResearch/TradingAgents · ★ 111.6KTradingAgents is a multi-agent LLM framework that simulates a trading firm: specialized agents analyze fundamentals, sentiment, news, and technicals, bull/bear researchers debate the findings, and a trader plus risk/portfolio manager team decide whether to execute the trade.
+104nautilus_trader
nautechsystems/nautilus_trader · ★ 30.2KA production-grade algorithmic trading engine: a Rust-native event-driven core driven from Python. Backtesting and live trading share the same architecture and execution semantics, so strategies go from research to production without a rewrite.
+70CNEquity
rootSunc/CNEquity · ★ 571之后每天运行一次 cne run daily 保持更新。想要更长的历史,或了解 init 具体做了什么,见初始化指南。
+67awesome-quant
wilsonfreitas/awesome-quant · ★ 30.2KA curated list of libraries, packages and resources for quants - people doing quantitative finance: pricing, trading, backtesting, risk and market data.
The all-time top
31 projects · by stars
- 111.6K
#1 · TauricResearch/TradingAgentsTradingAgents
TradingAgents is a multi-agent LLM framework that simulates a trading firm: specialized agents analyze fundamentals, sentiment, news, and technicals, bull/bear researchers debate the findings, and a trader plus risk/portfolio manager team decide whether to execute the trade.
- 66.5K
#2 · ZhuLinsen/daily_stock_analysisdaily_stock_analysis
An AI-driven stock analysis system that pulls market data and news for A-share, Hong Kong, US, Japanese, Korean and Taiwanese stocks, then generates a daily AI decision report and pushes it to WeChat Work, Feishu, Telegram, Discord, Slack or email.
- 64.1K
#3 · virattt/ai-hedge-fundai-hedge-fund
An AI-powered hedge fund proof of concept that uses AI (LLM-driven 'alpha models') to make simulated trading decisions. It's explicitly for educational and research purposes, not real trading or investment.
- 4

freqtrade
55.5Kfreqtrade/freqtrade · PythonFreqtrade is a free, open-source crypto trading bot written in Python that automates buying and selling across major exchanges, controllable via Telegram or a built-in web UI.
- 5

qlib
49.4Kmicrosoft/qlib · PythonQlib is Microsoft's open-source, AI-oriented quantitative investment platform that covers the full quant research pipeline — data processing, model training, backtesting, and order execution — using supervised learning, market-dynamics modeling, and reinforcement learning.
- 6

vnpy
45.9Kvnpy/vnpy · PythonVeighNa (vnpy) is an open-source Python framework for building quantitative trading systems, used by hedge funds, brokerages, and futures companies in China.
- 7

Kronos
40.9Kshiyu-coder/Kronos · PythonKronos is an open-source foundation model for financial candlestick (K-line) data, pretrained on data from over 45 global exchanges to produce price/volume forecasts.
- 8

Vibe-Trading
35.7KHKUDS/Vibe-Trading · PythonVibe-Trading is a personal trading agent toolkit that gives an AI agent full trading capabilities in one command — market data, backtesting, a quant research library, and order execution across many brokers and markets.
- 9

nautilus_trader
30.2Knautechsystems/nautilus_trader · RustA production-grade algorithmic trading engine: a Rust-native event-driven core driven from Python. Backtesting and live trading share the same architecture and execution semantics, so strategies go from research to production without a rewrite.
- 10

awesome-quant
30.2Kwilsonfreitas/awesome-quant · HTMLA curated list of libraries, packages and resources for quants - people doing quantitative finance: pricing, trading, backtesting, risk and market data.
- 11

backtrader
23.5Kmementum/backtrader · Pythonbacktrader is a Python library for backtesting trading strategies: you write a strategy as code, run it against historical market data and measure how it would have performed before risking real money.
- 12
Lean
22KQuantConnect/Lean · C#LEAN is QuantConnect's open-source, event-driven algorithmic trading engine, written in C# with Python support. You use it to build, backtest and live-trade strategies, with alternative data support out of the box.
- 13

machine-learning-for-trading
21.4Kstefan-jansen/machine-learning-for-trading · Jupyter NotebookThe code repository for Machine Learning for Trading, 3rd Edition by Stefan Jansen: an end-to-end workflow for building, testing, and deploying ML-driven trading strategies, from data sourcing to live execution.
- 14
hummingbot
20.5Khummingbot/hummingbot · PythonAn open-source Python framework for building and deploying automated crypto trading bots across centralized and decentralized exchanges. Its users generated over $34 billion in volume across 140+ venues in the past year, and it is free under the Apache 2.0 license.
- 15

zipline
20.2Kquantopian/zipline · PythonZipline is a Pythonic algorithmic trading library — an event-driven system for backtesting trading strategies written in Python. It is used in production as the backtesting and live-trading engine behind Quantopian.
- 16

abu
18.9Kbbfamily/abu · PythonThis is 'abu' (阿布量化), an open-source Python framework for building, backtesting and running quantitative trading strategies across US/A-share/HK stocks, futures, options and cryptocurrencies like Bitcoin, using machine learning to optimize the strategies.
- 17

stock
14.8Kmyhhub/stock · PythonIt is a Python-based A-share stock quant system that scrapes daily stock and ETF data, computes technical indicators and chip (cost) distribution, recognizes 61 K-line patterns, runs multi-factor stock screening and strategies, backtests them, and can place automated trades, all viewable from a web UI on PC or mobile.
- 18

awesome-systematic-trading
14.8Kpaperswithbacktest/awesome-systematic-trading · PythonA curated list of resources for systematic (quantitative) trading: papers, libraries, packages, books, articles, videos, blogs and courses for finding, developing and running trading strategies.
- 19

QuantDinger
12.9KOpenByteInc/QuantDinger · PythonQuantDinger is an open-source, self-hosted AI Trading OS: it lets you research trading ideas with AI, write Python strategies on a Strategy API, backtest them server-side, and run paper or live trading across crypto exchanges and traditional brokers, with web, mobile, API, and MCP access.
- 20

QUANTAXIS
11.3Kyutiansut/QUANTAXIS · PythonQUANTAXIS is a local-first quantitative trading framework for China's stock, futures and options markets, covering data fetching, backtesting, paper trading, live trading, visualization and multi-account management, with support for distributed task scheduling.
- 21

quant-trading
11Kje-suis-tm/quant-trading · PythonThis is a Python repository of quantitative trading strategies — a collection of standalone scripts implementing technical indicators, pattern recognition, options strategies and statistical arbitrage for backtesting on historical market data.
- 22

StockSharp
10.9KStockSharp/StockSharp · C#StockSharp (S#) is a free, open-source platform for trading on any market worldwide - crypto exchanges, stocks, futures, options, forex, and Bitcoin - supporting both manual and algorithmic trading, including high-frequency strategies.
- 23

gekko
10.2Kaskmike/gekko · JavaScriptGekko is a Bitcoin trading and backtesting platform that connects to popular Bitcoin exchanges — a trading bot written in JavaScript that runs on Node.js.
- 24

tick-stock-panel
5.9Kshy3130/tick-stock-panel · PythonTSP is a self-hosted, zero-ops quantitative trading workbench for China's A-share stock market that combines stock screening, real-time anomaly monitoring, and strategy backtesting, with optional LLM-assisted analysis.
- 25

TradingView-API
5.6KMathieu2301/TradingView-API · TypeScriptA Node.js library that pulls real-time stock, crypto, and forex prices plus indicator values straight from TradingView, without needing an official API key.
- 26

anti-gambling-trader-tw
1.1Kmars-tw/anti-gambling-trader-tw · PythonA free, open-source Python tool that analyzes trading records (Taiwan stocks, US stocks, crypto, forex) to statistically test whether your profits are a repeatable edge or just luck plus survivorship bias, scans for scam language and fake performance claims, and can scaffold backtestable or paper-trading automation projects.
- 27

bytex
886BYTEX-TRADE/bytex · C#BYTEX is an open-source, event-driven algorithmic trading engine for .NET, written in C#. You write a trading strategy once and run the same code unchanged in backtesting, sandbox simulation, and live trading against real exchange accounts.
- 28

CNEquity
571rootSunc/CNEquity · Python之后每天运行一次 cne run daily 保持更新。想要更长的历史,或了解 init 具体做了什么,见初始化指南。
- 29

deepseek-harness-quant
248yuanwang589-dev/deepseek-harness-quant · PythonA natural-language-driven, low-frequency quantitative trading decision system for China's A-share market. It combines a subjective Pitch decision chain, a hardcoded factor engine, and strict data-based arbitration, with the AI forbidden from predicting individual stock moves.
- 30

bytex
212BYTEX-TRADE/bytex · C#BYTEX is an open-source, event-driven algorithmic trading engine for .NET written in C#. You write a trading strategy once and run the exact same code unchanged against historical data (backtest), live data with simulated fills (sandbox/paper), or real exchange accounts (live), with fixed-point money and adapters for major crypto exchanges.
- 31

EvoQuant
141CamusGIT/EvoQuant · PythonEvoQuant is a self-evolving AI research agent built specifically for quantitative investment research, automating the full loop from digesting research reports to running real factor experiments on market data.
Related topics
Often tagged together