How the TradingAgents framework works
mainTradingAgents is a multi-agent LLM framework that simulates a real-world trading firm by decomposing complex trading tasks into specialized roles. The framework uses a collaborative process where different teams evaluate market conditions and engage in structured debates to reach optimal strategies.
Core Agent Roles:
- Analyst Team: Provides specialized market views.
Fundamentals Analyst: Evaluates financials and intrinsic value.Sentiment Analyst: Gauges market mood via news, StockTwits, and Reddit.News Analyst: Interprets macroeconomic indicators and global news.Technical Analyst: Uses indicators like MACD and RSI to forecast price movements.
- Researcher Team: Consists of bullish and bearish researchers who debate the Analyst Team's insights to balance potential gains against risks.
- Trader Agent: Synthesizes reports from analysts and researchers to decide the timing and magnitude of trades.
- Risk Management and Portfolio Manager: The Risk Management team assesses volatility and liquidity to adjust strategies, while the Portfolio Manager provides the final approval or rejection of transaction proposals before they are sent to the simulated exchange.