← 返回 Skills 市场
1018466411

股票数据API

作者 1018466411 · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
642
总下载
0
收藏
8
当前安装
1
版本数
在 OpenClaw 中安装
/install openclaw-stock-data-skill
功能描述
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
安全使用建议
This skill appears coherent and implements a simple API client for data.diemeng.chat. Before installing/use: (1) verify you trust the external domain https://data.diemeng.chat and the API Key issuer; (2) keep your STOCK_API_KEY secret and do not commit it to public repos (GITHUB.md explicitly reminds about .gitignore); (3) be aware the skill makes outbound HTTP calls to that service and will use your API Key for authentication — check rate limits/quotas to avoid accidental bans; (4) if you plan to run the included Python code locally, install dependencies from requirements.txt in a virtualenv; (5) if you need higher assurance, review stock_api.py yourself (it’s readable) or run the skill in a sandboxed environment. Overall there are no mismatches between the declared purpose and the code/instructions.
功能分析
Type: OpenClaw Skill Name: openclaw-stock-data-skill Version: 1.0.0 The skill bundle provides a standard interface for accessing stock market data from the domain `https://data.diemeng.chat`. The implementation in `stock_api.py` uses the `requests` library to interact with documented API endpoints for A-shares, HK stocks, bonds, and ETFs. Authentication is handled correctly via the `STOCK_API_KEY` environment variable passed in HTTP headers. No evidence of data exfiltration, malicious execution, or prompt injection was found; the code and instructions are consistent with the stated purpose of providing financial market data.
能力评估
Purpose & Capability
Name/description match the implementation: the skill calls endpoints under https://data.diemeng.chat/api for daily/minute/financial/valuation data. The single required env var STOCK_API_KEY is exactly what's needed to authenticate to that service.
Instruction Scope
SKILL.md and example.py only describe forming HTTP requests to the documented endpoints and reading STOCK_API_KEY; there are no instructions to read unrelated files, harvest other env vars, or exfiltrate data to unexpected endpoints.
Install Mechanism
This is instruction-first (no install spec) but the repository includes Python code and a requirements.txt (requests). Nothing in the manifest downloads arbitrary third-party binaries or runs remote installers; if you run the code locally you must install requests (pip).
Credentials
Only one credential is requested (STOCK_API_KEY) and it's declared as the primary credential in metadata; that is proportionate for an API client. No unrelated secrets or config paths are requested.
Persistence & Privilege
Skill does not request always: true and does not attempt to modify other skills or system settings. It will run network requests to the external API when invoked (normal for this type of skill).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install openclaw-stock-data-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /openclaw-stock-data-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- 首次发布 openclaw-stock-skill,支持接入 data.diemeng.chat 提供的股票日线、分钟线、财务指标等数据接口。 - 支持通过环境变量 STOCK_API_KEY 进行 API Key 鉴权,适配 OpenClaw 自定义配置注入机制。 - 提供股票日线、分钟线历史行情、财务因子、基础信息、估值、交易日历、盘口快照等多类接口调用手册与参数说明。 - 完整说明接口用法、字段、错误处理、分页与限流最佳实践,并给出常见场景使用范例。 - 所有调用均推荐使用 Header 传递 apiKey,强调安全与稳定性。
元数据
Slug openclaw-stock-data-skill
版本 1.0.0
许可证
累计安装 8
当前安装数 8
历史版本数 1
常见问题

股票数据API 是什么?

使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 642 次。

如何安装 股票数据API?

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

股票数据API 是免费的吗?

是的,股票数据API 完全免费(开源免费),可自由下载、安装和使用。

股票数据API 支持哪些平台?

股票数据API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 股票数据API?

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

💬 留言讨论