AlphaQuanter: An End-to-End Tool-Augmented Agentic Reinforcement Learning Framework for Stock Trading

—

AlphaQuanter: An End-to-End Tool-Augmented Agentic Reinforcement Learning Framework for Stock Trading

Zheye Deng
Weixiang Yan
Changlong Yu
Jiashu Wang
Published on 10/16/2025
Stocks
AI
LLM
Reinforcement learning
Stock picking
Machine learning

AlphaQuanter introduces a novel single-agent framework for stock trading that leverages reinforcement learning to optimize a tool-augmented decision-making process. Unlike existing multi-agent systems that suffer from inefficiency and inconsistent signals, AlphaQuanter uses a single LLM agent that iteratively reasons, acquires information via external tools (market data, fundamentals, sentiment, macroeconomics), and makes trading decisions (BUY/SELL/HOLD). The framework models the trading task as a Markov Decision Process and trains the agent using GRPO with a carefully designed reward function that combines outcome-based rewards (using exponentially weighted forward returns with asymmetric penalties) and process-based rewards (encouraging efficient tool use and proper reasoning format).

Extensive backtesting on five major stocks (GOOGL, META, MSFT, NVDA, TSLA) over a six-month test period demonstrates that AlphaQuanter achieves state-of-the-art performance, with the 7B variant reaching an average annualized return of 34.94%, Sharpe ratio of 0.65, and maximum drawdown of 24.93%. These results significantly outperform strong baselines including GPT-4o, multi-agent frameworks like TradingAgents, and traditional RL methods. The training dynamics reveal that the 7B model learns to selectively use tools and refine its reasoning, while the 3B model tends to converge prematurely. Human evaluation further confirms that AlphaQuanter produces more faithful and coherent decision traces, with better alignment between stated information needs and tool calls, stronger evidence grounding, and greater conciseness. The work highlights the importance of end-to-end RL training for enabling small LLMs to learn robust trading policies that surpass even larger zero-shot models.

Highlights

  • 1Proposes AlphaQuanter, a single-agent framework that uses reinforcement learning (RL) to learn a dynamic policy over a tool-augmented decision workflow for stock trading.
  • 2Introduces an end-to-end RL approach that trains the agent to actively acquire useful information and select supporting evidence, optimizing the entire decision-making process for long-term profitability.
  • 3Achieves state-of-the-art performance on key financial metrics, with AlphaQuanter-7B outperforming all baselines including GPT-4o and multi-agent frameworks.
  • 4Demonstrates improved decision-trace faithfulness, with RL-trained agents exhibiting coherent, evidence-grounded decision patterns as validated by human evaluation.
  • 5Shows that specialized training paradigms can be more critical than model scale for achieving state-of-the-art performance in automated trading systems.

Methods

  • M
    Reinforcement Learning with Group Relative Policy Optimization (GRPO) to optimize the LLM policy over a tool-augmented Markov Decision Process (MDP).
  • M
    Cognitive workflow inspired by ReAct, interleaving reasoning traces with tool calls for iterative information acquisition and decision-making.
  • M
    Reward formulation combining outcome score (exponentially weighted forward return with asymmetric penalties) and process score (format and tool-use efficiency).
  • M
    Backtesting protocol with portfolio state transition dynamics and evaluation using annualized return, Sharpe ratio, and maximum drawdown.

Results

  • R
    AlphaQuanter-7B achieves an average annualized return (ARR) of 34.94%, outperforming the best baseline (GPT-4o at 16.49%) by 18.45%.
  • R
    AlphaQuanter-7B achieves the highest Sharpe ratio (0.65) and lowest maximum drawdown (24.93%) among all methods.
  • R
    RL training significantly improves performance over prompt-only single-agent baselines (e.g., from 4.49% to 34.94% ARR for Qwen2.5-7B).
  • R
    Single-agent frameworks consistently outperform multi-agent frameworks across smaller LLM backbones, with multi-agent debate often degrading performance.
  • R
    Human evaluation shows AlphaQuanter achieves higher faithfulness scores (1.557 overall) compared to multi-agent (1.157) and prompt-only single-agent (1.293) approaches.
0/5

Analyze Paper

Generate insights from "AlphaQuanter: An End-to-End Tool-Augmented Agentic Reinforce...".

Suggested Actions