2025-10-03 · 专家 · 机器学习

StockBench: Can LLM Agents Trade Stocks Profitably In Real-world Markets?

本文提出了STOCKBENCH,一个用于评估大型语言模型(LLM)在现实股票交易环境中表现的新基准,并揭示了LLM在金融领域的挑战和机遇。

更新于 2025-10-03。作者:Yanxu Chen、Zijun Yao、Yantao Liu、Jin Ye、Jianing Yu、Lei Hou、Juanzi Li。

中文摘要

大型语言模型(LLMs)最近在作为自主代理方面展现出强大的能力,显示出在推理、工具使用和顺序决策方面的潜力。虽然之前的基准测试已经评估了LLM代理在软件工程和科学发现等领域的表现,但金融领域尽管与其直接相关的经济价值和高风险决策紧密相关,却仍然未被充分探索。现有的金融基准主要测试静态知识通过问答,但它们不足以捕捉交易动态和迭代的本质。为了填补这一空白,我们引入了StockBench,这是一个无污染的基准,旨在评估LLM代理在现实、多月的股票交易环境中的表现。代理将接收到每日市场信号——包括价格、基本面和新闻——并必须做出连续的买入、卖出或持有决策。性能评估使用金融指标,如累计回报、最大回撤和Sortino比率。我们对最先进的专有(例如,GPT-5、Claude-4)和开源(例如,Qwen3、Kimi-K2、GLM-4.5)模型进行了评估,结果显示,尽管大多数LLM代理难以超越简单的买入并持有基准,但几个模型显示出提供更高回报和管理风险更有效的潜力。这些发现突出了开发LLM驱动的金融代理所面临的挑战和机遇,表明在静态金融知识任务上表现出色并不一定意味着能够成功制定交易策略。我们将StockBench作为一个开源资源发布,以支持可重复性和推进该领域的未来研究。

英文摘要

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.

解读

一句话总结

本文提出了STOCKBENCH,一个用于评估大型语言模型(LLM)在现实股票交易环境中表现的新基准,并揭示了LLM在金融领域的挑战和机遇。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt