TradingAgents
TauricResearch/TradingAgentsAI 已审核
用途
TradingAgents 是一个研究工具,多个 AI 代理扮演一家交易公司里的各种角色(分析师、研究员、交易员、风险经理),用价格、新闻、公司文件和社交媒体帖子来讨论一只股票或一种代币。最后输出一份书面报告和一个评级,交易只会发给模拟交易所。它还可以给过去的决策打分,并在一组日期上运行回测。README 说这是用于研究的,不构成投资建议。你需要 Python 3.11 以上版本、一些命令,以及一个 AI 模型:一个付费 API 密钥、登录一个 ChatGPT 套餐,或者一个本地的 Ollama 模型。
安装难易度
C · 需要安装 1–2 个工具 · Windows
- Windows C
- macOS C
- Linux C
Windows、Mac 和 Linux 上都是 C 级:15 个发行版里没有一个带安装程序,所以在每个系统上你都要安装 Python 3.11 或更新版本,下载代码,运行 `pip install .`,把 AI 密钥放进 `.env` 文件,然后在终端里启动 `tradingagents` 命令。Docker 是另一种可选方式。
GitHub 数据
- 星标
- 119,0622026年10月31日
- 下载量
- 2,130本周 1,035
- 增长
- +2,9585 天内新增星标
星标变化
事实
- 可运行于
- Windows, macOS, Linux
- 需要安装
- Python
- 从源码编译需要
- Python, Docker
- 磁盘空间
- 100 MB–300 MB · 估算
- 账号或密钥
- AI model provider of your choice (OpenAI, Anthropic, Google, DeepSeek, OpenRouter, Groq and others), Alpha Vantage (market data), FRED (US economic data, free key), TypeSafe Jev (social post screening)
- 费用
- 免费,API 另行收费 · 软件本身是免费的(Apache-2.0)。每次分析都会多次调用 AI 模型,通常意味着需要付费 API 密钥或 ChatGPT Plus/Pro 套餐;使用本地 Ollama 模型可以省下这笔钱。Docker 是运行它的一种可选方式。
- 许可证
- Apache-2.0 (宽松型)
- 最近更新
- 2026年10月27日
风险信号 (6)
- 信息不构成投资建议
README:"TradingAgents framework is designed for research purposes... It is not intended as financial, investment, or trading advice."
AI 审核
- 信息结果每次运行都会变化
README 的 "Reproducibility" 部分:"two runs of the same ticker and date can differ",以及 "Backtest results are not guaranteed to match any published figure... Treat the framework as a research scaffold... not as a strategy with a fixed, replicable return."
AI 审核
- 信息评级部分依赖社交媒体帖子
README:Sentiment Analyst "Aggregates news headlines, StockTwits, and Reddit chatter into a single sentiment read";如果没有可选的 TypeSafe 密钥,"posts pass through unscreened",所以任何人发关于某只股票的帖子都可能被带入分析。
AI 审核
- 信息启动时检查更新
README:"At start-up the interactive CLI mentions a newer release and notices from Tauric Research. It checks at most once a day... set TRADINGAGENTS_NO_UPDATE_CHECK=1 to turn it off."
AI 审核
- 信息保存账号登录信息
README:ChatGPT 套餐的登录信息 "is kept in ~/.tradingagents/chatgpt-auth.json, and tradingagents logout chatgpt revokes it."
AI 审核
- 信息向 sec 发送默认联系地址
README 的 "Fundamentals as filed" 部分:"SEC asks callers to identify themselves and refuses requests that carry no contact address, so a default one is sent",并要求你改用 `SEC_EDGAR_USER_AGENT` 设置你自己的姓名和邮箱。
AI 审核
证据以原始语言显示。
Radar 无法验证的内容
- 一次分析在 AI API 费用上要花多少钱,因为很多代理每次运行都会多次调用模型。
- 安装步骤是否能在 Windows 上照着文档原样运行;README 里给的是 Linux/macOS 的命令,比如 "source .venv/bin/activate" 和 "export"。
- 评级有多靠谱、能否重现;README 自己也说同一只股票跑两次结果可能不同。
- 像 Yahoo Finance 这样的免费数据源能否持续可用;README 提到过 Yahoo 的新闻源出现过中断。
- 一旦你传入自己的投资组合,~/.tradingagents 下的记忆日志和各个 ticker 的检查点数据库到底保存了关于它的什么内容。