feat(tsl-api-reference): expand API and module coverage

This commit is contained in:
csh
2026-08-14 17:12:55 +08:00
parent 8f1056130d
commit 3d3036ebe1
571 changed files with 47842 additions and 14458 deletions
@@ -27,6 +27,39 @@ return fundIcCentralization(r_date, 3);
// 输出:52.49
```
## `fundICCentralizationGrow(r_date, r_date_2, to_no)`
声明:function
返回基金在两个报告期之间前 N 大行业集中度的变化值
<!-- tags: 金融 基金 投资组合 行业配置 行业集中度 变化 前N -->
| 参数 | 类型 | 说明 |
| ---------- | ------- | ------------ |
| `r_date` | integer | 当前报告期 |
| `r_date_2` | integer | 对比报告期 |
| `to_no` | integer | 行业数量范围 |
to_no 取值
- `0` — 全部行业
- `3` — 前三名行业
- `5` — 前五名行业
- `10` — 前十名行业
返回:real
### 示例
范例01:查询前十大行业集中度变化
```tsl
setSysParam(pn_stock(), "OF040001");
return fundICCentralizationGrow(20110630, 20100630, 10);
// 输出:8.028092
```
## `fundicindustrypercent2(rdate, name)`
声明:function
@@ -311,6 +344,32 @@ return fundIcMarketValue2GrowRatio(r_date1, r_date2, 10);
// 输出:29.29
```
## `fundICMarketValueGrow(r_date, r_date_2, industry_name)`
声明:function
返回基金指定行业投资市值在两个报告期之间的变动额
<!-- tags: 金融 基金 投资组合 行业配置 行业市值 市值变动 查询 -->
| 参数 | 类型 | 说明 |
| --------------- | ------- | ---------- |
| `r_date` | integer | 当前报告期 |
| `r_date_2` | integer | 对比报告期 |
| `industry_name` | string | 行业名称 |
返回:real
### 示例
范例01:查询金融保险业投资市值变动额
```tsl
setSysParam(pn_stock(), "OF040001");
return fundICMarketValueGrow(20110630, 20100630, "金融、保险业");
// 输出:-163366000
```
## `fundICMarketValueGrowRatio(r_date, r_date_2, industry_name)`
声明:function