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,48 @@
# 金融 / 股票 / 沪深港通 / 中间函数
## `block_hsgInDatebyEndT(stock_arr, bkid, end_t)`
声明:function
股票入选沪深港通道的日期
| 参数 | 类型 | 说明 |
| ----------- | -------- | ---------------- |
| `stock_arr` | array | 数组。股票列表 |
| `bkid` | string | 字符串。板块代码 |
| `end_t` | datetime | 日期。截止日期 |
返回:array
### 示例
范例01:股票SH600519、SZ300765、SZ000029入选陆股通的日期
```tsl
// 股票SH600519、SZ300765、SZ000029入选陆股通的日期
return Block_HSGInDatebyEndT(Array("SH600519", "SZ300765", "SZ000029"), 'HG000002;HG000004', 20230901T);
```
## `stock_hsgBkIdToMarketId(bkid)`
声明:function
获取通道日历ID,南向为HSG000001,北向为HSG000002
| 参数 | 类型 | 说明 |
| ------- | ------ | -------------- |
| `bkid` | string | 证券。通道代码 |
返回:string
### 示例
范例01:陆股通的日历ID
```tsl
// 陆股通的日历ID
return Stock_HSGBKIDToMarketID('HG000002;HG000004');
// 输出:HSG000002
```