✨ feat(tsl-api-reference): add class and framework API lookup
This commit is contained in:
@@ -20,9 +20,7 @@
|
||||
|
||||
```tsl
|
||||
Setsysparam(pn_Stock(), "SH010107");
|
||||
|
||||
SetSysParam(PN_Date(), 20180527T);
|
||||
|
||||
return bdV_AccruedInterest(0);
|
||||
// 输出:1.3422
|
||||
```
|
||||
@@ -47,10 +45,8 @@ return bdV_AccruedInterest(0);
|
||||
|
||||
```tsl
|
||||
Setsysparam(pn_Stock(), "SH010107");
|
||||
|
||||
SetSysParam(PN_Date(), 20180527T);
|
||||
|
||||
ReturnbdV_Convexity(0);
|
||||
return bdV_Convexity(0);
|
||||
// 输出:5.1931
|
||||
```
|
||||
|
||||
@@ -74,9 +70,7 @@ ReturnbdV_Convexity(0);
|
||||
|
||||
```tsl
|
||||
Setsysparam(pn_Stock(), "SH010107");
|
||||
|
||||
SetSysParam(PN_Date(), 20180527T);
|
||||
|
||||
return bdV_ModifiedDuration(0);
|
||||
// 输出:2.9245
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user