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,165 @@
# 指数 / 限售解禁
### `indexRestrictedBanAndNrsPercent(index_id, endt, vtype)`
指定日解禁市值占未流通市值(解禁前)比例(%)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanAndNrsPercentQj(index_id, begt, endt, vtype)`
区间解禁市值占未流通市值(解禁前)比例(%)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `begt` | datetime | 日期,开始日期 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanAndRsPercent(index_id, endt, vtype)`
指定日解禁市值占流通市值(解禁前)比例(%)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanAndRsPercentQj(index_id, begt, endt, vtype)`
区间解禁市值占流通市值(解禁前)比例(%)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `begt` | datetime | 日期,开始日期 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanFutureAndNrsPercentQj(index_id, endt, vtype, dtype)`
指定日未来解禁市值占未流通市值(解禁前)比例(%),其中未来解禁市值: 小于等于今天(today()):SUM(解禁数量\*收盘价(历史)) 大于今天(today()):SUM(解禁数量\*收盘价(Endt))
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
| `dtype` | int | 用户自定义,区间时间 |
返回:float
### `indexRestrictedBanFutureAndRsPercentQj(index_id, endt, vtype, dtype)`
指定日未来解禁市值占流通市值(解禁前)比例(%),其中未来解禁市值: 小于等于今天(today()):SUM(解禁数量\*收盘价(历史)) 大于今天(today()):SUM(解禁数量\*收盘价(Endt))
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
| `dtype` | int | 用户自定义,区间时间 |
返回:float
### `indexRestrictedBanFutureMvPercentQj(index_id, endt, vtype, dtype)`
指定日未来解禁市值占总市值比例(%),其中未来解禁市值: 小于等于今天(today()):SUM(解禁数量\*收盘价(历史)) 大于今天(today()):SUM(解禁数量\*收盘价(Endt))
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
| `dtype` | int | 用户自定义,区间时间 |
返回:float
### `indexRestrictedBanFutureNum(index_id, endt, vtype, dtype)`
指定日未来解禁家数
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
| `dtype` | int | 用户自定义,区间时间 |
返回:float
### `indexRestrictedBanMv(index_id, endt, vtype)`
指定日解禁市值(单位:元)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanMvPercent(index_id, endt, vtype)`
指定日解禁市值占总市值比例(%)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanMvqj(index_id, begt, endt, vtype)`
区间解禁市值(单位:元)
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `begt` | datetime | 日期,开始日期 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanNum(index_id, endt, vtype)`
指定日解禁家数
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float
### `indexRestrictedBanNumQj(index_id, begt, endt, vtype)`
区间解禁家数
| 参数 | 类型 | 说明 |
| ---------- | -------- | ------------------- |
| `index_id` | string | 指数,指数代码 |
| `begt` | datetime | 日期,开始日期 |
| `endt` | datetime | 日期,截止日期 |
| `vtype` | int | 用户自定义,限售类型 |
返回:float