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>
67 lines
2.2 KiB
Markdown
67 lines
2.2 KiB
Markdown
## 国债收益率曲线
|
||
----
|
||
|
||
接口:yc_cb
|
||
描述:获取中债收益率曲线,目前可获取中债国债收益率曲线即期和到期收益率曲线数据
|
||
限量:单次最大2000,总量不限制,可循环提取
|
||
权限:属于单独的权限接口,请在群里联系群主或管理员
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输入参数**
|
||
|
||
名称 | 类型 | 必选 | 描述
|
||
---- | ----- | ---- | ----
|
||
ts_code | str | N | 收益率曲线编码:1001.CB-国债收益率曲线
|
||
curve_type | str | N | 曲线类型:0-到期,1-即期
|
||
trade_date | str | N | 交易日期
|
||
start_date | str | N | 查询起始日期
|
||
end_date | str | N | 查询结束日期
|
||
curve_term | float | N | 期限
|
||
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**输出参数**
|
||
|
||
名称 | 类型 | 默认显示 | 描述
|
||
--- | ---- | ---- | ----
|
||
trade_date | str | Y | 交易日期
|
||
ts_code | str | Y | 曲线编码
|
||
curve_name | str | Y | 曲线名称
|
||
curve_type | str | Y | 曲线类型:0-到期,1-即期
|
||
curve_term | float | Y | 期限(年)
|
||
yield | float | Y | 收益率(%)
|
||
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**接口示例**
|
||
|
||
```python
|
||
pro = ts.pro_api(your token)
|
||
#获取中债收益率曲线
|
||
df = pro.yc_cb(ts_code='1001.CB',curve_type='0',trade_date='20200203')
|
||
|
||
```
|
||
|
||
<br>
|
||
<br>
|
||
|
||
**数据示例**
|
||
|
||
trade_date ts_code curve_name curve_type curve_term yield
|
||
0 20200203 101 中债国债收益率曲线 0 0.0000 1.697300
|
||
1 20200203 101 中债国债收益率曲线 0 0.0800 1.770000
|
||
2 20200203 101 中债国债收益率曲线 0 0.1000 1.770100
|
||
3 20200203 101 中债国债收益率曲线 0 0.1700 1.770300
|
||
4 20200203 101 中债国债收益率曲线 0 0.2000 1.772300
|
||
... ... ... ... ... ... ...
|
||
1001 20200203 101 中债国债收益率曲线 1 49.6000 3.774100
|
||
1002 20200203 101 中债国债收益率曲线 1 49.7000 3.774700
|
||
1003 20200203 101 中债国债收益率曲线 1 49.8000 3.775400
|
||
1004 20200203 101 中债国债收益率曲线 1 49.9000 3.776100
|
||
1005 20200203 101 中债国债收益率曲线 1 50.0000 3.776800 |