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 3 of 3

机器学习与深度学习模型时间序列预测包

Language
Python
Stars
117
Forks
3
Licence
GPL-3.0
Latest push
2026-05-03

Backtesting toolbox for trading strategies

Language
Python
Stars
116
Forks
48
Licence
Apache-2.0
Latest push
2024-01-11

Trade Algorithmically using Zerodha's API

Language
Python
Stars
108
Forks
25
Licence
BSD-4-Clause
Latest push
2023-09-26

Implementation of Trading Strategies for Backtesting in TradingView

Stars
105
Forks
28
Licence
MIT
Latest push
2023-10-29

PyTorch ML quant research: 213 factors, bias correction, portfolio optimization, backtesting, and System-One/Jev-style decisions.

Language
Python
Stars
104
Forks
39
Licence
MIT
Latest push
2026-11-02

Sub-microsecond bare-metal execution engine with deterministic replay, lock-free order path, and hardware-timestamped latency measurement.

Language
C++
Stars
104
Forks
21
Latest push
2026-05-07

A-share ETF rotation research and backtesting platform with walk-forward, vectorized, and event-driven validation.

Language
Python
Stars
103
Forks
27
Licence
MIT
Latest push
2026-10-05

Production multi-asset portfolio construction and rolling backtesting in Python

Language
Python
Stars
99
Forks
43
Licence
MIT
Latest push
2026-11-03

Python 开源量化框架: 覆盖“研究、回测、交易”全生命周期,构建从零到实盘的工业级量化闭环工作流。

Language
Python
Stars
95
Forks
47
Licence
MIT
Latest push
2026-07-19

SimTradeData is a utility library supporting SimTradeDesk, SimTradeLab and simtradeML with reliable, high-quality simulated trading data for model training, backtesting, and performance evaluation.

Language
Python
Stars
95
Forks
32
Licence
AGPL-3.0
Latest push
2026-11-04

High-performance limit order book engine with C++ core and Python SDK. Processes 20M+ msgs/sec with µs latency. Supports real crypto/equity data replay, spread/imbalance/impact analytics, and…

Language
C++
Stars
92
Forks
27
Latest push
2025-08-30

Demeter is a blockchain backtesting tool that supports trading types such as swaps, liquidity provider, lending, and options. It is compatible with markets including Uniswap, GMX, Aave, Deribit, and…

Language
Python
Stars
91
Forks
11
Licence
MIT
Latest push
2026-10-24

AI-powered SDK featuring algorithmic trading, backtesting, deployment on 100+ exchanges, and multiple optimization engines.

Language
Python
Stars
91
Forks
21
Latest push
2026-07-30

High performance, low-latency backtesting engine for testing quantitative trading strategies on historical and live data in Rust

Language
Rust
Stars
91
Forks
21
Licence
MIT
Latest push
2026-01-05

Some examples for Backtrader. Showcases for indicators, run backtests, get historical data for shares, live trading and more...

Language
Python
Stars
89
Forks
38
Latest push
2023-04-09

低代码的 A 股量化回测工具 · Low-code quant backtesting for China A-shares

Language
Python
Stars
89
Forks
8
Licence
GPL-3.0
Latest push
2026-11-05

An online quant system for backtest and trade.

Language
Python
Stars
87
Forks
34
Licence
Apache-2.0
Latest push
2026-06-08

AI agent skill (Claude Code / Codex) for deterministic K-line structure analysis of A-shares, HK & US stocks: triple-barrier risk plans, 15-day normal volatility range, no-lookahead backtest, JSON +…

Language
Python
Stars
87
Forks
0
Licence
Apache-2.0
Latest push
2026-11-02

The Self-Evolving Agent Ecosystem — Trading agents that evolve through Darwinian selection and adversarial self-play

Language
Python
Stars
84
Forks
5
Licence
MIT
Latest push
2026-04-13

Leveraged Futures Exchange for Simulated Trading

Language
Rust
Stars
83
Forks
21
Licence
AGPL-3.0
Latest push
2026-09-04

The toolbox for developing systematic trading strategies. It includes datasets and strategy ideas to assist in developing and backtesting trading algorithms.

Language
Python
Stars
83
Forks
16
Licence
MIT
Latest push
2026-11-04

gsoros / GTrader

Archived

a trading strategy trainer, back-tester and bot

