Abstract
Recent advancements in large language models (LLMs) have enabled powerful agent-based applications in finance, particularly for sentiment analysis, financial report comprehension, and stock forecasting. However, existing systems often lack inter-agent coordination, structured self-reflection, and access to high-quality, domain-specific post-training data such as data from trading activities including both market conditions and agent decisions. These data are crucial for agents to understand the market dynamics, improve the quality of decision-making and promote effective coordination. We introduce TradingGroup, a multi-agent trading system designed to address these limitations through a self-reflective architecture and an end-to-end data-synthesis pipeline. TradingGroup consists of specialized agents for news sentiment analysis, financial report interpretation, stock trend forecasting, trading style adaptation, and a trading decision making agent that merges all signals and style preferences to produce buy, sell or hold decisions. Specifically, we design self-reflection mechanisms for the stock forecasting, style, and decision-making agents to distill past successes and failures for similar reasoning in analogous future scenarios and a dynamic risk-management model to offer configurable dynamic stop-loss and take-profit mechanisms. In addition, TradingGroup embeds an automated data-synthesis and annotation pipeline that generates high-quality post-training data for further improving the agent performance through post-training. Our backtesting experiments across five real-world stock datasets demonstrate TradingGroup's superior performance over rule-based, machine learning, reinforcement learning, and existing LLM-based trading strategies.
Introduction
While Large Language Models (LLMs) excel at parsing textual financial data, their application in quantitative trading is hindered by static knowledge and a lack of effective feedback loops. Most AI traders are "book smart"—trained on historical facts—but lack the "street smarts" gained from actual market execution. TradingGroup addresses these hurdles by transforming LLMs into sophisticated quantitative traders through a specialized multi-agent architecture and a self-reflection loop that allows the system to learn from its own performance.
System Architecture
TradingGroup utilizes a framework of five specialized agents that coordinate to execute trades. This modular approach ensures that each aspect of market analysis—from sentiment to technical forecasting—is handled by a dedicated expert.
- News-Sentiment Agent: Filters and scores real-time news using a custom re-ranking formula.
- Financial-Report Agent: Extracts key indicators from quarterly and annual filings using an improved Retrieval-Augmented Generation (RAG) method.
- Stock-Forecasting Agent: Blends technical indicators (e.g., RSI, ATR) with sentiment and report outputs to predict trends.
- Style-Preference Agent: Dynamically adjusts the system's risk profile (aggressive, balanced, or conservative) based on account health.
- Trading-Decision Agent: The central coordinator that integrates all signals and risk-management constraints to execute Buy, Sell, or Hold actions.
To prevent common LLM pitfalls like over-optimism during market bubbles, the system implements a "Hybrid Gate." This mechanism uses hard technical rules to intercept and override agent decisions if they risk "chasing the top" of a volatile market.
Data-Synthesis and Self-Reflection
The core innovation of TradingGroup is its automated data-synthesis pipeline. The system evaluates every trade trajectory, labeling them as "good" or "bad" based on actual market outcomes. This process generates high-quality, domain-specific data that captures the reasoning process behind successful trades.
By utilizing Parameter-Efficient Fine-Tuning (PEFT) via LoRA, the system can distill the complex reasoning of large models into smaller, specialized "trader" models (such as Qwen3-8B). This allows the agents to refine their "thinking chains" over time, effectively learning from past successes and failures to improve future decision-making.
Experimental Results
The researchers evaluated TradingGroup using the FINSABER backtesting framework across five major stocks: Amazon (AMZN), Netflix (NFLX), Tesla (TSLA), Microsoft (MSFT), and Coinbase (COIN) from October 2022 to April 2023.
- Superior Returns: TradingGroup achieved a 40.46% cumulative return on AMZN, significantly outperforming the best baseline of 13.27%.
- Impact of Fine-Tuning: The PEFT-enhanced Qwen3-Trader-8B model saw its cumulative return on TSLA jump from 0.07% (base model) to 28.66%.
- Risk Management: The system maintained high Sharpe Ratios, proving that its gains were achieved through calculated strategy rather than reckless risk-taking. The ability to switch styles (e.g., moving to "conservative" during high volatility) was critical in reducing Maximum Drawdown (MDD).
Conclusion and Future Work
TradingGroup demonstrates that fine-tuning models on process data—how a decision was reached and its subsequent outcome—is more effective for trading than simply increasing general financial knowledge. Future work will focus on increasing labeling granularity and exploring advanced reinforcement learning techniques like Group Relative Policy Optimization (GRPO) to further sharpen agent coordination and decision quality.
Summary updated