Skip to content
FXMacroNews

The business of foreign exchange

Ecosystem directory

Backtesting frameworks GitHub Repositories

Frameworks for testing trading strategies on historical data.

1,763 repositories · facts retrieved 2026-11-05

146 repositories

Page 1 of 3

stock股票.获取股票数据,计算股票指标,筹码分布,识别股票形态,综合选股,选股策略,股票验证回测,股票自动交易,支持PC及移动设备。

Language
Python
Stars
14,986
Forks
3,065
Licence
Apache-2.0
Latest push
2026-04-02

🔎 📈 🐍 💰 Backtest trading strategies in Python.

Language
Python
Stars
9,195
Forks
1,575
Licence
AGPL-3.0
Latest push
2026-08-05

TSP自托管、零运维的 A 股「自建策略 + 监控 + 回测」量化工作台 | LLM能力驱使策略定制+个股分析+复盘 | 自由接入第三方数据源与个性化扩展数据 | 个人开源

Language
Python
Stars
7,082
Forks
1,708
Licence
MIT
Latest push
2026-11-04

A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities

Language
Python
Stars
6,854
Forks
1,801
Latest push
2026-10-28

Free, open-source crypto trading bot, automated bitcoin / cryptocurrency trading software, algorithmic trading bots. Visually design your crypto trading bot, leveraging an integrated charting…

Language
JavaScript
Stars
5,765
Forks
5,990
Licence
Apache-2.0
Latest push
2026-11-03

Automated Binance trading bot with pluggable strategies, historical backtesting, and a live dashboard

Language
TypeScript
Stars
5,596
Forks
1,162
Licence
Apache-2.0
Latest push
2026-11-05

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.

Language
Python
Stars
5,420
Forks
1,332
Licence
MIT
Latest push
2026-10-20

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…

Language
Rust
Stars
5,049
Forks
957
Licence
MIT
Latest push
2025-12-23

Python toolkit for quantitative finance: stock analysis, technical indicators, strategy backtesting, portfolio optimization, and financial modeling.

Language
Python
Stars
4,363
Forks
384
Licence
MIT
Latest push
2026-09-12

Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians)

Language
Python
Stars
3,825
Forks
523
Licence
Apache-2.0
Latest push
2026-04-16

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

Language
C++
Stars
3,687
Forks
861
Licence
Apache-2.0
Latest push
2026-11-05

QuantStart.com - QSTrader backtesting simulation engine.

Language
Python
Stars
3,487
Forks
925
Licence
MIT
Latest push
2024-06-30

面向 A 股日K、分钟K与ETF分钟数据的本地量化引擎,集成增量同步、本地缓存、复权、批量查询、回测与指标计算。

Language
HTML
Stars
3,126
Forks
471
Licence
MIT
Latest push
2026-10-12

Quantitative analysis, strategies and backtests

Language
Jupyter Notebook
Stars
3,058
Forks
582
Licence
MIT
Latest push
2023-08-26

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

Language
Rust
Stars
2,364
Forks
389
Licence
MIT
Latest push
2026-08-24

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

Language
Python
Stars
2,231
Forks
318
Licence
Apache-2.0
Latest push
2026-11-04

Trading and Backtesting environment for training reinforcement learning agent or simple rule base algo.

Language
Python
Stars
1,928
Forks
373
Licence
MIT
Latest push
2024-02-11

High-performance technical analysis indicators and backtesting framework in Go. Zero dependencies. ✨ See how! 👀

Language
Go
Stars
1,917
Forks
284
Licence
AGPL-3.0
Latest push
2026-09-14

fastquant — Backtest and optimize your ML trading strategies with only 3 lines of code!

Language
Jupyter Notebook
Stars
1,760
Forks
263
Licence
MIT
Latest push
2023-09-15

看海量化回测平台 khQuant 开源版 V2.2:免费开源的 A 股量化回测桌面软件。不用开户、不用装 QMT,BaoStock / Tushare 下载数据到本地 DuckDB,Python 写策略,一键出回测报告。

Language
Python
Stars
1,629
Forks
427
Latest push
2026-10-19

A nimble options research and backtesting library for Python

Language
Python
Stars
1,512
Forks
232
Licence
AGPL-3.0
Latest push
2026-11-04

Strategies to Gekko trading bot with backtests results and some useful tools.

Language
JavaScript
Stars
1,442
Forks
396
Latest push
2020-01-09

Portfolio optimization and back-testing.

Language
Python
Stars
1,317
Forks
309
Licence
GPL-3.0
Latest push
2026-04-27

A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.

