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

67 lines
2.2 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.

## 股权质押统计数据
----
接口pledge_stat
描述:获取股票质押统计数据
限量单次最大1000
积分用户需要至少500积分才可以调取具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 股票代码
end_date | str | N | 截止日期
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
ts_code | str | Y | TS代码
end_date | str | Y | 截止日期
pledge_count | int | Y | 质押次数
unrest_pledge | float | Y | 无限售股质押数量(万)
rest_pledge | float | Y | 限售股份质押数量(万)
total_share | float | Y | 总股本
pledge_ratio | float | Y | 质押比例
**接口使用**
```pyhton
pro = ts.pro_api()
#或者
#pro = ts.pro_api('your token')
df = pro.pledge_stat(ts_code='000014.SZ')
```
或者
```python
df = pro.query('pledge_stat', ts_code='000014.SZ')
```
**数据示例**
ts_code end_date pledge_count unrest_pledge rest_pledge \
0 000014.SZ 20180928 23 63.16 0.0
1 000014.SZ 20180921 24 63.17 0.0
2 000014.SZ 20180914 24 63.17 0.0
3 000014.SZ 20180907 28 63.69 0.0
4 000014.SZ 20180831 28 63.69 0.0
5 000014.SZ 20180824 29 64.74 0.0
6 000014.SZ 20180817 29 64.74 0.0
7 000014.SZ 20180810 29 64.74 0.0
8 000014.SZ 20180803 29 64.74 0.0
9 000014.SZ 20180727 29 64.74 0.0
10 000014.SZ 20180720 29 64.74 0.0
11 000014.SZ 20180713 29 64.74 0.0
12 000014.SZ 20180706 30 64.77 0.0
13 000014.SZ 20180629 30 64.77 0.0
14 000014.SZ 20180622 30 64.77 0.0
15 000014.SZ 20180615 28 66.50 0.0