yangshun2005

TradingAgents Cn — AI skill for Claude Code

AI community

[中文化] TradingAgents: Multi-Agents LLM Financial Trading Framework.

How to install TradingAgents Cn

This entry records only its repository, not the path inside it, so there is no exact command to give. Open yangshun2005/TradingAgents-cn and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What TradingAgents Cn does

[中文化] TradingAgents: Multi-Agents LLM Financial Trading Framework.

Alternatives in AI

  • Opennews MCP — News Aggregation · AI Ratings · Trading Signals · Real-time Updates 2.1k ★
  • Vibe Astock — Vibe AStock:A 股短线复盘与跟踪工作台 · 盯盘异动、情绪复盘(连板天梯、题材轮动、明日验证)、AI 复盘与周报、交易日志、盘前提醒,182 个数据端点 679 ★
  • OpenMobius Skill — ICT/SMC trading-knowledge skill for AI coding agents (Claude Code / Codex / OpenClaw / Hermes) 660 ★

README

**[中文化] TradingAgents**

此项目是 [TauricResearch/TradingAgents](https://github.com/TauricResearch/TradingAgents) 的中文翻译版本。

  • 原项目 Stars: 116882
  • 主语言: Python
  • 许可证: Apache-2.0
  • 翻译日期: 2026-10-27
  • 原始 README: README_en.md

说明:下方 README 正文为**原项目文档的中文翻译**,力求忠于原文;本页顶部的「中文快速上手」为**面向中文用户的补充导读**(非原文内容),目的是让你不用读完整篇 README 就能先把项目跑起来。

如有翻译不准确之处,欢迎提 Issue 或 PR。


🚀 中文快速上手(补充导读,非原文)

这是什么 / 解决什么问题

TradingAgents 是一个多智能体(multi-agent)金融交易框架,用多个由 LLM 驱动的专门角色(基本面分析师、情绪专家、技术分析师、交易员、风险管理团队等)协作评估市场状况并给出交易决策,这些智能体之间还会进行动态讨论以确定策略。它面向的是希望用大模型模拟真实交易公司分工、研究或实验交易决策流程的用户。项目采用 Apache-2.0 许可证,主语言为 Python。

快速上手(最短路径)

  1. 确认 Python 版本 ≥ 3.11(见 pyproject.toml 的 requires-python)。
  2. 在仓库根目录安装项目及其依赖(requirements.txt 说明其内容等同于 pip install .):
    pip install .
  3. 如需 Amazon Bedrock 支持,改用可选依赖安装:
    pip install "tradingagents[bedrock]"
  4. 安装后会注册命令行入口 tradingagents(来自 pyproject.toml 的 [project.scripts]),运行:
    tradingagents
  5. 也可使用 Docker:仓库根目录提供 Dockerfile 与 docker-compose.yml,镜像入口为 tradingagents。具体启动命令原文未提供明确命令,请参考下方 README 正文。

注:材料中 README 正文在「TradingAgents Framework」介绍后即截断,未包含完整的 Installation & CLI 章节,因此更细的安装/配置步骤原文未说明。

环境要求

  • 操作系统:原文未明确列出支持的系统;Dockerfile 基于 python:3.13-slim(Debian 系 Linux)。
  • Python 版本:≥ 3.11(pyproject.toml);Docker 镜像内使用 Python 3.13。
  • 硬件:原文未说明。
  • 依赖:核心依赖包括 langchain-core、langchain-openai、langchain-anthropic、langchain-google-genai、langgraph、pandas、yfinance、typer、rich 等(详见 pyproject.toml);Bedrock 支持为可选依赖 langchain-aws。
  • 其他:需要配置 LLM 提供方的 API Key(材料提到 API-key auto-detection、TRADINGAGENTS_* 环境变量,但具体变量名原文未在给定片段中说明)。
  • 国内网络提示:依赖需从 PyPI 等源下载,国内用户可能需要更换镜像源或配置代理加速(材料提到项目支持 proxy,但具体配置原文未说明)。

常见坑与注意事项

  • 需要 LLM API Key:框架由 LLM 驱动,材料提到 API-key 自动检测与多提供方支持,使用前需准备好对应模型的密钥;具体配置方式原文未在给定片段中说明。
  • Python 版本门槛:要求 Python ≥ 3.11,低于此版本无法安装。
  • Bedrock 需额外安装:使用 Amazon Bedrock 必须安装 tradingagents[bedrock]