feat(skills): add tsl api reference skill

Bundle the TSL API index and markdown references under the skill, route TSL docs to use it, and update the codegen index generator to maintain the bundled data.
This commit is contained in:
csh
2026-07-07 16:36:15 +08:00
parent 4cd6b9410f
commit e1f7ce052c
267 changed files with 185908 additions and 11996 deletions
@@ -0,0 +1,163 @@
# 板块 / 持债情况
### `fundsbdbondpercent5(fundarr, rdate, stockid)`
统计指定报告期基金列表汇总的指定债券市值占固定收益投资市值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `stockid` | string | string,债券代码 |
返回:float
### `fundsbdbondpercentgrow(fundarr, rdate, rdate2, stockid)`
统计指定报告期基金列表汇总的指定债券市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `stockid` | string | string,债券代码 |
返回:float
### `fundsbdbondpercentgrow3(fundarr, rdate, rdate2, stockid)`
统计指定报告期基金列表汇总的指定债券市值占债券市值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `stockid` | string | string,代码 |
返回:float
### `fundsbdbondvolumegrow(fundarr, rdate, rdate2, stockid)`
统计指定报告期基金列表汇总的指定债券持有份额变动
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `stockid` | string | string,债券代码 |
返回:float
### `fundsbdbondvolumegrowratio(fundarr, rdate, rdate2, stockid)`
统计指定报告期基金列表汇总的指定债券持有份额变比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `stockid` | string | string,债券代码 |
返回:float
### `fundsbdnoncode(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的第N名债券代码
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,第N |
返回:string
### `fundsbdnonpercent2(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的第N名债券市值占总值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,第N |
返回:float
### `fundsbdnonpercent4(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的第N名债券市值占固定收益投资市值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,第N |
返回:float
### `fundsbdsumnpercent(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的前N名债券市值占净值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,前N |
返回:float
### `fundsbdsumnpercent3(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的前N名债券市值占债券市值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,前N |
返回:float
### `fundsbdsumnpercent4(fundarr, rdate, topn)`
统计指定报告期基金列表汇总的前N名债券市值占固定收益投资市值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,前N |
返回:float
### `fundsbdsumnpercentgrow(fundarr, rdate, rdate2, topn)`
统计指定报告期基金列表汇总的前N名债券市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `topn` | int | integer,前N |
返回:float
### `fundsbdvalue(fundarr, rdate, tono, field)`
持债明细前N名市值和-指定列
| 参数 | 类型 | 说明 |
| --------- | -------- | ---------------- |
| `fundarr` | array | array of string, |
| `rdate` | datetime | ,报告期 |
| `tono` | int | ,截止索引号 |
| `field` | string | string, |
返回:float