📝 docs(tsl-api): add missing financial API codegen entries
This commit is contained in:
@@ -168,6 +168,31 @@ return GetBKGoMarketByDate("SZ399102", 20201201T, 1);
|
||||
return GetBKNameToId("A股", 20201201T);
|
||||
```
|
||||
|
||||
## `getIndexAdjustDate(index_id, beg_t, end_t)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定指数在起止日期区间内的全部调整日序列
|
||||
|
||||
<!-- tags: 金融 指数 指数情况 调整日 调仓 日期 序列 -->
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ---------- | ---------- | -------- |
|
||||
| `index_id` | index_list | 指数代码 |
|
||||
| `beg_t` | date | 开始日期 |
|
||||
| `end_t` | date | 截止日期 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:取得沪深 300 在 2025 年内的全部调整日
|
||||
|
||||
```tsl
|
||||
return getIndexAdjustDate('SH000300', 20250101T, 20251231T);
|
||||
// 输出:array(20250304,20250616,20250905,20251215)
|
||||
```
|
||||
|
||||
## `stock_hsgEligibleInfo(bkid, stockid)`
|
||||
|
||||
声明:function
|
||||
|
||||
Reference in New Issue
Block a user