whchien/ai-trader
Algorithmic trading backtesting framework with a built-in MCP server enabling AI assistants to run backtests and analyze strategies.

This is a config-driven backtesting framework for algorithmic trading built on Backtrader. It provides over 20 built-in trading strategies, multi-market support across stocks, crypto, and forex, and a rich CLI for running backtests and fetching market data. The project includes a built-in MCP server that allows AI assistants like Claude to interact with the system—running backtests, fetching data, and analyzing strategies programmatically. It targets professional traders and developers wanting to integrate LLM-powered analysis into quantitative workflows.