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
@@ -20,9 +20,7 @@
```tsl
// 2020年4月20日美元/人民币的中间价
SetSysParam(PN_Stock(), 'FXUSDCNY');
return ForExrateMidPrice(20200420T);
// 输出:7.0657
```
@@ -48,13 +46,9 @@ return ForExrateMidPrice(20200420T);
```tsl
// 2020年4月20日到4月30日美元/人民币的中间价数据
SetSysParam(PN_Stock(), 'FXUSDCNY');
begt := 20200420T;
endt := 20200430T;
return ForExrateMidPriceBegTEndT(begt, endt);
```
@@ -79,13 +73,9 @@ return ForExrateMidPriceBegTEndT(begt, endt);
```tsl
// 2020年4月20日到4月30日美元/人民币的收益率
SetSysParam(PN_Stock(), 'FXUSDCNY');
begt := 20200420T;
endt := 20200430T;
return ForExRateZf(BegT, EndT);
// 输出:-0.20786786956644
```
@@ -110,7 +100,6 @@ return ForExRateZf(BegT, EndT);
```tsl
// 港股长和00001对应的货币对代码
return GetCurrencyCodeBySecurityCode('HK00001');
// 输出:HKD
```