♻️ refactor(tsl): rebuild codegen taxonomy

Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
This commit is contained in:
csh
2026-07-07 16:36:08 +08:00
parent 54c1c11e77
commit b6160676b4
763 changed files with 179921 additions and 154583 deletions
@@ -0,0 +1,76 @@
# 行情 / 其他
### `esBarginValue(event_date, index_id, date_type, number_of_days, return_type)`
事件前后N日交易数据,与系统证券pn_stock()有关。
| 参数 | 类型 | 说明 |
| ---------------- | -------- | ---------------------- |
| `event_date` | datetime | 日期类型,事件发生日 |
| `index_id` | string | 指数代码 |
| `date_type` | any | 整数类型,天数类型 |
| `number_of_days` | any | 整数类型,推移天数 |
| `return_type` | any | 整数类型,返回数据类型 |
返回:float
### `rdSubmitBaAvgVolRc(bs_type, n, option)`
加权委托量变化率(%)
| 参数 | 类型 | 说明 |
| --------- | ---- | --------------------------------------- |
| `bs_type` | any | 用户自定义,买卖类型,默认为0,取值如下: |
| `n` | any | 整数,前N档位。-1:表全部;1~5:前N档 |
| `option` | any | 用户自定义,加权方式,默认为0,取值如下: |
返回:float
### `rdSubmitBaljVolRc(bs_type, n)`
累计委托量变化率(%)
| 参数 | 类型 | 说明 |
| --------- | ---- | --------------------------------------- |
| `bs_type` | any | 用户自定义,买卖类型,默认为0,取值如下: |
| `n` | any | 整数,前N档位。-1:表全部;1~5:前N档 |
返回:float
### `stockMaxRateDown2(n)`
N日最大跌幅(%)(已复权)
| 参数 | 类型 | 说明 |
| ---- | ---- | -------------- |
| `n` | int | 整数,交易周期 |
返回:float
#### 示例
```tsl
SetSysParam(pn_stock(),'SZ000002');
SetSysParam(pn_cycle(),cy_day());
SetSysParam(pn_date(),inttodate(20120419));
return StockMaxRateDown2(5);
```
### `stockMaxRateUp2(n)`
N日最大涨幅(%)(已复权)
| 参数 | 类型 | 说明 |
| ---- | ---- | -------------- |
| `n` | int | 整数,交易周期 |
返回:float
#### 示例
```tsl
SetSysParam(pn_stock(),'SZ000002');
SetSysParam(pn_cycle(),cy_day());
SetSysParam(pn_date(),inttodate(20120419));
return StockMaxRateUp2(5);
```