Language
PHP
Stars
80
Forks
37
Licence
GPL-3.0
Latest push
2023-01-07

Holdings exposure, what-if scenarios, cost and capacity, backtest checks, and published research.

Language
Python
Stars
79
Forks
0
Licence
MIT
Latest push
2026-11-04

AI-powered backtesting framework for Claude Code - from idea to live trading in one workflow. 21 commands, 4 exchanges, macro data via MCP.

Language
Python
Stars
78
Forks
26
Licence
MIT
Latest push
2026-02-20

Backtesting engine written in Rust

Language
Rust
Stars
78
Forks
12
Licence
MIT
Latest push
2025-03-10

Practical financial data science examples applying statistics, time series analysis, graph analytics, backtesting, machine learning, natural language processing, neural networks and LLMs

Language
Jupyter Notebook
Stars
77
Forks
25
Licence
MIT
Latest push
2026-06-20

Free, open source trading terminal. Agentic IDE for Python strategies and backtests. LSE market data integrated; connects to other data providers and brokers.

Language
TypeScript
Stars
76
Forks
25
Licence
MIT
Latest push
2026-09-02

Automated Backtesting of Portfolios over Multiple Datasets

Language
HTML
Stars
76
Forks
16
Licence
GPL-3.0
Latest push
2026-05-18

An iteration research agent: searches academic research, applies it to time series data, and probes it to find novel discoveries.

Language
Python
Stars
75
Forks
8
Latest push
2026-06-21

MOEX API AlgoPack integration with Backtrader. На данных с биржи MOEX теперь можно создавать полноценные торговые стратегии. Проводить Backtesting и делать Live торговлю через брокеров Алор, Финам и…

Language
Python
Stars
75
Forks
35
Licence
MIT
Latest push
2024-01-31

Algorithmic trading and backtesting framework in pure julia

Language
Julia
Stars
68
Forks
7
Latest push
2023-10-29

All-in-one. Trading terminal with generic gateway implementation, tick backtester, charting, and performance evaluator for trading strategies.

Language
C#
Stars
65
Forks
15
Licence
MIT
Latest push
2026-10-11

🦞 AI 量化交易系统 — 37 因子选股 · 8 层风控 · 同花顺数据大屏 · 全自动盯盘

Language
Python
Stars
56
Forks
13
Latest push
2026-05-08

A quantitative trading strategy backtester with an interactive dashboard. Enables users to implement, test, and visualise trading strategies using historical market data, featuring customisable…

Language
Python
Stars
46
Forks
7
Latest push
2026-08-01

Open-source AI trading signal engine with a public, inspectable outcome ledger. Our own signals lose money on average after modeled costs — we publish every row anyway. Multi-timeframe TA…

Language
TypeScript
Stars
44
Forks
11
Licence
MIT
Latest push
2026-11-05

Agent skills for Machine Learning for Algorithmic Trading: leakage-safe quant ML, backtesting, validation, and autonomous research workflows.

Language
Python
Stars
39
Forks
13
Licence
Apache-2.0
Latest push
2026-11-04

Multi-market stock analysis, screening & backtesting plugin for AI agents — 39 tools + 20 strategy skills across A/HK/US/JP/KR/TW markets, works with Pi Agent, Hermes, OpenClaw & Deepseek Harness

Language
Python
Stars
38
Forks
11
Licence
MIT
Latest push
2026-11-03

stock-pairs-trading is a python library for backtest with stock pairs trading using kalman filter on Python 3.8 and above.

Language
Python
Stars
38
Forks
11
Licence
MIT
Latest push
2023-09-19

ANTA: Ultra-fast, zero-C technical analysis, WorldQuant alpha factors & vectorized backtesting library for Polars.

Language
Python
Stars
31
Forks
6
Licence
Apache-2.0
Latest push
2026-11-02

End-to-end RL trading framework with PPO agent, self-attention neural network, custom Gym environment, and advanced backtesting.

Language
Python
Stars
30
Forks
4
Licence
MIT
Latest push
2025-08-06

tiny backtester to backtest generated signals

Language
Python
Stars
30
Forks
2
Licence
MIT
Latest push
2022-03-06

Python backtesting engine built on NautilusTrader for end-to-end quant research: market data ingestion/validation, microstructure calibration, single-asset and stat-arb strategy creation…

Language
Python
Stars
21
Forks
7
Licence
MIT
Latest push
2026-07-22

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.