English

Agent Trading Arena: A Study on Numerical Understanding in LLM-Based Agents

Machine Learning 2025-09-03 v2 Artificial Intelligence Computation and Language Multiagent Systems Statistical Finance

Abstract

Large language models (LLMs) have demonstrated remarkable capabilities in natural language tasks, yet their performance in dynamic, real-world financial environments remains underexplored. Existing approaches are limited to historical backtesting, where trading actions cannot influence market prices and agents train only on static data. To address this limitation, we present the Agent Trading Arena, a virtual zero-sum stock market in which LLM-based agents engage in competitive multi-agent trading and directly impact price dynamics. By simulating realistic bid-ask interactions, our platform enables training in scenarios that closely mirror live markets, thereby narrowing the gap between training and evaluation. Experiments reveal that LLMs struggle with numerical reasoning when given plain-text data, often overfitting to local patterns and recent values. In contrast, chart-based visualizations significantly enhance both numerical reasoning and trading performance. Furthermore, incorporating a reflection module yields additional improvements, especially with visual inputs. Evaluations on NASDAQ and CSI datasets demonstrate the superiority of our method, particularly under high volatility. All code and data are available at https://github.com/wekjsdvnm/Agent-Trading-Arena.

Keywords

Cite

@article{arxiv.2502.17967,
  title  = {Agent Trading Arena: A Study on Numerical Understanding in LLM-Based Agents},
  author = {Tianmi Ma and Jiawei Du and Wenxin Huang and Wenjie Wang and Liang Xie and Xian Zhong and Joey Tianyi Zhou},
  journal= {arXiv preprint arXiv:2502.17967},
  year   = {2025}
}
R2 v1 2026-06-28T21:56:56.730Z