Abstract
Large language models (LLMs) have recently demonstrated strong capabilities as autonomous agents, showing promise in reasoning, tool use, and sequential decision-making. While prior benchmarks have evaluated LLM agents in domains such as software engineering and scientific discovery, the finance domain remains underexplored, despite its direct relevance to economic value and high-stakes decision-making. Existing financial benchmarks primarily test static knowledge through question answering, but they fall short of capturing the dynamic and iterative nature of trading. To address this gap, we introduce StockBench, a contamination-free benchmark designed to evaluate LLM agents in realistic, multi-month stock trading environments. Agents receive daily market signals -- including prices, fundamentals, and news -- and must make sequential buy, sell, or hold decisions. Performance is assessed using financial metrics such as cumulative return, maximum drawdown, and the Sortino ratio. Our evaluation of state-of-the-art proprietary (e.g., GPT-5, Claude-4) and open-weight (e.g., Qwen3, Kimi-K2, GLM-4.5) models shows that while most LLM agents struggle to outperform the simple buy-and-hold baseline, several models demonstrate the potential to deliver higher returns and manage risk more effectively. These findings highlight both the challenges and opportunities in developing LLM-powered financial agents, showing that excelling at static financial knowledge tasks does not necessarily translate into successful trading strategies. We release StockBench as an open-source resource to support reproducibility and advance future research in this domain.
Abstract (translated)
最近,大型语言模型(LLMs)作为自主代理展示了强大的能力,在推理、工具使用和顺序决策方面表现出巨大潜力。尽管先前的基准测试已经在软件工程和科学发现等领域评估了LLM代理的能力,但在金融领域仍然存在研究不足的问题,尽管该领域的动态直接关系到经济价值和高风险决策。现有的金融基准主要通过问答形式来测试静态知识,但它们未能捕捉交易中的动态性和迭代性。为了解决这一空白,我们引入了StockBench,这是一个无污染的基准平台,旨在评估LLM代理在现实世界中长达数月的股票交易环境下的表现。 代理每天接收市场信号(包括价格、基本面和新闻),并需作出顺序买入、卖出或持有的决策。性能通过金融指标进行衡量,如累计回报率、最大回撤幅度以及索提诺比率。我们对最先进的专有模型(例如GPT-5、Claude-4)和开源权重模型(例如Qwen3、Kimi-K2、GLM-4.5)进行了评估,发现大多数LLM代理在与简单的买入并持有策略相比时难以胜出,但有几个模型展现出能够实现更高回报及更有效风险管理的潜力。这些研究结果强调了开发以LLM为动力的金融代理面临的挑战和机会,表明成功完成静态财务知识任务并不能保证交易策略的成功。 我们开放发布StockBench作为开源资源,以便支持可重复性并促进该领域的未来研究。
URL
https://arxiv.org/abs/2510.02209