+51
@@ -0,0 +1,51 @@
|
||||
# 金融 / 股票 / 转融券余量
|
||||
|
||||
## `stock_transferSecuritiesAllowanceAmount()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定日融券余量,与系统参数(证券代码、时间)相关
|
||||
|
||||
<!-- tags: 金融 股票 转融券余量 返回 获取 -->
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"SH600837"在20220811日融券余量
|
||||
|
||||
```tsl
|
||||
// "SH600837"在20220811日融券余量
|
||||
|
||||
SetSysParam(pn_stock(), "SH600837");
|
||||
|
||||
SetSysParam(pn_date(), 20220811T);
|
||||
|
||||
return Stock_TransferSecuritiesAllowanceAmount();
|
||||
// 输出:91331700
|
||||
```
|
||||
|
||||
## `stock_transferSecuritiesAllowanceVol()`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定日融券余量,与系统参数(证券代码、时间)相关
|
||||
|
||||
<!-- tags: 金融 股票 转融券余量 返回 获取 -->
|
||||
|
||||
返回: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