✨ 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:
+55
@@ -0,0 +1,55 @@
|
||||
# 金融 / 股票 / 转融券交易明细
|
||||
|
||||
## `stock_transferSecuritiesDetailVol(limite)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日指定期限的融出数量,与系统参数(证券代码、时间)相关
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ------- | --------- |
|
||||
| `limite` | integer | 整型,期限 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"SH600837"在20220811日期限为14天的融出数量
|
||||
|
||||
```tsl
|
||||
// "SH600837"在20220811日期限为14天的融出数量
|
||||
|
||||
SetSysParam(pn_stock(), "SH600837");
|
||||
|
||||
SetSysParam(pn_date(), 20220811T);
|
||||
|
||||
return Stock_TransferSecuritiesDetailVol(14);
|
||||
// 输出:10000
|
||||
```
|
||||
|
||||
## `stock_transferSecuritiesDetailVolQJ(begt, endt, limite)`
|
||||
|
||||
声明:function
|
||||
|
||||
区间指定期限的融出数量,与系统参数(证券代码)相关
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | -------- | ------------- |
|
||||
| `begt` | datetime | 日期,开始时间 |
|
||||
| `endt` | datetime | 日期,截止时间 |
|
||||
| `limite` | integer | 整型,期限 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"SH600837"在20220801-20220811期限为14天的融出数量
|
||||
|
||||
```tsl
|
||||
// "SH600837"在20220801-20220811期限为14天的融出数量
|
||||
|
||||
SetSysParam(pn_stock(), "SH600837");
|
||||
|
||||
return Stock_TransferSecuritiesDetailVolQJ(20220801T, 20220811T, 14);
|
||||
// 输出:20000
|
||||
```
|
||||
Reference in New Issue
Block a user