skills/tushare-data-1.0.5/references/数据接口/ETF专题/ETF份额规模.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

61 lines
2.6 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.

# ETF份额规模
### 接口介绍
接口etf_share_size
描述获取沪深ETF每日份额和规模数据能体现规模份额的变化掌握ETF资金动向同时提供每日净值和收盘价数据指标是分批入库建议在每日19点后提取另外涉及海外的ETF数据更新会晚一些属于正常情况。
限量单次最大5000条可根据代码或日期循环提取
积分需要8000积分可以调取具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
<br>
### 输入参数
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 基金代码 可从ETF基础信息接口提取
trade_date | str | N | 交易日期YYYYMMDD格式下同
start_date | str | N | 开始日期
end_date | str | N | 结束日期
exchange | str | N | 交易所SSE上交所 SZSE深交所
<br>
### 输出参数
名称 | 类型 | 默认显示 | 描述
---- | ---- | ---- | ----
trade_date | str | Y | 交易日期
ts_code | str | Y | ETF代码
etf_name | str | Y | 基金名称
total_share | float | Y | 总份额(万份)
total_size | float | Y | 总规模(万元)
nav | float | N | 基金份额净值(元)
close | float | N | 收盘价(元)
exchange | str | Y | 交易所SSE上交所 SZSE深交所 BSE北交所
### 代码示例
```python
#获取”沪深300ETF华夏”ETF2025年以来每个交易日的份额和规模情况
df = pro.etf_share_size(ts_code='510330.SH', start_date='20250101', end_date='20251224')
#获取2025年12月24日上交所的所有ETF份额和规模情况
df = pro.etf_share_size(trade_date='20251224', exchange='SSE')
```
### 数据结果
trade_date ts_code etf_name total_share total_size exchange
0 20251224 510330.SH 沪深300ETF华夏 4741854.98 2.287898e+07 SSE
1 20251222 510330.SH 沪深300ETF华夏 4746894.98 2.279127e+07 SSE
2 20251219 510330.SH 沪深300ETF华夏 4756974.98 2.262512e+07 SSE
3 20251218 510330.SH 沪深300ETF华夏 4757514.98 2.253778e+07 SSE
4 20251217 510330.SH 沪深300ETF华夏 4756884.98 2.266418e+07 SSE
.. ... ... ... ... ... ...
232 20250108 510330.SH 沪深300ETF华夏 4032384.98 1.599808e+07 SSE
233 20250107 510330.SH 沪深300ETF华夏 4009164.98 1.592962e+07 SSE
234 20250106 510330.SH 沪深300ETF华夏 3999084.98 1.577239e+07 SSE
235 20250103 510330.SH 沪深300ETF华夏 3994674.98 1.578176e+07 SSE
236 20250102 510330.SH 沪深300ETF华夏 3986754.98 1.593905e+07 SSE