agentsclimarketplace

Fund nav single fund paginated

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/fund-nav-single-fund-paginated

Get paginated NAV history for a specific fund. Use when user asks about 基金净值, 单位净值, 累计净值, 日增长率, 基金净值历史.From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill fund-nav-single-fund-paginated

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.4 KB, 412 tokens by cl100k_base, as published. Nobody here has run it

查询指定基金的净值历史(分页)

参数

参数类型必填说明示例
--institution-codestring是6 位数字基金代码000001
--pageint否页码,从 1 开始(默认 1)1
--page-sizeint否每页记录数(默认 50)50

用法

通过主目录 run.py 调用(必填 --institution-code,可选 --page、--page-size):

python <RUN_PY> fund-nav-single-fund-paginated --institution-code 000001 --page 1 --page-size 50

<RUN_PY> 为主 SKILL.md 同级的 run.py 绝对路径。脚本输出带分页信息的 JSON,每项含日期(end_date YYYYMMDD)、单位净值(unitnv)、累计净值(accum_unitnv)、日增长率(unitnv_grw,%)、申购/赎回状态等字段,以表格展示。

注意

  • unitnv_grw、annurtn_7d 单位为 %
  • 需要全量历史时,循环请求直到 page > total_pages
  • 若用户只给基金名称,建议先用 fund-support-symbols-all-funds-paginated 或 fund-overview-all-funds-paginated 查到对应 6 位 institution-code 再查询净值。

What ships with it: 1 file

1.7 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.