skills/tushare-data-1.0.5/references/数据接口/公募基金/基金净值.md
wangyitong a65adcc2e5 Initial commit: merged, deduplicated, and vetted skill collection
Sources: extracted from two upstream archives (skill-repo, skills-main),
merged with the following policy:

- 15 broken symlinks (pointing to /Users/jameslee/.cc-switch/skills or
  ../../.agents/skills on a foreign machine) discarded
- 3 real name collisions with identical content (ai-pair, ifind-http-api,
  zhipu-websearch) kept as one copy
- Functional overlaps deduped keeping the strongest variant:
  - docx family: kept docx (official, full toolchain) + docx-cn
    (GB/T 9704 Chinese official-document constants),
    dropped docx_writer (no scripts, name collided with docx)
  - humanizer family: kept humanizer-zh (6 zh reference docs),
    dropped humanizer (en, redundant for CN workflow)
- Skills that only ran in a foreign environment removed:
  ablemind-ops, app-publish, hlb-design-system, openclaw-adj-skill,
  claude-driver
- alphapai excluded from this public repo because its SKILL.md hard-coded
  live credentials

Result: 25 skills, 572 files, ~7.5 MB.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 14:47:12 +08:00

59 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

## 公募基金净值
----
接口fund_nav可以通过[**数据工具**](https://tushare.pro/webclient/)调试和查看数据。
描述:获取公募基金净值数据
积分用户需要至少2000积分才可以调取具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | TS基金代码 (二选一)
nav_date | str | N | 净值日期 (二选一)
market | str | N | E场内 O场外
start_date | str | N | 净值开始日期
end_date | str | N | 净值结束日期
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | TS代码
ann_date | str | Y | 公告日期
nav_date | str | Y | 净值日期
unit_nav | float | Y | 单位净值
accum_nav | float | Y | 累计净值
accum_div | float | Y | 累计分红
net_asset | float | Y | 资产净值
total_netasset | float | Y | 合计资产净值
adj_nav | float | Y | 复权单位净值
**代码示例**
```python
pro = ts.pro_api()
df = pro.fund_nav(ts_code='165509.SZ')
```
**数据示例**
ts_code ann_date nav_date unit_nav accum_nav accum_div \
0 165509.SZ 20181019 20181018 1.104 1.587 None
1 165509.SZ 20181018 20181017 1.110 1.587 None
2 165509.SZ 20181017 20181016 1.110 1.587 None
3 165509.SZ 20181016 20181015 1.110 1.587 None
4 165509.SZ 20181013 20181012 1.110 1.587 None
5 165509.SZ 20181012 20181011 1.110 1.587 None
6 165509.SZ 20181011 20181010 1.110 1.587 None
7 165509.SZ 20181010 20181009 1.110 1.587 None
8 165509.SZ 20181009 20181008 1.109 1.586 None
9 165509.SZ 20180929 20180928 1.109 1.586 None
10 165509.SZ 20180928 20180927 1.109 1.586 None