TradingAgents

TradingAgents: Multi-Agents LLM Financial Trading Framework

open-sourceagent-frameworks
44.9k
Stars
+15713
Stars/month
4
Releases (6m)

Star Growth

+2.7k (6.3%)
41.9k44.1k46.4kMar 27Apr 1

Overview

TradingAgents 是一个基于大型语言模型的多智能体金融交易框架,由 TauricResearch 开发。该框架集成了多个主流 LLM 提供商,包括 GPT-5.x、Gemini 3.x、Claude 4.x 和 Grok 4.x,旨在通过多智能体协作实现自动化金融交易决策。框架采用先进的多智能体架构,支持跨平台稳定运行,并提供五级评级系统用于交易决策评估。TradingAgents 不仅是一个实用的交易工具,更是金融科技领域的研究平台,其技术成果已发表在学术期刊上(arXiv:2412.20138)。该项目在 GitHub 上获得了超过 42,000 颗星的关注,显示了其在开发者社区中的广泛认可。框架支持 OpenAI Responses API 和 Anthropic 的努力控制机制,为用户提供了灵活的模型选择和控制选项。随着 v0.2.2 版本的发布,TradingAgents 进一步增强了其模型覆盖范围和系统稳定性。

Deep Analysis

Key Differentiator

Unlike general agent frameworks (CrewAI, AutoGen), TradingAgents is the only open-source framework that replicates a complete trading firm structure with specialized analyst teams, bull/bear researcher debates, and risk management approval workflows — purpose-built for financial market analysis.

Capabilities

  • Multi-agent trading framework mirroring real-world trading firm structure with specialized analyst/researcher/trader/risk-manager roles
  • Four analyst types: Fundamentals, Sentiment, News, and Technical, each using domain-specific data and indicators
  • Bull vs. bear researcher debate system for balanced risk assessment
  • Risk management team with portfolio manager approval/rejection workflow
  • Multi-LLM provider support: OpenAI, Google, Anthropic, xAI, OpenRouter, and Ollama
  • Interactive CLI with ticker selection, analysis date, and configurable research depth

🔗 Integrations

OpenAIGoogle GeminiAnthropic ClaudexAI GrokOpenRouterOllamaAlpha Vantage

Best For

  • Financial researchers exploring LLM-powered multi-agent trading analysis
  • Quantitative analysts wanting to augment traditional analysis with AI agent debate systems

Not Ideal For

  • Live automated trading execution — use dedicated algo-trading platforms like Zipline or QuantConnect
  • General-purpose agent building — use LangChain, CrewAI, or Mastra instead

Languages

Python

Deployment

pip install (local)CLI

Pricing Detail

Free: Fully open-source
Paid: N/A (bring your own API keys + Alpha Vantage)

Known Limitations

  • Research-only framework — explicitly not financial advice; trading performance varies
  • Requires multiple API keys (LLM + Alpha Vantage for financial data)
  • Multi-agent debate rounds are LLM-intensive and can be expensive per analysis
  • No live trading execution — produces decisions/recommendations only

Pros

  • + 支持多个主流 LLM 提供商(GPT-5.x、Gemini 3.x、Claude 4.x、Grok 4.x),提供灵活的模型选择
  • + 采用多智能体架构设计,能够通过智能体协作实现更复杂的交易决策
  • + 具备学术研究背景,已发表相关技术报告,确保了方法的科学性和可信度

Cons

  • - 作为金融交易工具,存在投资风险,需要用户具备相应的金融知识和风险承受能力
  • - README 内容不完整,缺乏详细的技术文档和使用说明
  • - 多智能体系统可能增加系统复杂性,对新用户来说学习成本较高

Use Cases

  • 量化交易研究者使用多 LLM 模型进行交易策略开发和回测
  • 金融科技公司构建基于 AI 的自动化交易系统和决策支持工具
  • 学术机构开展多智能体金融应用研究和算法验证实验

Getting Started

从 GitHub 克隆 TauricResearch/TradingAgents 仓库;根据项目文档配置所需的 LLM API 密钥(GPT、Gemini、Claude 或 Grok);运行初始化脚本启动多智能体交易框架并开始策略测试

Compare TradingAgents