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

73 lines
1.7 KiB
Markdown
Raw 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_share可以通过[**数据工具**](https://tushare.pro/webclient/)调试和查看数据。
描述获取基金规模数据包含上海和深圳ETF基金
限量单次最大提取2000行数据
积分用户需要至少2000积分可以调取5000积分以上频次较高具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | TS基金代码
trade_date | str | N | 交易日期
start_date | str | N | 开始日期
end_date | str | N | 结束日期
market | str | N | 市场代码SH上交所 SZ深交所
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | 基金代码,支持多只基金同时提取,用逗号分隔
trade_date | str | Y | 交易变动日期格式YYYYMMDD
fd_share | float | Y | 基金份额(万)
<br>
<br>
**代码示例**
```python
#初始接口
pro = ts.pro_api()
#单只基金
df = pro.fund_share(ts_code='150018.SZ')
#多只基金
df = pro.fund_share(ts_code='150018.SZ,150008.SZ')
```
<br>
<br>
**数据示例**
ts_code trade_date fd_share
0 150018.SZ 20200214 206733.2898
1 150018.SZ 20200213 209274.0911
2 150018.SZ 20200212 211859.8666
3 150018.SZ 20200211 215224.2959
4 150018.SZ 20200210 216739.3881
... ... ... ...
1995 150018.SZ 20111129 319525.0658
1996 150018.SZ 20111128 317324.2829
1997 150018.SZ 20111125 317324.2131
1998 150018.SZ 20111124 316113.2233
1999 150018.SZ 20111123 314305.3576