✨ feat(tsl-api-reference): expand and reorganize api catalog
Flatten builtin pages, add third-party and platform scopes, and import financial and data warehouse references. Keep the existing generated index without rebuilding after signature normalization.
This commit is contained in:
+47
@@ -0,0 +1,47 @@
|
||||
# 金融 / 股票 / 转融券余量
|
||||
|
||||
## `stock_transferSecuritiesAllowanceAmount()`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日融券余量,与系统参数(证券代码、时间)相关
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"SH600837"在20220811日融券余量
|
||||
|
||||
```tsl
|
||||
// "SH600837"在20220811日融券余量
|
||||
|
||||
SetSysParam(pn_stock(), "SH600837");
|
||||
|
||||
SetSysParam(pn_date(), 20220811T);
|
||||
|
||||
return Stock_TransferSecuritiesAllowanceAmount();
|
||||
// 输出:91331700
|
||||
```
|
||||
|
||||
## `stock_transferSecuritiesAllowanceVol()`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日融券余量,与系统参数(证券代码、时间)相关
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"SH600837"在20220811日融券余量
|
||||
|
||||
```tsl
|
||||
// "SH600837"在20220811日融券余量
|
||||
|
||||
SetSysParam(pn_stock(), "SH600837");
|
||||
|
||||
SetSysParam(pn_date(), 20220811T);
|
||||
|
||||
return Stock_TransferSecuritiesAllowanceVol();
|
||||
// 输出:9456300
|
||||
```
|
||||
Reference in New Issue
Block a user