✨ 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:
+68
@@ -0,0 +1,68 @@
|
||||
# 金融 / 基金 / 基本信息 / 中间函数
|
||||
|
||||
## `fundGetAttributeValues(fundid, endt, attributetype)`
|
||||
|
||||
声明:function
|
||||
|
||||
基金指定日期有效的的基金属性值数据
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| --------------- | -------- | ---------------- |
|
||||
| `fundid` | string | 字符串。基金代码 |
|
||||
| `endt` | datetime | 日期。截止日期 |
|
||||
| `attributetype` | string | 字符串。属性名称 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用 FundGetAttributeValues
|
||||
|
||||
```tsl
|
||||
return FundGetAttributeValues('OF000001', 20210302T);
|
||||
```
|
||||
|
||||
## `fundOperateFundsbyBkname(bk_name, end_t)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日指定板块中还在运作的基金
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| --------- | ----------- | ---------------- |
|
||||
| `bk_name` | string | 字符串。板块名称 |
|
||||
| `end_t` | t_date_time | 日期。截止日期 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:调用函数
|
||||
|
||||
```tsl
|
||||
// 20200924日指定日指定板块中还在运作的基金列表
|
||||
return fundOperateFundsbyBkname("封闭;退市封闭", 20200924T);
|
||||
```
|
||||
|
||||
## `fundsOperateFunds(funds, end_t)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定日指定列表中还在运作的基金
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------- | -------- | -------------- |
|
||||
| `funds` | array | 数组。基金列表 |
|
||||
| `end_t` | datetime | 日期。截止日期 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:20200924日指定日指定板块中还在运作的基金列表
|
||||
|
||||
```tsl
|
||||
// 20200924日指定日指定板块中还在运作的基金列表
|
||||
|
||||
return FundsOperateFunds(getbk("封闭;退市封闭"), 20200924T);
|
||||
```
|
||||
Reference in New Issue
Block a user