← 返回 Skills 市场
wang-junjian

Stock Data Collector

作者 军舰 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
571
总下载
0
收藏
6
当前安装
2
版本数
在 OpenClaw 中安装
/install stock-data-collector
功能描述
采集A股和港股指定股票的历史数据。支持多股票批量采集、多种时间周期(日线/周线/月线/分钟线)、数据导出为CSV格式。使用场景:(1) "采集贵州茅台和腾讯的历史数据",(2) "批量采集我的自选股",(3) "获取某只股票的所有历史数据"。
安全使用建议
This skill is internally consistent and implements local CSV export using akshare and yfinance. Before running: (1) install dependencies in a virtualenv (pip install akshare yfinance pandas); (2) be aware the scripts make network calls to data providers (akshare/yfinance) — ensure you are comfortable with those libraries and their network access; (3) test on a small sample to confirm minute-level data behaviour (there is a mismatch: batch mode limits periods to daily/weekly/monthly); (4) run in an isolated environment if you want to limit risk from third‑party packages. No credentials are required and the scripts only write files to the local output directory.
功能分析
Type: OpenClaw Skill Name: stock-data-collector Version: 1.0.1 The skill bundle is a legitimate tool for collecting historical stock data for A-shares and HK-shares. The Python scripts (fetch_stock.py and batch_fetch.py) use standard financial data libraries like akshare and yfinance to retrieve data and save it locally as CSV files. There is no evidence of malicious intent, data exfiltration, or prompt injection in the code or documentation.
能力评估
Purpose & Capability
Name/description describe historical stock data collection; included scripts implement fetching via akshare and yfinance and exporting CSVs. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
The SKILL.md and scripts largely align (instructions call the included scripts). Small inconsistency: SKILL.md and fetch_stock.py mention minute-level intervals, but batch_fetch.py restricts period choices to daily/weekly/monthly and the A‑market fetching logic only maps daily/weekly/monthly — minute-level collection is not implemented for A shares in batch mode. This is a functionality/documentation mismatch, not malicious scope creep.
Install Mechanism
No install spec in registry; the README recommends installing Python packages via pip (akshare, yfinance, pandas). No downloads from arbitrary URLs or archive extraction are present.
Credentials
The skill requests no environment variables or credentials. It uses third‑party Python libraries for data retrieval — no secrets are required or used.
Persistence & Privilege
always is false; the skill is user-invocable and can be invoked by the agent normally. It does not modify other skills or system configuration and only writes CSV files to a user-specified output directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install stock-data-collector
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /stock-data-collector 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
No user-visible changes in this version. - Version number updated to 1.0.1. - No file changes detected from previous release.
v1.0.0
Initial release of stock-data-collector skill. - Supports collecting historical stock data for A-shares and Hong Kong stocks. - Allows batch collection of multiple stocks and multiple time periods (daily, weekly, monthly, minute lines). - Exports results as CSV files, compatible with Excel and Pandas. - Provides separate scripts for single and batch stock data collection. - Customizable data period and output location. - Easy-to-follow documentation, including usage examples and stock list file format.
元数据
Slug stock-data-collector
版本 1.0.1
许可证 MIT-0
累计安装 7
当前安装数 6
历史版本数 2
常见问题

Stock Data Collector 是什么?

采集A股和港股指定股票的历史数据。支持多股票批量采集、多种时间周期(日线/周线/月线/分钟线)、数据导出为CSV格式。使用场景:(1) "采集贵州茅台和腾讯的历史数据",(2) "批量采集我的自选股",(3) "获取某只股票的所有历史数据"。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 571 次。

如何安装 Stock Data Collector?

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

Stock Data Collector 是免费的吗?

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

Stock Data Collector 支持哪些平台?

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

谁开发了 Stock Data Collector?

由 军舰(@wang-junjian)开发并维护,当前版本 v1.0.1。

💬 留言讨论