← Back to Skills Marketplace
682
Downloads
1
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install akshare-fund
Description
基金量化数据分析工具,基于AkShare库获取公募基金净值、持仓、估值等数据。用于基金查询、持仓分析、业绩追踪。
README (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,周一至周五):
| 功能 | 交易时间 | 非交易时间 |
|---|---|---|
| 基金净值 | 实时估算净值 | 历史净值 |
| 基金估值 | 自定义估算 | 官方+自定义 |
| 持仓汇总 | 含实时涨跌幅 | 无涨跌幅 |
持仓汇总输出字段
- 股票代码
- 股票名称
- 总占比(多只基金合计)
- 最新价
- 平均涨跌幅
- 出现次数
注意事项
- 数据仅供研究参考,不构成投资建议
- 基金持仓为季度披露,存在时滞
- 接口可能因目标网站变动而失效
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install akshare-fund - After installation, invoke the skill by name or use
/akshare-fund - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is Akshare Fund?
基金量化数据分析工具,基于AkShare库获取公募基金净值、持仓、估值等数据。用于基金查询、持仓分析、业绩追踪。 It is an AI Agent Skill for Claude Code / OpenClaw, with 682 downloads so far.
How do I install Akshare Fund?
Run "/install akshare-fund" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Akshare Fund free?
Yes, Akshare Fund is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Akshare Fund support?
Akshare Fund is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Akshare Fund?
It is built and maintained by Bin F (@bingobinf); the current version is v1.0.0.
More Skills