ai-trader
An algorithmic trading backtesting framework based on Backtrader, supporting over 20 strategies, multiple markets, and MCP server.
- Type
- MCP
- Transport
- stdio
- Open source
- Yes
- GitHub Stars
- ★ 1.0k
- Source
- mcp-github
- Repository
- github.com/whchien/ai-trader
Overview
ai-trader is a professional, configuration-driven algorithmic trading backtesting framework built on Backtrader. It supports strategy testing, optimization, and integration across stock, cryptocurrency, and forex markets. The built-in MCP server enables AI assistants like Claude to run backtests, retrieve data, and analyze strategies. Suitable for professional traders and developers. Can be installed via pip or from source code, and quickly launched and configured using CLI tools.
Capabilities
- ▪Supports over 20 built-in trading strategies
- ▪Multi-market support (stocks, cryptocurrencies, forex)
- ▪Configuration-driven workflow
- ▪Seamless integration with large language models
- ▪Powerful CLI tools
- ▪Easy creation and testing of custom strategies
Use cases
Setup
pip install ai-trader or git clone https://github.com/whchien/ai-trader.git and install dependencies
This information was compiled by AI from public sources and may contain inaccuracies — please refer to the source.
FAQ
How do I get started with ai-trader?
After installation, run backtests using CLI commands such as `ai-trader run`.
Which markets are supported?
Supports U.S. stocks, Taiwan stocks, cryptocurrencies, and forex markets.
How do I integrate with an AI assistant?
Start the MCP server and configure Claude Desktop.
Related skills
xiaohongshu-mcp
Xiaohongshu MCP enables AI assistants to directly access and operate Xiaohongshu data.
internet-court-skill
Provides a trust layer for agent-to-agent transactions, including natural language authorization, ERC-7710 delegation permissions, x402 payments, escrow, and dispute resolution.
lenny-skills
86 product management skills extracted from Lenny's podcast, applicable to Claude Code and AI agents.
northcinder
An ad-free shopping assistant MCP software providing deterministic ranking and local audit tracking.
paperasse
AI agent skills tailored for the French bureaucratic system, covering accounting, notarization, taxation, and more.
Product-Manager-Skills
A practical, battle-tested product management skill framework designed for AI agents such as Claude Code, Cowork, and Codex.