MetaPS: Adaptive Programmatic Strategy Selection for Market Agents
On the map: LLM agents and tool use → Financial trading and forecasting agents
Abstract (arXiv)
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 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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Financial trading and forecasting agents, one of 16 directions in LLM agents and tool use. Builds on 15 of its 37 references that are in the map. First posted on arXiv 21 Jun 2026.
Builds on
15 of 37 references.
Closest ancestors · 2
Same direction, newest first
- 2024TradingAgents: Multi-Agents LLM Financial Trading Framework28 Dec
- 2023FinMem: A Performance-Enhanced LLM Trading Agent with Layered Memory and Character Design23 Nov
Other references · 13
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,500
- 2021Decision Transformer: Reinforcement Learning via Sequence Modelingcited by 1,528
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2021Offline Reinforcement Learning as One Big Sequence Modeling Problemcited by 636
- 2017FeUdal Networks for Hierarchical Reinforcement Learningcited by 328
- 2024EASYTOOL: Enhancing LLM-based Agents with Concise Tool Instructioncited by 153
- 2020Deep Learning for Financial Applications : A Surveycited by 90
- 2024A Survey of Large Language Models for Financial Applications: Progress, Prospects and Challengescited by 86
- 2024A Survey of Large Language Models in Finance (FinLLMs)cited by 77
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025ATLAS: Adaptive Trading with LLM AgentS Through Dynamic Prompt Optimization and Multi-Agent Coordination
- 2026FinEvo: From Isolated Backtests to Ecological Market Games for Multi-Agent Financial Strategy Evolution
- 2026EvolveTrade: Experience-Driven Policy Refinement for Self-Evolving LLM Trading Agents
- 2026Agent Memory with Episodic Retrieval for Financial Decision-Making
- 2025To Trade or Not to Trade: An Agentic Approach to Estimating Market Risk Improves Trading Decisions
- 2025When AI Trading Agents Compete: Adverse Selection of Meta-Orders by Reinforcement Learning-Based Market Making
- 2026Competing at Every Price Point with Agentic Evolution over a Menu of LLMs
- 2026Agentic Trading: When LLM Agents Meet Financial Markets