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

57 lines
2.3 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.

## 柜台流通式债券最优报价
----
接口bc_bestotcqt
描述:柜台流通式债券最优报价
限量单次最大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代码
**输出参数**
名称 | 类型 | 默认显示 | 描述
--- | ---- | ---- | ----
trade_date | str | N | 报价日期
ts_code | str | N | 债券编码
name | str | N | 债券简称
remain_maturity | str | N | 剩余期限
bond_type | str | N | 债券类型
best_buy_bank | str | N | 最优报买价方
best_buy_yield | float | N | 投资者最优买入价到期收益率(%
best_buy_price | float | N | 投资者最优买入全价
best_sell_bank | str | N | 最优卖报价方
best_sell_yield | float | N | 投资者最优卖出价到期收益率(%
best_sell_price | float | N | 投资者最优卖出全价
<br>
<br>
**接口示例**
```python
pro = ts.pro_api(your token)
#获取柜台流通式债券最优报价
df = pro.bc_bestotcqt(ts_code='200013.BC',start_date='20240325',end_date='20240329',fields='trade_date,ts_code,name,remain_maturity,best_buy_bank,best_buy_yield,best_sell_bank,best_sell_yield')
```
<br>
<br>
**数据示例**
trade_date ts_code name remain_maturity best_buy_bank best_buy_yield best_sell_bank best_sell_yield
0 20240325 200013.BC 20附息国债13 1年211天 建设银行 1.9041 工商银行 1.9227
1 20240326 200013.BC 20附息国债13 1年210天 工商银行 1.8813 工商银行 1.9133
2 20240327 200013.BC 20附息国债13 1年209天 工商银行 1.8718 工商银行 1.9039
3 20240328 200013.BC 20附息国债13 1年208天 工商银行 1.8623 建设银行 1.8921
4 20240329 200013.BC 20附息国债13 1年207天 工商银行 1.8528 交通银行 1.8464