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.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_detail
权限用户满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 | 成交金额(万元)
buy_dp | str | Y | 买方营业部
sell_dp | str | Y | 卖方营业部
**接口示例**
```python
pro = ts.pro_api()
df = pro.bond_blk_detail(start_date='20210701', end_date='20210930')
```
<br>
<br>
**数据样例**
trade_date ts_code name price vol amount buy_dp sell_dp
0 20210930 149642.SZ 21长城08 100.07 50.00 5003.50 机构专用 机构专用
1 20210930 149642.SZ 21长城08 100.00 65.00 6500.00 机构专用 机构专用
2 20210930 149641.SZ 21长城07 100.00 100.00 10000.00 机构专用 机构专用
3 20210930 149633.SZ 21广发10 99.83 25.00 2495.75 机构专用 机构专用
4 20210930 149633.SZ 21广发10 99.82 25.00 2495.50 机构专用 机构专用
.. ... ... ... ... ... ... ... ...
995 20210924 138246.SZ 东道02D1 110.17 26.30 2897.47 中国国际金融股份有限公司上海黄浦区湖滨路证券营业部 机构专用
996 20210924 137995.SZ 21即墨A3 101.75 15.00 1526.25 华泰证券股份有限公司临沂金雀山路证券营业部 机构专用
997 20210924 137995.SZ 21即墨A3 101.74 15.00 1526.10 机构专用 机构专用
998 20210924 137995.SZ 21即墨A3 101.73 15.00 1525.95 机构专用 华泰证券股份有限公司山东分公司
999 20210924 137942.SZ 美满03次 103.61 30.00 3108.30 中国国际金融股份有限公司上海黄浦区湖滨路证券营业部