arXiv:2606.22385cs.AIcs.CE2026-06

让交易代理自动选策略,适应市场变化。

MetaPS: Adaptive Programmatic Strategy Selection for Market Agents

论文配图:MetaPS: Adaptive Programmatic Strategy Selection for Market Agents
图 1 · 摘自论文原文
  • 从代码化策略库中动态选择最优策略
  • 在模拟环境中训练后,0.8B到9B参数模型均表现更好
  • 适合需要可解释、可执行策略的量化交易场景

单一市场策略无法始终制胜:趋势、均值回归、风控和事件驱动规则在不同市场环境下表现各异。我们不直接让大语言模型生成交易动作,而是提出一种可执行决策范式,即代理从代码模块化的策略库中选择策略,每策略将市场观测映射为动作。我们提出MetaPS,一种基于仿真的自适应策略选择框架。MetaPS在仿真或回测市场中运行候选策略,识别出特定市场状态下某策略能带来更好未来收益的时机,并将其转化为监督微调数据。推理时不再查询仿真器:仅根据当前市场状态与策略上下文,选择合适策略程序并生成最终动作。多股票交易与受控商品交换沙盒实验表明,MetaPS在0.8B至9B参数规模下持续提升性能,优于固定策略基线、直接决策代理及提示调用API的LLM代理;部分紧凑微调模型甚至超越更强的API模型。结果表明,市场仿真可为学习自适应、可解释、可执行的策略选择提供可扩展且精准的监督信号。

原文摘要 · Abstract (English)

No single market strategy always wins: momentum, mean reversion, risk control,and event-driven rules can each succeed or fail as market conditions change.Rather than asking large language models to directly generate market actions,we study an executable decision paradigm where an agent selects from a library of programmatic strategies, each implemented as a code module mapping market observations to actions.We propose \textbf{MetaPS}, a simulation-guided framework for adaptive programmatic strategy selection. MetaPS rolls out candidate strategies in simulated or backtested markets, identifies states where particular strategies lead to better future outcomes, and converts these state--strategy pairs into supervised fine-tuning data. During inference, the simulator is no longer queried: MetaPS observes only the current market state and candidate strategy context, selects a suitable strategy program, and the selected program produces the final action. Experiments on multi-stock trading and a controlled goods-exchange sandbox show that MetaPS consistently improves across model scales from 0.8B to 9B parameters. It outperforms fixed-strategy baselines, direct decision-making agents, and prompted API-based LLM agents; in several settings, compact fine-tuned models even surpass stronger API models. These results demonstrate that market simulations can provide scalable and targeted supervision for learning adaptive, interpretable, and executable strategy selection.

策略选择量化交易仿真训练可执行模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。