AkShare基金分析
akshare-fund
by bingobinf
基金量化数据分析工具,基于AkShare库获取公募基金净值、持仓、估值等数据。用于基金查询、持仓分析、业绩追踪。
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/bingobinf/akshare-fund文档
基金量化 - 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,周一至周五):
| 功能 | 交易时间 | 非交易时间 |
|---|---|---|
| 基金净值 | 实时估算净值 | 历史净值 |
| 基金估值 | 自定义估算 | 官方+自定义 |
| 持仓汇总 | 含实时涨跌幅 | 无涨跌幅 |
持仓汇总输出字段
- 股票代码
- 股票名称
- 总占比(多只基金合计)
- 最新价
- 平均涨跌幅
- 出现次数
注意事项
- 数据仅供研究参考,不构成投资建议
- 基金持仓为季度披露,存在时滞
- 接口可能因目标网站变动而失效
相关 Skills
Claude API
by anthropic
Build apps with the Claude API or Anthropic SDK. TRIGGER when: code imports `anthropic`/`@anthropic-ai/sdk`/`claude_agent_sdk`, or user asks to use Claude API, Anthropic SDKs, or Agent SDK. DO NOT TRIGGER when: code imports `openai`/other AI SDK, general programming, or ML/data-science tasks.
Solana防骗检测
by ammkode
Detect scam tokens on Solana before you trade. Checks ticker patterns, token age, and known scam mints. Read-only — no wallet signing required.
营收工作室
by amoldericksoans
A revenue-first solofounder studio that watches markets, finds monetizable pain, validates offers, ships narrow products, and compounds commercial memory across launches. Uses massive parallel agent orchestration with 8 layers: Signal Mesh, Extraction, Opportunity Graph, Cofounder Council, Revenue Lab, Build Studio, Launch Loop, and Portfolio Allocator.