✨ 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:
+48
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user