← 返回 Skills 市场
649
总下载
0
收藏
6
当前安装
1
版本数
在 OpenClaw 中安装
/install finance-data-fetcher
功能描述
Fetch real-time and historical Chinese A-share market data, including quotes, financial reports, capital flows, and fundamental indicators using AkShare.
使用说明 (SKILL.md)
Finance Data Fetcher - 金融数据获取工具
功能说明
使用 AkShare 获取中国 A 股市场各类金融数据,包括实时行情、历史数据、财务数据和资金流向等。
核心功能
实时行情
- 实时股票报价
- 分时行情
- 分笔成交
历史数据
- 日 K 线数据
- 周 K 线数据
- 月 K 线数据
- 复权数据
财务数据
- 三大报表(资产负债表、利润表、现金流量表)
- 估值指标(PE、PB、PS)
- 盈利能力指标(ROE、ROA)
- 偿债能力指标
资金流向
- 主力资金流向
- 北向资金数据
- 机构持股数据
基本面指标
- 市盈率、市净率
- 每股收益
- 股息率
- 总市值、流通市值
使用示例
from skill_main import fetch_stock_quote, fetch_financial_data, fetch_capital_flow, fetch_fundamental_indicators
# 获取实时报价
quote = fetch_stock_quote(stock_code="300308")
# 获取财务数据
financial = fetch_financial_data(stock_code="300308", report_type="利润表")
# 获取资金流向
capital = fetch_capital_flow(stock_code="300308")
# 获取基本面指标
indicators = fetch_fundamental_indicators(stock_code="300308")
安装依赖
pip install akshare pandas numpy requests
数据源
- AkShare (主要数据源)
- 新浪财经 API
- 东方财富 API
注意事项
- 实时行情有 15 分钟延迟
- 某些财务数据有季度延迟
- 建议添加缓存机制避免重复请求
- API 有频率限制,建议控制请求频率
导出函数
| 函数 | 说明 |
|---|---|
fetch_stock_quote |
获取实时股票报价 |
fetch_financial_data |
获取财务报表数据 |
fetch_capital_flow |
获取资金流向数据 |
fetch_fundamental_indicators |
获取基本面指标 |
目标代理
- AIData
- AIFundamentals
- AITechnicals
安全使用建议
This skill claims to provide Python functions (fetch_stock_quote, etc.) but does not include the implementation (no skill_main.py). Before installing or using it, ask the publisher for the missing source or an official homepage/repo. Do not blindly pip install dependencies from an unknown package—verify the author and repository. If you decide to proceed: (1) obtain the code and review it for network endpoints and data exfiltration, (2) run installs and the code in a sandbox or virtual environment, (3) confirm dependency list matches the code (SKILL.md lists numpy but skill.json does not), and (4) verify licensing and that scraping/data usage complies with the data providers' terms. The current package is internally inconsistent; resolve those gaps to reduce risk.
功能分析
Type: OpenClaw Skill
Name: finance-data-fetcher
Version: 1.0.0
The skill bundle provides a legitimate interface for fetching Chinese stock market data using the AkShare library. The documentation (SKILL.md) and configuration (skill.json) are consistent with the stated purpose of retrieving market quotes and financial reports, including appropriate warnings about data latency and API rate limits. No evidence of malicious intent, data exfiltration, or prompt injection was found in the provided files.
能力评估
Purpose & Capability
Name and description match the declared dependencies and usage of AkShare and public Chinese finance sources — requesting no credentials is proportionate. However, skill.json declares a main module (skill_main.py) and exports functions, while no code files are present; the SKILL.md example imports from skill_main. That mismatch means the package does not actually provide the code necessary to fulfill its purpose.
Instruction Scope
SKILL.md instructs installing akshare/pandas/numpy/requests and shows example calls to fetch_stock_quote etc., but it relies on a local module (skill_main) that is not included. The instructions do not ask the agent to read unrelated files or secrets, but they assume an implementation that is missing — runtime behavior is therefore undefined and could lead to ad-hoc implementations with broader scope if the agent or user fills in the gap.
Install Mechanism
There is no install spec (instruction-only), which is low-risk. But skill.json lists dependencies (akshare, pandas, requests) while SKILL.md's pip example also includes numpy — a small inconsistency. No external download URLs or installers are present.
Credentials
The skill requests no environment variables, credentials, or config paths. Given the stated data sources (AkShare, Sina, EastMoney) this is reasonable; no secret access is required by the provided instructions.
Persistence & Privilege
always is false and autonomous invocation is allowed by default. The skill does not request elevated persistence or system-wide changes and provides no installers that write files. No code is included that would persist on disk as part of the skill package.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install finance-data-fetcher - 安装完成后,直接呼叫该 Skill 的名称或使用
/finance-data-fetcher触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - Financial data fetching for Chinese A-shares
元数据
常见问题
Finance Data Fetcher 是什么?
Fetch real-time and historical Chinese A-share market data, including quotes, financial reports, capital flows, and fundamental indicators using AkShare. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 649 次。
如何安装 Finance Data Fetcher?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install finance-data-fetcher」即可一键安装,无需额外配置。
Finance Data Fetcher 是免费的吗?
是的,Finance Data Fetcher 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Finance Data Fetcher 支持哪些平台?
Finance Data Fetcher 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Finance Data Fetcher?
由 GBABYZS(@gbabyzs)开发并维护,当前版本 v1.0.0。
推荐 Skills