← Back to Skills Marketplace
pazzilivo

场外基金查询

by Pazzilivo · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
785
Downloads
0
Stars
4
Active Installs
1
Versions
Install in OpenClaw
/install fund-query
Description
查询场外基金(公募基金)的实时估值、净值、基本信息。支持天天基金代码查询。当用户询问基金净值、基金估值、基金涨跌时使用。
README (SKILL.md)

场外基金查询

查询公募基金的实时估值、历史净值和基本信息。

使用场景

  • 用户询问基金净值:"005827 净值多少?"
  • 用户询问基金估值:"易方达蓝筹现在估值多少?"
  • 用户询问基金涨跌:"招商白酒今天涨了还是跌了?"

使用方法

python3 {{SKILL_DIR}}/scripts/fund_query.py \x3C基金代码> [命令]

命令

  • 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

支持的基金代码格式

  • 6 位数字基金代码,如 005827110022161725
  • 天天基金/东方财富基金代码

常见基金代码参考

基金名称 基金代码
易方达蓝筹精选混合 005827
易方达消费行业 110022
招商中证白酒 161725
景顺长城新兴成长 260108
中欧医疗健康混合A 003095
诺安成长混合 320007

数据来源

天天基金网(fund.eastmoney.com)公开 API

输出格式

查询成功后以紧凑格式展示:

📊 **{基金名称}**({基金代码})

💰 实时估值:{估值} 元 | 📈 涨跌幅:{涨跌幅}% ↑/↓
📅 估值时间:{时间}
📊 昨日净值:{昨日净值} 元({净值日期})

注意事项

  1. 实时估值仅在交易时段更新(9:30-15:00)
  2. 非交易时段显示最近一次的净值数据
  3. 基金代码必须为 6 位数字
Usage Guidance
This skill runs a local Python 3 script (bundled) that makes outbound HTTP requests to public fund-data endpoints (fund.eastmoney.com, api.fund.eastmoney.com, fundgz.1234567.com.cn). It does not request credentials or read local files. Before installing: ensure you have/allow python3, confirm your environment permits outbound requests to those domains, and be aware the package source is 'unknown' with no homepage—if you require provenance, ask the publisher for a source repository or verify the script independently. Also note the small metadata mismatch: SKILL.md requires python3 while registry metadata lists no required binaries.
Capability Analysis
Type: OpenClaw Skill Name: fund-query Version: 1.0.0 The skill bundle is a legitimate tool for querying Chinese mutual fund data from Eastmoney (fund.eastmoney.com) APIs. The Python script `scripts/fund_query.py` implements strict input validation using regex to ensure fund codes are 6-digit integers, effectively preventing injection attacks, and relies solely on standard libraries for network requests and data parsing.
Capability Assessment
Purpose & Capability
The skill's name/description (fund lookup) matches the included Python script which fetches fund data from public Eastmoney / 1234567 endpoints. Minor inconsistency: the registry metadata lists no required binaries, while SKILL.md declares a requirement for python3; otherwise all required artifacts are proportional to the stated purpose.
Instruction Scope
SKILL.md instructs the agent to run the bundled script with a fund code and optional command. The script only performs HTTP requests to public fund data endpoints, parses responses, and prints formatted output. It does not read other files, access environment variables, or transmit data to unknown endpoints.
Install Mechanism
No install spec is present (instruction-only with one bundled script). Nothing is downloaded or written to disk beyond running the included script, so install risk is low.
Credentials
The skill requires no credentials or environment variables. The bundled script performs network requests only to fund data endpoints and does not access unrelated secrets or config paths.
Persistence & Privilege
The skill is not always-enabled and does not modify other skills or system configuration. It runs only when invoked and has no elevated persistence requirements.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install fund-query
  3. After installation, invoke the skill by name or use /fund-query
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
初始版本:支持实时估值、历史净值查询
Metadata
Slug fund-query
Version 1.0.0
License MIT-0
All-time Installs 4
Active Installs 4
Total Versions 1
Frequently Asked Questions

What is 场外基金查询?

查询场外基金(公募基金)的实时估值、净值、基本信息。支持天天基金代码查询。当用户询问基金净值、基金估值、基金涨跌时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 785 downloads so far.

How do I install 场外基金查询?

Run "/install fund-query" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 场外基金查询 free?

Yes, 场外基金查询 is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 场外基金查询 support?

场外基金查询 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created 场外基金查询?

It is built and maintained by Pazzilivo (@pazzilivo); the current version is v1.0.0.

💬 Comments