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 @@
## `deltaOfNDay(exp, n)`
声明:function
当前值-前N日值。
| 参数 | 类型 | 说明 |
@@ -21,6 +23,8 @@ return DeltaOfNDay(@close(),5);
## `percentRankOfNDay(exp, n, cache_str)`
声明:function
当前值在最近N天的百分位排名,Nan值不参与排名。
| 参数 | 类型 | 说明 |
@@ -41,6 +45,8 @@ return PercentRankOfNDay(@close(),10,"");
## `signedPower(exp, n)`
声明:function
符号次方。特殊当x=0时,N<0,返回NanN=0, 返回1N>0, 返回0。
| 参数 | 类型 | 说明 |
@@ -60,6 +66,8 @@ return SignedPower(@close(),3);
## `slopeofNday(exp1, exp2, n, cache_str)`
声明:function
N日线性回归系数。
| 参数 | 类型 | 说明 |
@@ -81,6 +89,8 @@ return SlopeofNday(@close(),@open(),30,"");
## `wmaofNday(exp, n, cache_astr)`
声明:function
N日衰减加权。最新值权重最大,权重归一化,结果同DecayAvgOfNDay。
| 参数 | 类型 | 说明 |