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
1.8 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.

## 债券大宗交易
----
接口bond_blk
权限用户满5000积分有数据权限单次最大1000条可根据日期循环提取总量不限制
描述:获取沪深交易所债券大宗交易数据,可以通过[**数据工具**](https://tushare.pro/webclient/)调试和查看数据。
<br>
<br>
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
ts_code | str | N | 债券代码
trade_date | str | N | 交易日期YYYYMMDD格式下同
start_date | str | N | 开始日期
end_date | str | N | 结束日期
<br>
<br>
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
trade_date | str | Y | 交易日期
ts_code | str | Y | 债券代码
name | str | Y | 债券名称
price | float | Y | 成交价(元)
vol | float | Y | 累计成交数量(万股/万份/万张/万手)
amount | float | Y | 累计成交金额(万元)
<br>
<br>
**接口示例**
```python
pro = ts.pro_api()
df = pro.bond_blk(start_date='20210701', end_date='20210930')
```
<br>
<br>
**数据样例**
trade_date ts_code name price vol amount
0 20210930 152497.SH 20黔西南 75.00 35.00 2625.00
1 20210930 152497.SH 20黔西南 75.00 20.00 1500.00
2 20210930 152497.SH 20黔西南 75.00 19.20 1440.00
3 20210930 152497.SH 20黔西南 75.00 18.00 1350.00
4 20210930 152497.SH 20黔西南 75.00 17.00 1275.00
.. ... ... ... ... ... ...
995 20210917 136225.SZ 21奥创A 99.98 6.50 649.90
996 20210917 133073.SZ 21经开02 99.34 10.00 993.40
997 20210917 133068.SZ 21九江01 100.18 50.00 5009.05
998 20210917 133063.SZ 21新沂04 100.56 6.47 650.63
999 20210917 133050.SZ 21江滨01 100.25 50.00 5012.50