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

63 lines
2.4 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.

## 柜台流通式债券报价
----
接口bc_otcqt
描述:柜台流通式债券报价
限量单次最大2000条可多次提取总量不限制
积分用户需要至少500积分可以试用调取2000积分以上频次相对较高积分越多权限越大具体请参阅[积分获取办法](https://tushare.pro/document/1?doc_id=13)
**输入参数**
名称 | 类型 | 必选 | 描述
---- | ----- | ---- | ----
trade_date | str | N | 交易日期(YYYYMMDD格式下同)
start_date | str | N | 开始日期
end_date | str | N | 结束日期
ts_code | str | N | TS代码
bank | str | N | 报价机构
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
trade_date | str | N | 报价日期
qt_time | str | N | 报价时间
bank | str | N | 报价机构
ts_code | str | N | 债券编码
name | str | N | 债券简称
maturity | str | N | 期限
remain_maturity | str | N | 剩余期限
bond_type | str | N | 债券类型
coupon_rate | float | N | 票面利率(%
buy_price | float | N | 投资者买入全价
sell_price | float | N | 投资者卖出全价
buy_yield | float | N | 投资者买入到期收益率(%
sell_yield | float | N | 投资者卖出到期收益率(%
<br>
<br>
**接口示例**
```python
pro = ts.pro_api(your token)
#柜台流通式债券报价
df = pro.bc_otcqt(start_date='20240325',end_date='20240329',ts_code='200013.BC',fields='trade_date,qt_time,bank,ts_code,name,remain_maturity,buy_yield,sell_yield')
```
<br>
<br>
**数据示例**
trade_date qt_time bank ts_code name remain_maturity buy_yield sell_yield
0 20240329 08:11:02 浦发银行 200013.BC 20附息国债13 1年207天 1.9263 1.7977
1 20240329 09:05:28 招商银行 200013.BC 20附息国债13 1年207天 1.8950 1.8350
2 20240329 09:10:24 工商银行 200013.BC 20附息国债13 1年207天 1.8850 1.8528
3 20240329 09:14:48 建设银行 200013.BC 20附息国债13 1年207天 1.8837 1.8451
4 20240329 09:18:18 中国银行 200013.BC 20附息国债13 1年207天 1.9040 1.8200
5 20240329 10:40:09 北京银行 200013.BC 20附息国债13 1年207天 1.9043 1.8271
6 20240329 15:46:38 农业银行 200013.BC 20附息国债13 1年207天 1.8697 1.8054
7 20240329 18:36:29 交通银行 200013.BC 20附息国债13 1年207天 1.8464 1.8142