#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.
74 repositories total
Code for Machine Learning for Trading, 3rd edition โ from data sourcing to live execution.
Open source software that helps you create and deploy high-frequency crypto trading bots
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.
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.
Algorithmic trading and quantitative trading open source platform to develop trading robots (stock markets, forex, crypto, bitcoins, and options).
The research engine that gives you an unfair advantage. Run thousands of trading ideas before others finish one.
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.
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
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
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
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
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.
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.
Python library for portfolio optimization, factor model construction, and risk management built on scikit-learn
Open-source Rust framework for building event-driven live-trading & backtesting systems
Framework for quantitative trading. Complete framework for development, backtesting, and deploying automated trading algorithms and trading bots.
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.
Technical analysis library: indicators and candlestick patterns, batch and streaming, native in C, Rust, Java, C#... and more
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.
Machine Learning for Algorithmic Trading, Second Edition - published by Packt
Python for Algorithmic Trading Cookbook, published by Packt
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.
An Open Source Portfolio Backtesting Engine for Everyone | An Open Source Portfolio Backtesting Engine for Everyone
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.
HyperView is a terminal-first TradingView strategy lab for downloading market data, backtesting Python strategies with Pine-like behavior, and optimizing SL/TP parameters.
โจ Download historical and real-time price tick data for Crypto, Stocks, ETFs, CFDs, Forex via CLI and Node.js โจ
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.
Run Pine Scriptยฎ anywhere. PineTS is LuxAlgo's open-source Pine Scriptยฎ runtime for Node.js and the browser.
Free strategy scorecard for trading backtests. Detect overfitting, weak edge, drawdown risk, and random-timing luck from returns, equity curves, or trade logs.
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.
A Python async and event driven framework for algorithmic trading, with a focus on crypto currencies.
Frequently Asked Questions
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
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#.
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.