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 @@
## `avgOfRepPeriod(exp, begreport, end_year)`
声明:function
返回当前股票从报告期BegReport到EndYear同季度报告期的Expr指标的平均值,与系统参数(股票)相关。
| 参数 | 类型 | 说明 |
@@ -22,6 +24,8 @@ return AvgOfRepPeriod(@reportofall(46002,GetSysParam('DefaultRepID')),20150331,2
## `avgOfRepPeriod2(exp, beg_report, end_report, report_type)`
声明:function
表达式区间平均
| 参数 | 类型 | 说明 |
@@ -42,6 +46,8 @@ return AvgOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),20201231,
## `growthOfRepPeriod2(exp, beg_report, end_report, return_type, report_type)`
声明:function
表达式区间增长
| 参数 | 类型 | 说明 |
@@ -63,6 +69,8 @@ return GrowthOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),202012
## `highestOfRepPeriod2(exp, beg_report, end_report, report_type)`
声明:function
表达式区间最高
| 参数 | 类型 | 说明 |
@@ -83,6 +91,8 @@ return HighestOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),20201
## `kurtosisOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间峰度
| 参数 | 类型 | 说明 |
@@ -102,6 +112,8 @@ return KurtosisOfPeriod(@close(),20230101T,20231010T);
## `lowestOfRepPeriod2(exp, beg_report, end_report, report_type)`
声明:function
表达式区间最低
| 参数 | 类型 | 说明 |
@@ -122,6 +134,8 @@ return LowestOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),202012
## `medianOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间中位数
| 参数 | 类型 | 说明 |
@@ -141,6 +155,8 @@ return MedianOfPeriod(@close(),20230101T,20231010T);
## `occuredOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间发生次数
| 参数 | 类型 | 说明 |
@@ -160,6 +176,8 @@ return OccuredOfPeriod(@IsUp(),20230101T,20231010T);
## `occuredOfRepPeriod(exp, begreport, end_year)`
声明:function
返回当前股票从BegReport到EndYear的同季度报告期数,与系统参数(股票)相关。
| 参数 | 类型 | 说明 |
@@ -179,6 +197,8 @@ return OccuredOfRepPeriod(@reportofall(46002,GetSysParam('DefaultRepID')),201503
## `percentRankOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间分位数
| 参数 | 类型 | 说明 |
@@ -198,6 +218,8 @@ return PercentRankOfPeriod(@close(),20230101T,20231010T);
## `skewnessOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间偏度
| 参数 | 类型 | 说明 |
@@ -217,6 +239,8 @@ return SkewnessOfPeriod(@close(),20230101T,20231010T);
## `stdOfPeriod(exp, beg_date, end_date)`
声明:function
表达式区间标准差
| 参数 | 类型 | 说明 |
@@ -236,6 +260,8 @@ return StdOfPeriod(@close(),20230101T,20231010T);
## `stdOfRepPeriod2(exp, beg_report, end_report, report_type)`
声明:function
表达式区间标准差
| 参数 | 类型 | 说明 |
@@ -256,6 +282,8 @@ return StdOfRepPeriod2(@reportofall(46002,GetSysParam('DefaultRepID')),20201231,
## `sumOfRepPeriod(exp, begreport, end_year)`
声明:function
返回当前股票Expr指标从报告期BegReport到EndYear同季度报告期的和,与系统参数(股票)相关。
| 参数 | 类型 | 说明 |
@@ -276,6 +304,8 @@ return SumOfRepPeriod(@reportofall(46002,GetSysParam('DefaultRepID')),20150331,2
## `sumOfRepPeriod2(exp, beg_report, end_report, report_type)`
声明:function
表达式区间和
| 参数 | 类型 | 说明 |