← Back to Skills Marketplace
股票数据API
by
1018466411
· GitHub ↗
· v1.0.0
642
Downloads
0
Stars
8
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-stock-data-skill
Description
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install openclaw-stock-data-skill - After installation, invoke the skill by name or use
/openclaw-stock-data-skill - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- 首次发布 openclaw-stock-skill,支持接入 data.diemeng.chat 提供的股票日线、分钟线、财务指标等数据接口。
- 支持通过环境变量 STOCK_API_KEY 进行 API Key 鉴权,适配 OpenClaw 自定义配置注入机制。
- 提供股票日线、分钟线历史行情、财务因子、基础信息、估值、交易日历、盘口快照等多类接口调用手册与参数说明。
- 完整说明接口用法、字段、错误处理、分页与限流最佳实践,并给出常见场景使用范例。
- 所有调用均推荐使用 Header 传递 apiKey,强调安全与稳定性。
Metadata
Frequently Asked Questions
What is 股票数据API?
使用 data.diemeng.chat 提供的接口查询股票日线、分钟线、财务指标等数据,支持 A 股等市场。 It is an AI Agent Skill for Claude Code / OpenClaw, with 642 downloads so far.
How do I install 股票数据API?
Run "/install openclaw-stock-data-skill" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 股票数据API free?
Yes, 股票数据API is completely free (open-source). You can download, install and use it at no cost.
Which platforms does 股票数据API support?
股票数据API is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 股票数据API?
It is built and maintained by 1018466411 (@1018466411); the current version is v1.0.0.
More Skills