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:
csh
2026-08-10 18:26:24 +08:00
parent 2938300acb
commit 9010829c6d
1186 changed files with 243901 additions and 219769 deletions
@@ -0,0 +1,81 @@
# 金融 / 股票 / 融资融券 / 中间函数
## `stocksMarginTrading(stocks, endt)`
声明:function
指定日股票列表的融资交易额加总
| 参数 | 类型 | 说明 |
| -------- | -------- | -------------- |
| `stocks` | array | 数组。股票列表 |
| `endt` | datetime | 日期。截止日 |
返回:float
### 示例
范例01"SZ000001" 在20230512T的融资交易额
```tsl
// "SZ000001" 在20230512T的融资交易额
return StocksMarginTrading(array("SZ000001"), 20230512T);
// 输出:248894150
```
## `stocksTotalMarginTrading(stocks, endt)`
声明:function
指定日证券列表双融交易额
| 参数 | 类型 | 说明 |
| -------- | -------- | ----------------------- |
| `stocks` | array | 一维字符串数组,证券列表 |
| `endt` | datetime | 日期,截止日 |
返回:float
### 示例
范例01"SH600000"和"SZ000001"在20250314的双融交易额
```tsl
// "SH600000"和"SZ000001"在20250314的双融交易额
Stocks := array("SH600000", "SZ000001");
Endt := 20250314T;
return StocksTotalMarginTrading(Stocks, Endt);
// 输出:258200788
```
## `stocksTotalMarginTrading2(stocks, endt)`
声明:function
指定日证券列表双融交易额(含偿还)
| 参数 | 类型 | 说明 |
| -------- | -------- | ----------------------- |
| `stocks` | array | 一维字符串数组,证券列表 |
| `endt` | datetime | 日期,截止日 |
返回:float
### 示例
范例01"SH600000"和"SZ000001"在20250314的双融交易额(含偿还)
```tsl
// "SH600000"和"SZ000001"在20250314的双融交易额(含偿还)
Stocks := array("SH600000", "SZ000001");
Endt := 20250314T;
return StocksTotalMarginTrading2(Stocks, Endt);
// 输出:639867757
```