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
@@ -44,7 +44,6 @@ Return GetAllIndexIDs(20251029T);
```tsl
// SWHY740000申万煤炭在20140805的成分数据
return GetBKBacktrackByDate("SWHY740000", 20140805T);
```
@@ -86,7 +85,6 @@ return GetBKBacktrackByDate("SWHY740000", 20140805T);
```tsl
// 获取沪深300在2012年9月8日的成份股列表。
Return GetBkByDate('SH000300', inttodate(20120908));
```
@@ -94,7 +92,6 @@ Return GetBkByDate('SH000300', inttodate(20120908));
```tsl
// 创业板综在20201201的成分数据
return GetBKByDate("SZ399102", 20201201T, 1); // 取权重中的成份股替代
```
@@ -118,8 +115,7 @@ return GetBKByDate("SZ399102", 20201201T, 1); // 取权重中的成份股替代
范例01:调用 GetBKByIndexName
```tsl
A股在20201201的成分数据
// A股在20201201的成分数据
return GetBKByIndexName("A股", 20201201T);
```
@@ -145,7 +141,6 @@ return GetBKByIndexName("A股", 20201201T);
```tsl
// 创业板综在20201201的成分数据
return GetBKGoMarketByDate("SZ399102", 20201201T, 1);
```
@@ -169,8 +164,7 @@ return GetBKGoMarketByDate("SZ399102", 20201201T, 1);
范例01:调用 GetBKNameToId
```tsl
创业板综在20201201的成分数据
// 创业板综在20201201的成分数据
return GetBKNameToId("A股", 20201201T);
```