Language
Python
Stars
1,278
Forks
298
Licence
GPL-3.0
Latest push
2025-05-04

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…

Language
Jupyter Notebook
Stars
1,245
Forks
269
Latest push
2020-09-05

Backtrader-powered backtesting framework for algorithmic trading, featuring 20+ strategies, multi-market support, CLI tools, and an integrated MCP server for professional traders.

Language
Python
Stars
1,132
Forks
144
Licence
GPL-3.0
Latest push
2026-03-28

An Open Source Portfolio Backtesting Engine for Everyone | 面向所有人的开源投资组合回测引擎

Language
Python
Stars
1,086
Forks
133
Licence
Apache-2.0
Latest push
2025-09-14

Scalable, event-driven, deep-learning-friendly backtesting library

Language
Python
Stars
1,036
Forks
257
Licence
LGPL-3.0
Latest push
2021-08-28

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

Language
Python
Stars
1,018
Forks
269
Licence
MIT
Latest push
2026-08-18

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…

Language
Python
Stars
975
Forks
138
Licence
Apache-2.0
Latest push
2026-08-31

开源中国股市(A股)本地数据湖:沪深股票行情、A股股票数据与金融数据,面向量化研究、量化交易与回测,含财务数据、期货数据、资金流向、公告、指数行业与宏观。55 个日更数据集,复权与历史成分内置,行级溯源、PIT,MCP 原生。免注册、免 Token,自托管。Open-source China stock market data lake for quant research…

Language
Python
Stars
954
Forks
105
Licence
Apache-2.0
Latest push
2026-11-03

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

Language
TypeScript
Stars
929
Forks
219
Licence
AGPL-3.0
Latest push
2026-11-04

《XQuant:人人都是量化交易员》量化交易入门与自学开源书:用 AI 和 Python 从零跑通策略回测、风险评估、交易执行和因子研究。

Language
TypeScript
Stars
877
Forks
177
Latest push
2026-11-02

Trading bot with support for realtime trading, backtesting, custom strategies and much more.

Language
Python
Stars
871
Forks
107
Licence
MIT
Latest push
2023-11-20

GPU-accelerated Factors analysis library and Backtester

Language
Python
Stars
830
Forks
133
Licence
GPL-3.0
Latest push
2026-11-05

Backtest and live trading in Python

Language
HTML
Stars
786
Forks
140
Licence
Apache-2.0
Latest push
2024-06-20

Python-based framework for backtesting trading strategies & analyzing financial markets [GUI:neckbeard:]

Language
Python
Stars
774
Forks
188
Licence
Apache-2.0
Latest push
2022-07-06

Stock market MCP server for Yahoo Finance data, technical analysis, portfolio tracking, and Python backtesting. Runs locally with no API key for core tools.

Language
Python
Stars
719
Forks
169
Licence
MIT
Latest push
2026-11-02

Multi-asset, multi-strategy, event-driven trading platform for running low to medium freq strategies at many venues simultaneously with portfolio-based risk management and %-per-strategy capital…

Language
Python
Stars
679
Forks
116
Licence
GPL-3.0
Latest push
2023-07-06

Performance analytics, portfolio backtesting, risk analysis, and factsheet reporting in Python

Language
Python
Stars
647
Forks
79
Licence
MIT
Latest push
2026-11-05

a light-weighted, integrated trading/backtesting system/platform(综合量化交易回测系统/平台)

Language
C++
Stars
608
Forks
176
Licence
Apache-2.0
Latest push
2026-07-04

Extremely fast quantitative factor cleaning and backtesting library, based on Polars

Language
Python
Stars
592
Forks
92
Licence
MIT
Latest push
2026-07-11

A Golang cryptocurrency trading API & Library. Support Binance, BitMEX, Deribit, Bybit, Huobi DM, OKEX Futures and more.

Language
Go
Stars
551
Forks
158
Licence
MIT
Latest push
2022-10-06

The Open-Source Backtesting Engine/ Trading Simulator by Bertram Enterprises.

Language
C#
Stars
539
Forks
118
Licence
AGPL-3.0
Latest push
2026-05-19

C++ interfaces used to communicate with Roq's market gateways.

Language
C++
Stars
517
Forks
111
Licence
MIT
Latest push
2026-10-16

Repository facts come from GitHub's public API and link to each project's own page. Figures are as GitHub reported them on 2026-11-05.

Repositories are selected by topic and activity on GitHub, with forks, duplicate copies and promotional projects left out. A listing is not an endorsement or a security review. Check a project's code, licence and maintainers before you use it. To correct or remove a listing, email info@fxmacrodata.com.