Install
openclaw skills install fund-query查询场外基金(公募基金)的实时估值、净值、基本信息。支持天天基金代码查询。当用户询问基金净值、基金估值、基金涨跌时使用。
openclaw skills install fund-query查询公募基金的实时估值、历史净值和基本信息。
python3 {{SKILL_DIR}}/scripts/fund_query.py <基金代码> [命令]
命令:
estimate 或不传 - 查询实时估值(默认)info - 查询基金基本信息history - 查询历史净值示例:
# 查询实时估值
python3 {{SKILL_DIR}}/scripts/fund_query.py 005827
# 查询基金信息
python3 {{SKILL_DIR}}/scripts/fund_query.py 005827 info
# 查询历史净值
python3 {{SKILL_DIR}}/scripts/fund_query.py 005827 history
005827、110022、161725| 基金名称 | 基金代码 |
|---|---|
| 易方达蓝筹精选混合 | 005827 |
| 易方达消费行业 | 110022 |
| 招商中证白酒 | 161725 |
| 景顺长城新兴成长 | 260108 |
| 中欧医疗健康混合A | 003095 |
| 诺安成长混合 | 320007 |
天天基金网(fund.eastmoney.com)公开 API
查询成功后以紧凑格式展示:
📊 **{基金名称}**({基金代码})
💰 实时估值:{估值} 元 | 📈 涨跌幅:{涨跌幅}% ↑/↓
📅 估值时间:{时间}
📊 昨日净值:{昨日净值} 元({净值日期})