feat(tsl-api-reference): add class and framework API lookup

This commit is contained in:
csh
2026-08-20 13:49:55 +08:00
parent 7233646398
commit 651c1f68d2
637 changed files with 25498 additions and 36673 deletions
@@ -22,13 +22,9 @@
```tsl
// 通过基准指数SW801010 申万农林牧渔预估 SW801011申万林业Ⅱ 在2026-01-30的成分权重数据
IndexID := "SW801011";
EndT := 20260130T;
BenchmarkID := "SW801010";
Return GetBkWeightByDate2(IndexID, BenchmarkID, EndT);
```
@@ -52,7 +48,6 @@ Return GetBkWeightByDate2(IndexID, BenchmarkID, EndT);
```tsl
// 取深交所指数列表。
Return GetIndexes(0);
```
@@ -76,9 +71,7 @@ Return GetIndexes(0);
```tsl
// 取深交所指数个数
Return IndexCount(0);
// 注:280是深交所截止到2014/1/24的指数个数。
// 输出:280,返回的是最新的指数个数
```
@@ -103,7 +96,6 @@ Return IndexCount(0);
```tsl
// 判断'SH000300'是否为指数代码
Return IsIndex('SH000300');
// 输出:1
```