← Back to Skills Marketplace
ganyu21

stock trading agents

by ganyu21 · GitHub ↗ · v1.0.7 · MIT-0
cross-platform ⚠ suspicious
709
Downloads
1
Stars
6
Active Installs
8
Versions
Install in OpenClaw
/install trading-agents
Description
基于 AgentScope 的多智能体股票诊断系统。一键执行完整诊断流程,自动生成技术面、基本面、舆情面分析、研究员辩论、交易员决策、风控讨论及最终投资决策报告。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install trading-agents
  3. After installation, invoke the skill by name or use /trading-agents
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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报告到当前对话(钉钉自动上传)。 - 提供详细的参数说明、依赖要求、错误处理与使用示例。 - 支持实时日志展示与模块化分析流程追踪。
Metadata
Slug trading-agents
Version 1.0.7
License MIT-0
All-time Installs 6
Active Installs 6
Total Versions 8
Frequently Asked Questions

What is stock trading agents?

基于 AgentScope 的多智能体股票诊断系统。一键执行完整诊断流程,自动生成技术面、基本面、舆情面分析、研究员辩论、交易员决策、风控讨论及最终投资决策报告。 It is an AI Agent Skill for Claude Code / OpenClaw, with 709 downloads so far.

How do I install stock trading agents?

Run "/install trading-agents" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is stock trading agents free?

Yes, stock trading agents is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does stock trading agents support?

stock trading agents is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created stock trading agents?

It is built and maintained by ganyu21 (@ganyu21); the current version is v1.0.7.

💬 Comments