← 返回 Skills 市场
ganyu21

stock trading agents

作者 ganyu21 · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ⚠ suspicious
709
总下载
1
收藏
6
当前安装
8
版本数
在 OpenClaw 中安装
/install trading-agents
功能描述
基于 AgentScope 的多智能体股票诊断系统。一键执行完整诊断流程,自动生成技术面、基本面、舆情面分析、研究员辩论、交易员决策、风控讨论及最终投资决策报告。
安全使用建议
This package appears to do what it says: it fetches market data (Tushare/AKShare), sends prompts and data to a remote LLM service (DashScope/Aliyun using the ALIYUN_BAILIAN_API_KEY), and writes reports to disk. Before installing: (1) Inspect scripts/config.py to confirm which environment variables are read and how LLM_API_KEY is assembled; (2) treat the provided API keys as sensitive — use keys with minimal privileges and do not reuse high-value platform keys; (3) expect network traffic to Tushare/AKShare endpoints and dashscope.aliyuncs.com; run the skill in an isolated environment or sandbox first; (4) note that setup.py will install many third‑party packages from PyPI — verify dependency versions if you have supply-chain concerns; (5) SKILL.md references BACKGROUND_RULES.md which isn't present in the manifest shown — check for any missing docs. If you need the skill to never send data outside your environment, do not provide the ALIYUN_BAILIAN_API_KEY or run it with a local/no-network configuration.
功能分析
Type: OpenClaw Skill Name: trading-agents Version: 1.0.7 The `trading-agents` skill bundle is classified as suspicious due to the presence of high-risk capabilities, specifically runtime shell execution and extensive network access. In `scripts/stock_advisor.py`, the system uses `subprocess.check_call` to execute `pip install fpdf2` if the library is missing, which constitutes an auto-installation of remote code at runtime. Additionally, the bundle performs extensive network operations, including fetching financial data from Tushare and AKShare APIs and sending diagnostic results to external DingTalk webhooks in `scripts/batch_diagnose.py`. While these behaviors are aligned with the stated purpose of a multi-agent stock analysis system, the use of shell commands for package management and outbound network calls to user-defined endpoints warrants a cautious classification under the provided security guidelines.
能力评估
Purpose & Capability
The name/description (multi-agent stock diagnosis) matches the code and SKILL.md: it fetches market data via Tushare/AKShare, runs multiple agent roles, and calls a remote LLM endpoint for analysis. Required items (TUSHARE_TOKEN, ALIYUN_BAILIAN_API_KEY) are appropriate for those tasks.
Instruction Scope
SKILL.md and the code instruct copying the package into OpenClaw and running Python entrypoints (advisor.diagnose, scripts/*.py). The runtime actions are data collection, LLM calls, report generation, and saving files — all within the stated purpose. I found no instructions to read unrelated system files or to exfiltrate secrets beyond sending prompts/results to the declared external services.
Install Mechanism
This is an instruction-and-code skill with a setup.py that declares many third-party dependencies (agentscope, tushare, akshare, openai, requests, etc.). There is no network download/install of arbitrary archives. The dependency list is broad but consistent with the functionality; note that installing will pull these packages from PyPI and run code locally.
Credentials
The skill declares two secrets: TUSHARE_TOKEN (market data) and ALIYUN_BAILIAN_API_KEY (LLM). Both are justified by the code. No unrelated credentials, config paths, or unexplained secrets are requested. Minor note: setup.py also includes 'openai' in install_requires while the code points LLM client to a DashScope/Aliyun base_url — this is likely harmless but worth checking in scripts/config.py how keys are mapped.
Persistence & Privilege
The skill does not request always:true and is user-invocable only. It writes reports to disk by design (MD/JSON/PDF) but does not request elevated or cross-skill configuration privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install trading-agents
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /trading-agents 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.7
trading-agents 1.0.7 - No file changes detected in this version. - Documentation (SKILL.md) content remains unchanged. - No new features, bug fixes, or updates are present in this release.
v1.0.6
**一键诊断体验升级:StockAdvisorSystem 现支持自动执行全流程并批量生成完整报告。** - 新增“一键全自动”模式,只需单次调用 diagnose() 即可自动完成分析师、研究员、交易员、风控、基金经理所有阶段,并输出全部报告(MD/JSON/PDF)。 - 文档全面升级,推荐主流程使用方法,强调 OpenClaw/命令行/后台运行支持,降低操作复杂度。 - 增加后台运行和进度保存说明,适应长时间诊断任务,防止超时丢失数据。 - 完善依赖与环境配置说明,便于快速上手与部署。 - 保留各角色智能体的分步用法,支持高级自定义调用。
v1.0.5
- 新增 skill.json 文件,规范化技能元数据。 - 其余功能和用法保持不变。
v1.0.4
Version 1.0.4 - Major project reorganization and simplification of the skill structure. - Added: `__init__.py`, `scripts/batch_diagnose.py`, `scripts/stock_advisor.py`, and `setup.py` to support modular import and simplified installation. - Removed: Legacy command-line scripts, standalone configuration file, and previous entrypoints (`README.md`, `analyze_and_send.sh`, `analyze_stock.py`, `config.py`, `scripts/agentscope_stock_advisor.py`). - Updated documentation: SKILL.md fully rewritten for improved readability, streamlined usage instructions, and enhanced OpenClaw and Python package installation guidance. - Clarified agent structure, workflow, and core configuration options.
v1.0.3
Version 1.0.3 of trading-agents - No file changes detected. - No user-facing updates or modifications in this release.
v1.0.2
Version 1.0.2 - 完善项目文档,详细梳理多智能体架构与工作流程,突出系统各类智能体的分工与协作机制。 - 增加环境配置(.env)、API密钥需求和依赖项说明,便于快速上手和部署。 - 更清晰地介绍了命令行和编程接口的用法,新增项目结构和输出文件规范说明。 - 丰富问题排障与高级自定义指南,包括智能体扩展、工具集成、常见故障排查。 - 强调数据源、配置参数及免责声明,指明系统仅供研究和教育用途。 - 更新了“快速开始”、“配置说明”和“示例工作流程”章节,文档内容更系统化和易读。
v1.0.1
- No code or documentation changes detected in this version. - Version number was updated to 1.0.1. - No impact to users or functionality.
v1.0.0
trading-agents v1.0.0 - 首次发布,支持A股股票深度分析,涵盖技术面、基本面、舆情面等7大模块。 - 自动生成包含图表和结构化数据的完整PDF分析报告及各模块Markdown文本。 - 新增 analyze_and_send.sh 脚本,支持分析完成后自动发送PDF报告到当前对话(钉钉自动上传)。 - 提供详细的参数说明、依赖要求、错误处理与使用示例。 - 支持实时日志展示与模块化分析流程追踪。
元数据
Slug trading-agents
版本 1.0.7
许可证 MIT-0
累计安装 6
当前安装数 6
历史版本数 8
常见问题

stock trading agents 是什么?

基于 AgentScope 的多智能体股票诊断系统。一键执行完整诊断流程,自动生成技术面、基本面、舆情面分析、研究员辩论、交易员决策、风控讨论及最终投资决策报告。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 709 次。

如何安装 stock trading agents?

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

stock trading agents 是免费的吗?

是的,stock trading agents 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

stock trading agents 支持哪些平台?

stock trading agents 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 stock trading agents?

由 ganyu21(@ganyu21)开发并维护,当前版本 v1.0.7。

💬 留言讨论