feat(tsl-api-reference): index class and unit APIs

Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
This commit is contained in:
csh
2026-07-29 15:47:46 +08:00
parent 9edc8fc868
commit 13be5ea0aa
239 changed files with 39157 additions and 12846 deletions
@@ -2,6 +2,8 @@
## `stddevByMonth(beg_t, end_t)`
声明:function
月度收益率标准差(专用),与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -21,6 +23,8 @@ return StddevByMonth(20000101T,20180927T);
## `stockAlphaBetaAndRisk(index_id, beg_t, end_t)`
声明:function
指定日α、β、系统风险、非系统风险,与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -41,6 +45,8 @@ return StockAlphaBetaAndRisk("SH000001",20000101T,20180927T);
## `stockBeta3(index_id, beg_t)`
声明:function
β系数(定基期),与当前股票pn_stock(),当前时间pn_date()相关。 注:(用复权后的日线数据计算)
| 参数 | 类型 | 说明 |
@@ -59,6 +65,8 @@ return StockBeta3("SH000018",20000101T);
## `stockKurtosis(index_id, beg_t, end_t)`
声明:function
指定日峰度,与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -79,6 +87,8 @@ return StockKurtosis("SH000018",20000101T,20180927T);
## `StockPMI_V(end_t)`
声明:function
指定日市销率(最近12个月),与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -89,6 +99,8 @@ return StockKurtosis("SH000018",20000101T,20180927T);
## `stockSkew(index_id, beg_t, end_t)`
声明:function
指定日偏斜度,与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -109,6 +121,8 @@ return StockSkew("SH000018",20000101T,20180927T);
## `stockVaR3(beg_t)`
声明:function
VaR(定基期),与当前股票pn_stock(),当前时间pn_date()相关。 注:(用复权后的日线数据计算)
| 参数 | 类型 | 说明 |
@@ -127,6 +141,8 @@ return StockVaR3(20000101T);
## `stockVolatility(beg_t, end_t, method_type)`
声明:function
指定日波动率(%),与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |
@@ -147,6 +163,8 @@ return StockVolatility(20000101T,20180927T,cy_day())
## `stockVolatility4(n)`
声明:function
波动率(定日期间隔),与当前股票pn_stock(),当前时间pn_date()相关。
| 参数 | 类型 | 说明 |