✨ feat(tsl-api-reference): add class and framework API lookup
This commit is contained in:
+1
-4
@@ -20,12 +20,9 @@
|
||||
|
||||
```tsl
|
||||
endt := 20221220T;
|
||||
|
||||
setsysparam(pn_stock(), "OP10004850");
|
||||
|
||||
setsysparam(pn_date(), endt);
|
||||
|
||||
return OP_ResidualMaturity(); // 0.0219(年)
|
||||
return OP_ResidualMaturity(); // 输出:0.0219(年)
|
||||
```
|
||||
|
||||
## `optionContractUnit(endt)`
|
||||
|
||||
Reference in New Issue
Block a user