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,64 @@
# 板块 / 债券配置
### `fundsbcbondpercent2(fundarr, rdate, name)`
统计基金列表中指定报告期内指定债券类型市值占总值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `name` | string | string,债券类型 |
返回:float
### `fundsbcbondpercent4(fundarr, rdate, name)`
统计基金列表中指定报告期内指定债券类型市值占固定收益投资市值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------------ |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | ,指定报告期 |
| `name` | string | ,债券类型 |
返回:float
### `fundsbcbondvaluegrowratio(fundarr, rdate, rdate2, name)`
统计基金列表中指定报告期内指定债券类型市值变比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `rdate2` | datetime | reportingperiod,同比报告期 |
| `name` | string | string,债券类型 |
返回:float
### `fundsbcnonpercentgrow4(fundarr, rdate, rdate2, topn)`
统计基金列表中指定报告期内第N名债券类型市值占固定收益投资市值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------------ |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | ,指定报告期 |
| `rdate2` | datetime | ,同比报告期 |
| `topn` | int | integer,第N |
返回:float
### `fundsbcsumnpercentgrow4(fundarr, rdate, rdate2, topn)`
统计基金列表中指定报告期内前N名债券类型市值占固定收益投资市值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | ------------------------ |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | ,指定报告期 |
| `rdate2` | datetime | ,同比报告期 |
| `topn` | int | integer,前N |
返回:float