arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.12264cs.CL
收藏

市场-基准:评估大型语言模型在初级量化交易和市场动态中的表现

Market-Bench: Evaluating Large Language Models on Introductory Quantitative Trading and Market Dynamics

AfterQuery

Abhay Srivastava, Sam Jung, Spencer Mateega

AI总结:

MARKET-BENCH评估大型语言模型在初级量化交易任务中的表现,发现其在构建可执行回测程序方面有基本能力,但对价格、库存和风险的推理仍存在不足。

摘要:

我们介绍了MARKET-BENCH,这是一个评估大型语言模型(LLMs)在初级量化交易任务上的基准,通过要求它们从自然语言策略描述和市场假设中构建可执行的回测程序。每个实例指定三种经典策略之一:在微软(NASDAQ: MSFT)上的定时交易、在可口可乐(NASDAQ: KO)和百事(NASDAQ: PEP)上的套利交易,或在MSFT上的delta对冲。模型必须生成代码,其盈利和亏损(P和L)、回撤和持仓路径必须与可验证的参考实现匹配。我们使用多轮评估评估了十三种最先进的模型,该评估将结构可靠性(回测是否运行)与数值准确性(回测指标的平均绝对误差)分开,并为失败的输出分配了重复指标基线MAE。虽然大多数模型在最简单的策略上能够可靠地执行(平均可执行通过率为4.08次/5轮),但不同模型和任务之间的误差差异却相差几个数量级。Gemini 3 Pro和Claude 4.5 Sonnet在更简单的策略上结合了强大的可靠性和低误差。GPT-5.2在整体表现上取得了强劲的成绩,具有完美的可执行性。GPT-5.1 Codex-Max在最简单的任务上取得了最低的最佳运行误差。Qwen3 Max实现了完美的可执行性,但在某些情况下会产生不准确的盈利和亏损路径。这些结果表明,当前的LLMs可以搭建基本的交易基础设施,但仍难以对价格、库存和风险进行稳健的推理。我们发布了MARKET-BENCH和一个公开的排行榜,网址为https://marketbench.ai。

英文摘要:

We introduce MARKET-BENCH, a benchmark that evaluates large language models (LLMs) on introductory quantitative trading tasks by asking them to construct executable backtesters from natural language strategy descriptions and market assumptions. Each instance specifies one of three canonical strategies: scheduled trading on Microsoft (NASDAQ: MSFT), pairs trading on Coca-Cola (NASDAQ: KO) and Pepsi (NASDAQ: PEP), or delta hedging on MSFT. Models must produce code whose profit and loss (P and L), drawdown, and position paths match a verifiable reference implementation. We assess thirteen state-of-the-art models using a multi-round evaluation that separates structural reliability (whether the backtest runs) from numerical accuracy (mean absolute error of the backtest metrics), assigning failed outputs a duplicated-metrics baseline MAE. While most models reliably execute the simplest strategy (average executable passes of 4.08 out of 5 rounds), errors vary by orders of magnitude across models and tasks. Gemini 3 Pro and Claude 4.5 Sonnet combine strong reliability with low error on simpler strategies. GPT-5.2 achieves strong overall performance with perfect executability. GPT-5.1 Codex-Max achieves the lowest best-run error on the easiest task. Qwen3 Max attains perfect executability yet sometimes produces inaccurate profit and loss paths. These results show that current LLMs can scaffold basic trading infrastructure but still struggle to reason robustly about prices, inventory, and risk. We release MARKET-BENCH and a public leaderboard at https://marketbench.ai.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