← 返回 Skills 市场
seantjs

TradingAgents-CN 股票分析助手

作者 SeanTJS · GitHub ↗ · v1.2.1 · MIT-0
cross-platform ⚠ suspicious
144
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install tradingagents-cn-assistant
功能描述
多智能体大语言模型金融交易分析助手。基于 TradingAgents-CN 框架,使用多个专业AI分析师协作分析股票(A股/港股/美股),生成投资建议和专业报告。 触发场景: - 用户说"分析某只股票"、"帮我看看茅台"、"股票怎么样" - 用户说"股票分析"、"投资建议"、"股票研究报告" - 用户提到股票代码...
安全使用建议
Things to check before installing or running this skill: - Be aware the included scripts expect you to clone the upstream TradingAgents-CN repo into a local folder; the code hardcodes E:\/TradingAgents-CN which will fail on non‑Windows systems or if you choose a different path — inspect and adjust paths before running. - The skill metadata declares no required env vars, but the docs and scripts require multiple API keys (LLM providers and market data APIs). Only provide the minimum API keys you intend to use, and never commit your .env to git. - Running the scripts will send data (stock tickers, prompts, possibly snippets of reports) to third‑party LLM and data provider endpoints — do not include any private or sensitive information in prompts or configuration. - Because the skill is instruction-only and will instruct you to 'pip install -r requirements.txt', review requirements.txt and the cloned repository code before installing dependencies; run in an isolated environment (virtualenv/container) if possible. - The mismatches (no declared env vars, hardcoded path, vague 'AI will remember' note) suggest sloppy packaging rather than overt malice, but exercise caution: review the upstream TradingAgents-CN repository and the included scripts thoroughly before use. If you want, I can summarize the exact lines you should change (path and env handling) to make this safer and portable, or produce a checklist to run the scripts in a sandboxed environment.
功能分析
Type: OpenClaw Skill Name: tradingagents-cn-assistant Version: 1.2.1 The skill bundle acts as a wrapper for the external 'TradingAgents-CN' GitHub repository, requiring the agent to clone and execute code from a local directory. It contains hardcoded absolute paths ('E:/TradingAgents-CN') in 'scripts/analyze.py' and 'scripts/check_env.py', which is a high-risk practice that could lead to unauthorized file access or execution if the environment is misconfigured. While the functionality aligns with the stated financial analysis purpose, the reliance on external code execution and the lack of path abstraction are significant security vulnerabilities that could be exploited for remote code execution (RCE).
能力评估
Purpose & Capability
Name/description (multi‑agent stock analysis) matches the included scripts and documentation. However, the code hardcodes a Windows path (E:/TradingAgents-CN) and the SKILL.md uses a generic {PROJECT_DIR} placeholder — this mismatch is surprising and reduces portability. The skill's manifest declares no required env vars but the project clearly expects multiple LLM and data API keys.
Instruction Scope
SKILL.md instructs the agent/user to clone the upstream TradingAgents-CN repo, create a .env with API keys, and run python scripts — all expected for this purpose. A minor concern: the doc tells the AI to 'remember' the project path (persistent memory) and the scripts will load .env and call external LLM/data providers, which means user inputs and tickers will be sent to third‑party APIs. The instructions do not ask the agent to read unrelated system files, but they do rely on environment variables and local repo contents that are not declared in the skill metadata.
Install Mechanism
No install spec is present (instruction-only), so nothing is fetched automatically by the skill. The code recommends running 'pip install -r requirements.txt' which is normal for a Python project; the installer risk is left to the user and not automatic.
Credentials
The skill metadata lists no required environment variables, but SKILL.md, references/api-keys.md, check_env.py and analyze.py expect multiple API keys (DEEPSEEK_API_KEY, DASHSCOPE_API_KEY, OPENAI_API_KEY, GOOGLE_API_KEY, TUSHARE_TOKEN, FINNHUB_API_KEY, etc.) and even optional DB creds in examples. This mismatch (declared none vs required many) is a notable incoherence and increases the risk that secrets will be provided without the user realizing the skill needs them.
Persistence & Privilege
always:false and normal autonomous invocation settings. The only persistence-related text is a suggestion that the AI 'remember' the project path; the skill does not request system-wide config modifications or cross-skill privileges. No 'always:true' or other elevated flags are present.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install tradingagents-cn-assistant
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /tradingagents-cn-assistant 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.2.1
修复绝对路径问题:将所有硬编码的本地路径(E:\TradingAgents-CN)替换为通用占位符 {PROJECT_DIR},支持任意路径安装;新增首次使用配置引导说明
v1.2.0
补全完整9步多智能体分析流程:新增A股市场分析师、看涨/看跌研究员、激进/保守/中性风险分析师、风险管理总监、投资组合经理角色说明;完善各角色职责映射、输出报告标准格式、进度汇报规范
v1.1.0
v1.1.0: 移除绝对路径,改为自动发现项目目录;重命名为 tradingagents-cn-assistant
v1.0.0
v1.0.0 初始版本:多智能体股票分析框架,支持A股/港股/美股
元数据
Slug tradingagents-cn-assistant
版本 1.2.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

TradingAgents-CN 股票分析助手 是什么?

多智能体大语言模型金融交易分析助手。基于 TradingAgents-CN 框架,使用多个专业AI分析师协作分析股票(A股/港股/美股),生成投资建议和专业报告。 触发场景: - 用户说"分析某只股票"、"帮我看看茅台"、"股票怎么样" - 用户说"股票分析"、"投资建议"、"股票研究报告" - 用户提到股票代码... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 144 次。

如何安装 TradingAgents-CN 股票分析助手?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install tradingagents-cn-assistant」即可一键安装,无需额外配置。

TradingAgents-CN 股票分析助手 是免费的吗?

是的,TradingAgents-CN 股票分析助手 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

TradingAgents-CN 股票分析助手 支持哪些平台?

TradingAgents-CN 股票分析助手 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 TradingAgents-CN 股票分析助手?

由 SeanTJS(@seantjs)开发并维护,当前版本 v1.2.1。

💬 留言讨论