TradingAgents is a multi-agent trading framework that simulates the dynamic structure of real-world trading firms. By deploying a team of specialized agents powered by large language models—including fundamental analysts, sentiment experts, technical analysts, traders, and risk management teams—the platform enhances trading decisions through collaborative evaluation.
Developed by Tauric Research, this project is dedicated to redefining trading intelligence through AI, leveraging large language models, advanced reasoning, and autonomous agents to elevate trading excellence.
TradingAgents employs seven distinct roles: fundamental analyst, sentiment analyst, news analyst, technical analyst, researcher, trader, and risk manager. Each agent is equipped with specialized tools and constraints tailored to its function.
The research team critically evaluates analyst data through a dialectical process involving bullish and bearish viewpoints. This debate ensures balanced analysis, identifying opportunities and risks to formulate trading strategies.
Trading agents execute decisions based on comprehensive analysis. They assess insights from analysts and researchers, determine optimal trading actions, and balance returns and risks in dynamic market environments.
The risk management team oversees the company's market risk exposure, ensuring trading activities remain within predefined limits, thereby ensuring financial stability and protecting assets through effective risk control.
All agents use the ReAct prompting framework, facilitating collaborative and dynamic decision-making processes, mirroring real-world trading systems.
TradingAgents employs a structured protocol, combining clear structured outputs with natural language dialogue. This approach minimizes information loss and maintains context in long-term interactions.
LLMs are selected based on task requirements, using fast-thinking models for data retrieval and deep-thinking models for in-depth analysis and decision-making.
Category | Model | AAPL | GOOGL | AMZN | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
CR%↑ | ARR%↑ | SR↑ | MDD%↓ | CR%↑ | ARR%↑ | SR↑ | MDD%↓ | CR%↑ | ARR%↑ | SR↑ | MDD%↓ | ||
Market | B&H | -5.23 | -5.09 | -1.29 | 11.90 | 7.78 | 8.09 | 1.35 | 13.04 | 17.1 | 17.6 | 3.53 | 3.80 |
Ours | TradingAgents | 26.62 | 30.5 | 8.21 | 0.91 | 24.36 | 27.58 | 6.39 | 1.69 | 23.21 | 24.90 | 5.60 | 2.11 |
Note: CR=Cumulative Return, ARR=Annualized Rate of Return, SR=Sharpe Ratio, MDD=Maximum Drawdown
TradingAgents/
├── tradingagents/
│ ├── agents/
│ │ ├── analysts/ # Analyst Agents
│ │ ├── researchers/ # Researcher Agents
│ │ ├── traders/ # Trader Agents
│ │ └── risk_managers/ # Risk Management Agents
│ ├── tools/ # Agent Tools
│ ├── communication/ # Communication Protocols
│ └── environment/ # Trading Environment
TradingAgents represents a significant advancement in AI-driven financial trading, achieving substantial performance improvements through multi-agent collaboration and structured communication. The framework not only surpasses traditional methods in returns but, more importantly, provides a transparent and explainable decision-making process, which is crucial for practical financial applications.