whchien/ai-trader

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

70
/ 100
Verified

Built on Backtrader with config-driven YAML workflows for reproducible backtests, it features seamless LLM integration via MCP (Model Context Protocol) server for AI assistants to autonomously run backtests and fetch data. Supports multiple asset classes—US/Taiwan stocks, crypto, forex—with SQLite persistent caching for fast repeated data access, and provides a Python API for custom strategy development alongside 20+ built-in strategies.

507 stars and 138 monthly downloads. Actively maintained with 9 commits in the last 30 days. Available on PyPI.

Maintenance 17 / 25
Adoption 15 / 25
Maturity 18 / 25
Community 20 / 25

How are scores calculated?

Stars

507

Forks

71

Language

Python

License

GPL-3.0

Last pushed

Feb 04, 2026

Monthly downloads

138

Commits (30d)

9

Dependencies

15

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/whchien/ai-trader"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.