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 @@
## `bondIvDuration()`
声明:function
返回当前债券指数指定日的久期,与系统参数(证券,时间)相关。
返回:float
@@ -16,6 +18,8 @@ return BondIVDuration();  //结果:6.9821
## `bondIvMaturityYield()`
声明:function
返回当前债券指数指定日的到期收益率,与系统参数(证券,时间)相关。
返回:float
@@ -30,6 +34,8 @@ return BondIVMaturityYield();  //结果:3.0545
## `bondIvqk(begt, endt)`
声明:function
返回当前债券指数的区间债券估值数据,与系统参数(证券,时间)相关。
| 参数 | 类型 | 说明 |
@@ -49,6 +55,8 @@ return BondIVQK(20200914T,20200924T);
## `bondIvCloseDuration()`
声明:function
返回当前债券指数指定日的收盘价久期,与系统参数(证券,时间)相关。
返回:REAL
@@ -64,6 +72,8 @@ return bondIvCloseDuration();//结果:0
## `bondIvConvexity()`
声明:function
返回当前债券指数指定日的凸性,与系统参数(证券,时间)相关。
返回:REAL
@@ -79,6 +89,8 @@ return bondIvConvexity();  //结果:54.3261
## `bondIvqk2(n)`
声明:function
返回当前债券指数N日债券估值数据,与系统参数(证券,时间)相关。
| 参数 | 类型 | 说明 |
@@ -99,6 +111,8 @@ return bondIvqk2(5);
## `bondIvRemainDuration()`
声明:function
返回当前债券指数在指定日的剩余期限,与系统参数(证券,时间)相关。
返回:REAL