Backtrader-Bench: Benchmarking LLM Agents on Algorithmic Trading with Self-Generated MCQs
On the map: LLM agents and tool use → Financial trading and forecasting agents
also in 1 more
Abstract (arXiv)
Evaluating LLM coding agents in algorithmic trading is difficult because static benchmarks risk data contamination and numerical backtest outputs require ground truth from actual code execution. We present Backtrader-Bench, a framework with two complementary pipelines. A deterministic multiple-choice question (MCQ) pipeline generates questions from backtest configurations across five trading strategies, 33 templates, and three difficulty tiers, with an independent checker that re-derives every answer. A generator-solver filtering pipeline autonomously mines harder questions: a generator writes questions verified by executable code, converts them to MCQs, and discards any that a no-tool solver can answer without code execution. We evaluate 11 models without tools (10 runs each) and four with-tools configurations on a 30-question curated set. Tool-augmented agents reach 90.0% accuracy in a single pass (GPT-5.5 and Opus 4.7), outperforming the best no-tools baselines (73.0%, averaged over 10 runs) by 17 percentage points. On 38 separately mined questions, no-tools accuracy drops further, with half the models falling to roughly random-chance level (25%). Beyond evaluation, the scalable MCQ infrastructure is designed to produce a training corpus for reinforcement learning, with the ultimate goal of building a specialized agent for quantitative trading workflows.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Financial trading and forecasting agents, one of 16 directions in LLM agents and tool use. Builds on 18 of its 25 references that are in the map. First posted on arXiv 31 Jul 2026.
Builds on
18 of 25 references.
Closest ancestors · 3
Same direction, newest first
- 2024TradingAgents: Multi-Agents LLM Financial Trading Framework28 Dec
- 2024INVESTORBENCH: A Benchmark for Financial Decision-Making Tasks with LLM-based Agent24 Dec
- 2024FinCon: A Synthesized LLM Multi-Agent System with Conceptual Verbal Reinforcement for Enhanced Financial Decision Making9 Jul
Other references · 15
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,748
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2023BloombergGPT: A Large Language Model for Financecited by 923
- 2023PIXIU: A Large Language Model, Instruction Data and Evaluation Benchmark for Financecited by 217
- 2024FinBen: A Holistic Financial Benchmark for Large Language Modelscited by 140
- 2024A Multimodal Foundation Agent for Financial Trading: Tool-Augmented, Diversified, and Generalistcited by 137
3 more
- 2020FinRL: A Deep Reinforcement Learning Library for Automated Stock Trading in Quantitative Financecited by 86
- 2025Advancing Financial Engineering with Foundation Models: Progress, Applications, and Challengescited by 4
- 2026QuantCode-Bench: A Benchmark for Evaluating the Ability of Large Language Models to Generate Executable Algorithmic Trading Strategiescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026BacktestBench: Benchmarking Large Language Models for Automated Quantitative Strategy Backtesting
- 2026QuantCode Model: Specializing Language Models for Executable Algorithmic Trading Code
- 2026Learning to Trade Like an Expert: Cognitive Fine-Tuning for Stable Financial Reasoning in Language Models
- 2026PredictionMarketBench: A SWE-bench-Style Framework for Backtesting Trading Agents on Prediction Markets
- 2025When Agents Trade: Live Multi-Market Trading Benchmark for LLM Agents
- 2026MoCA-Agent: A Market-of-Claims Code Agent for Financial and Numerical Reasoning
- 2025StockBench: Can LLM Agents Trade Stocks Profitably In Real-world Markets?
- 2025LiveTradeBench: Seeking Real-World Alpha with Large Language Models