Etf Net Value logo

Etf Net Value

Organization
FTShare-Lab
etf-net-value

查询 ETF 历史净值(etf_net_value)。用户问 ETF 净值、单位净值、累计净值、净值增长率、复权净值、每万份收益、7 日年化收益率时使用。

Overview

PublisherFTShare-Lab
RepositoryFTShare-skill
Skill nameetf-net-value
Stars
64
Forks
14
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by FTShare-Lab on GitHub. Read the source before you install it.

Installation

Install the Etf Net Value AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/etf-net-value
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/FTShare-Lab/FTShare-skill.git /tmp/FTShare-skill
mkdir -p .claude/skills
cp -r /tmp/FTShare-skill/ftshare-market-data/sub-skills/etf-net-value .claude/skills/etf-net-value
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Etf Net Value in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Etf Net Value on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Etf Net Value is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ETF 历史净值

1. 接口描述

项目说明
接口名称ETF 净值(etf_net_value)
外部接口GET /api/v2/market/data/etf-net-value
请求方式GET(query 参数)
适用场景按 ETF 代码分页查询历史净值:发布日、净值日期、资产净值、单位净值、累计净值、净值增长率、复权净值、每万份收益、7 日年化收益率;支持单日或日期区间查询

2. 请求参数

参数名类型是否必填描述取值示例备注
etf_codestring是ETF 代码510300兼容参数名 fund_code,建议使用 etf_code
nav_dateint二选一净值日期20260909YYYYMMDD;与日期区间参数互斥
start_dateint二选一净值开始日期20260901须与 end_date 同时提供
end_dateint二选一净值结束日期20260909须与 start_date 同时提供
pageint否页码1从 1 开始,默认 1
page_sizeint否每页条数50默认 50,最大 200
--all-否自动翻页拉全量-仅本子 skill 扩展参数

3. 响应说明

外层固定为 code / message / data。data 为分页对象:items(列表)、total_pages、total_items。

items 元素:

字段名类型说明
trade_codestringETF 交易代码
publish_dateint发布日期 YYYYMMDD
nav_dateint净值日期 YYYYMMDD
net_assetstring资产净值
unit_navstring单位净值
unit_nav_growthstring单位净值增长率(%)
accumulated_navstring累计单位净值
adjustment_factorstring复权因子
adjusted_unit_navstring复权单位净值
adjusted_unit_nav_growthstring复权单位净值增长率(%)
daily_profitstring每万份基金收益
seven_day_annualized_returnstring7 日年化收益率(%)

4. 调用方式

bash
python <RUN_PY> etf-net-value --etf-code 510300 --nav-date 20260909
python <RUN_PY> etf-net-value --etf-code 510300 --start-date 20260901 --end-date 20260909 --page 1 --page-size 5
python <RUN_PY> etf-net-value --etf-code 510300 --start-date 20260801 --end-date 20260909 --all

<RUN_PY> 为主 SKILL.md 同级 run.py 的绝对路径。输出 JSON;HTTP 错误输出到 stderr 并以非零状态退出。

5. 注意事项

  • 必须提供 nav_date,或同时提供 start_date 和 end_date;二者互斥(handler 会在本地校验并拒绝)。
  • 日期格式 YYYYMMDD;区间查询包含开始和结束日期,start_date 不得晚于 end_date。
  • 数值字段以字符串形式返回,以保留小数精度。
  • --all 会按 total_pages 自动翻页,把所有 items 合并为一个数组返回。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Etf Net Value AI skill do?

查询 ETF 历史净值(etf_net_value)。用户问 ETF 净值、单位净值、累计净值、净值增长率、复权净值、每万份收益、7 日年化收益率时使用。

Why use Etf Net Value on TypingMind?

Because you install it once and use it with any model. Etf Net Value is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Etf Net Value in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/FTShare-Lab/FTShare-skill/tree/main/ftshare-market-data/sub-skills/etf-net-value. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Etf Net Value?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Etf Net Value?

As many as you like. As long as a model supports skills, you can use Etf Net Value with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Etf Net Value AI skill free?

Yes. It is published on GitHub by FTShare-Lab under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