← 返回 Skills 市场
682
总下载
1
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install akshare-fund
功能描述
基金量化数据分析工具,基于AkShare库获取公募基金净值、持仓、估值等数据。用于基金查询、持仓分析、业绩追踪。
使用说明 (SKILL.md)
基金量化 - AkShare 数据接口
支持的功能
1. 基金基本信息
获取基金名称、类型、基金公司等
2. 基金净值
交易时间显示实时估算净值,非交易时间显示历史净值
3. 基金持仓
获取基金持仓股票明细,包括股票代码、名称、持仓市值、占净值比例
4. 基金估值
同时显示官方估值和自定义估值(根据持仓股实时计算)
5. 基金持仓汇总
汇总多个基金的持仓,按股票占比排行,包含最新价和涨跌幅
6. 基金列表
按类型筛选基金(股票型、混合型、债券型、ETF等)
使用命令
# 基金基本信息(支持多个)
python fund_cli.py info --list 018957 161725
# 基金净值(支持多个,自动判断交易时间)
python fund_cli.py nav --list 018957 161725
# 基金持仓
python fund_cli.py holdings --list 018957
# 基金估值
python fund_cli.py estimate --list 018957
# 基金持仓汇总排行(核心功能)
python fund_cli.py summary --list 018957 161725 260108
# 基金列表
python fund_cli.py list --type 股票型
规则说明
所有数据接口均自动区分交易时间(9:30-15:00,周一至周五):
| 功能 | 交易时间 | 非交易时间 |
|---|---|---|
| 基金净值 | 实时估算净值 | 历史净值 |
| 基金估值 | 自定义估算 | 官方+自定义 |
| 持仓汇总 | 含实时涨跌幅 | 无涨跌幅 |
持仓汇总输出字段
- 股票代码
- 股票名称
- 总占比(多只基金合计)
- 最新价
- 平均涨跌幅
- 出现次数
注意事项
- 数据仅供研究参考,不构成投资建议
- 基金持仓为季度披露,存在时滞
- 接口可能因目标网站变动而失效
安全使用建议
This skill appears coherent with its description, but consider the following before installing: 1) The script depends on third‑party Python packages (akshare, pandas). Install them in a virtualenv and review their versions and provenance (pip package metadata, project homepage) because these packages will make network calls and may have additional dependencies. 2) The code makes live network requests to public data sources via AkShare — expect outbound traffic and potential changes if source sites change. 3) Metadata inconsistencies (registry vs. _meta.json ownerId/version differences) and a hard-coded default year (2025) look like minor packaging bugs — not malicious but worth noting. 4) Do not treat outputs as financial advice. If you need stronger assurance, request the package's origin (source repo/homepage), a full code review, or run it in an isolated environment first.
功能分析
Type: OpenClaw Skill
Name: akshare-fund
Version: 1.0.0
The skill is a legitimate financial data analysis tool designed to fetch and analyze Chinese fund data using the well-known 'akshare' library. The Python script 'fund_cli.py' implements standard data retrieval and calculation logic for fund holdings, valuations, and net asset values without any evidence of malicious behavior, data exfiltration, or unauthorized execution.
能力评估
Purpose & Capability
Name/description, SKILL.md usage examples, and the Python code all consistently implement fund queries, holdings aggregation, and valuation using the akshare and pandas libraries. There are no unrelated env vars, binaries, or capabilities requested.
Instruction Scope
Runtime instructions tell the agent to run fund_cli.py with various subcommands; the code performs network requests via AkShare to public data sources, reads/merges returned tables, and prints results. The instructions do not ask the agent to read user files, secrets, or other unrelated data.
Install Mechanism
No install spec is provided; the script exits with a user-facing message asking to pip install akshare and pandas. This is low risk but means the user must install third‑party Python packages (preferably in a virtualenv). AkShare itself will make network requests to external data providers.
Credentials
The skill declares no required environment variables, credentials, or config paths. The code does not attempt to access secrets or system config. Network access to fetch market/fund data is proportional to the stated functionality.
Persistence & Privilege
Skill is not always-on, is user-invocable, and does not request elevated or persistent system privileges. It does not modify other skills or system-wide agent settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install akshare-fund - 安装完成后,直接呼叫该 Skill 的名称或使用
/akshare-fund触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of AkShare-based fund quantitative analysis tool.
- Provides CLI commands to query mutual fund info, NAV, holdings, estimates, and aggregated holdings using AkShare data
- Supports fund screening by type; auto-detects market open/close for real-time or historical values
- Aggregates holdings across multiple funds with live prices and ranking
- Chinese interface and documentation
- For research and analytical use only
元数据
常见问题
Akshare Fund 是什么?
基金量化数据分析工具,基于AkShare库获取公募基金净值、持仓、估值等数据。用于基金查询、持仓分析、业绩追踪。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 682 次。
如何安装 Akshare Fund?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install akshare-fund」即可一键安装,无需额外配置。
Akshare Fund 是免费的吗?
是的,Akshare Fund 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Akshare Fund 支持哪些平台?
Akshare Fund 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Akshare Fund?
由 Bin F(@bingobinf)开发并维护,当前版本 v1.0.0。
推荐 Skills