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,49 @@
# 板块 / 累计买入和卖出
### `fundsbsstockbuypercent(fundarr, rdate, stockid)`
统计指定报告期基金列表汇总的指定股票累计买入占期初净值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `stockid` | string | string,股票代码 |
返回:float
### `fundsbsstocknetrank(fundarr, rdate, stockid)`
统计指定报告期基金列表汇总的指定股票累计净买入排名
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `stockid` | string | string,股票代码 |
返回:float
### `fundsbsstocksellamount(fundarr, rdate, stockid)`
统计指定报告期基金列表汇总的指定股票累计卖出金额(万)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `stockid` | string | string,股票代码 |
返回:float
### `fundsbssumnbuypercent2(fundarr, rdate, topn)`
统计指定报告期基金列表的前N名股票累计买入占期初净值比(%)
| 参数 | 类型 | 说明 |
| --------- | -------- | -------------------------- |
| `fundarr` | array | array of string,基金列表 |
| `rdate` | datetime | reportingperiod,指定报告期 |
| `topn` | int | integer,前N |
返回:float