Optimized Python fork of Backtrader for strategy backtesting and live trading, with vectorized and event-driven modes, multi-timeframe data, technical indicators, and portfolio analytics.
Latest release v1.4.0 — Backtrader 1.4.0 · 19 Sept 2026
2 files for Codex, OpenCode and Claude Code: backtrader AGENTS.md, backtrader CLAUDE.md — 9,000 tokens loaded in every session.
AGENTS.md A 5,552 tok CLAUDE.md A 3,448 tok These files are cloudQuant/backtrader's own configuration — they tell Codex, OpenCode and Claude Code how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.