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,57 @@
# 指数 / 股份回购
### `indexRepurchaseMv(index_id, end_t, rtype, stype, ex_rate)`
获得指定日指数成分股的累计回购金额
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `end_t` | datetime | 日期,截止日期 |
| `rtype` | any | 用户自定义,回购类型 |
| `stype` | any | 用户自定义,股票种类 |
| `ex_rate` | any | 用户自定义,汇率类型 |
返回:any
### `indexRepurchaseMvqj(index_id, beg_t, end_t, rtype, stype, ex_rate)`
获得区间指数成分股的累计回购金额
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `beg_t` | datetime | 日期,开始日期 |
| `end_t` | datetime | 日期,截止日期 |
| `rtype` | any | 用户自定义,回购类型 |
| `stype` | any | 用户自定义,股票种类 |
| `ex_rate` | any | 用户自定义,汇率类型 |
返回:any
### `indexRepurchaseStockNum(index_id, end_t, rtype, stype)`
获得指定日指数成分股发生回购的家数
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `end_t` | datetime | 日期,截止日期 |
| `rtype` | any | 用户自定义,回购类型 |
| `stype` | any | 用户自定义,股票种类 |
返回:any
### `indexRepurchaseStockNumQj(index_id, beg_t, end_t, rtype, stype)`
获得区间指数成分股发生回购的家数
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `beg_t` | datetime | 日期,开始日期 |
| `end_t` | datetime | 日期,截止日期 |
| `rtype` | any | 用户自定义,回购类型 |
| `stype` | any | 用户自定义,股票种类 |
返回:any