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,470 @@
# 金融 / 基金 / 投资组合 / 持有人结构
## `fundhsorgangrow(rdate, rdate_2)`
声明:function
基金指定报告期内机构持有市值变动(万)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的机构持有市值变动(万)
setSysParam(pn_stock(), "OF000001");
return fundhsorgangrow(20191231, 20181231);
// 输出:860.475365116
```
## `fundhsorgangrow2(rdate, rdate_2)`
声明:function
基金指定报告期内机构持有份额变动
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
计算基金OF000009在2019年报的机构持有份额变动
setSysParam(pn_stock(), "OF000009");
return fundhsorgangrow2(20191231, 20181231);
// 输出:-517584542.92
```
## `fundhsorganpercent(rdate)`
声明:function
基金指定报告期内机构持有市值占净值比(%)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的机构持有市值占净值比(%)
setSysParam(pn_stock(), "OF000001");
return fundhsorganpercent(20191231);
// 输出:0.452437302449383
```
## `fundhsorganpercentgrow(rdate, rdate_2)`
声明:function
基金指定报告期内机构持有市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的机构持有市值占净值比变动(%)
setSysParam(pn_stock(), "OF000001");
return fundhsorganpercentgrow(20191231, 20181231);
// 输出:0.151944943259435
```
## `fundhsorganvalue(rdate)`
声明:function
基金指定报告期内机构持有市值(万)
| 参数 | 类型 | 说明 |
| ------- | ---- | --------------- |
| `rdate` | int | 整型,指定报告期 |
返回:float
### 示例
范例01:调用函数
```tsl
SetSysParam(pn_stock(), "OF000001");
return FundHSOrganValue(20191231);
```
## `fundhsothergrow(rdate, rdate_2)`
声明:function
基金指定报告期内其他持有市值变动(万)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF159919在2014年报的其他持有市值变动(万)
setSysParam(pn_stock(), "OF159919");
return fundhsothergrow(20141231, 20131231);
// 输出:3206350.87849476
```
## `fundhsothergrow2(rdate, rdate_2)`
声明:function
基金指定报告期内其他持有份额变动
| 参数 | 类型 | 说明 |
| --------- | ---- | --------------- |
| `rdate` | int | 整型,指定报告期 |
| `rdate_2` | int | 整型,同比报告期 |
返回:float
### 示例
范例01:调用函数
```tsl
计算基金OF159919在2014年报的其他持有份额变动
SetSysParam(pn_stock(), "OF159919");
return FundHSOtherGrow2(20141231, 20131231);
```
## `fundHSOtherPercent(rdate)`
声明:function
基金指定报告期内其他持有市值占净值比(%)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF159919在2014年报的其他持有市值占净值比(%)
setSysParam(pn_stock(), "OF159919");
return fundHsOtherPercent(20141231);
// 输出:69.9025987572471
```
## `fundHSOtherPercentGrow(rdate, rdate_2)`
声明:function
基金指定报告期内其他持有市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF159919在2014年报的其他持有市值占净值比变动(%)
setSysParam(pn_stock(), "OF159919");
return fundHsOtherPercentGrow(20141231, 20131231);
// 输出:69.9025987572471
```
## `fundHSOtherValue(rdate)`
声明:function
基金指定报告期内其他持有市值(万)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF159919在2014年报的其他持有市值(万)
setSysParam(pn_stock(), "OF159919");
return fundHsOtherValue(20141231);
// 输出:3206350.87849476
```
## `fundHSPersonGrow(rdate, rdate_2)`
声明:function
基金指定报告期内个人持有市值变动(万)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的个人持有市值变动(万)
setSysParam(pn_stock(), "OF000001");
return fundHsPersonGrow(20191231, 20181231);
// 输出:53009.883755893
```
## `fundhspersongrow2(rdate, rdate_2)`
声明:function
基金指定报告期内个人持有份额变动
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
计算基金OF000009在2019年报的个人持有份额变动
setSysParam(pn_stock(), "OF000009");
return fundhspersongrow2(20191231, 20181231);
// 输出:-16431107983.73
```
## `fundhspersonpercent(rdate)`
声明:function
基金指定报告期内个人持有市值占净值比(%)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的机构持有市值占净值比(%)
setSysParam(pn_stock(), "OF000001");
return fundhspersonpercent(20191231);
// 输出:99.5576381673184
```
## `fundhspersonpercentgrow(rdate, rdate_2)`
声明:function
基金指定报告期内个人持有市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的个人持有市值变动(万)
setSysParam(pn_stock(), "OF000001");
return fundhspersonpercentgrow(20191231, 20181231);
// 输出:-0.145310022556174
```
## `fundhspersonvalue(rdate)`
声明:function
基金指定报告期内个人持有市值(万)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF006872在2019年报的个人持有市值(万)
setSysParam(pn_stock(), "OF000001");
return fundhspersonvalue(20191231);
// 输出:457801.040840455
```
## `fundhspractitionergrow(rdate, rdate_2)`
声明:function
基金指定报告期内从业人员持有市值变动(万)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的从业人员持有市值变动(万)
setSysParam(pn_stock(), "OF000001");
return fundhspractitionergrow(20191231, 20181231);
// 输出:-35.813267566
```
## `fundhspractitionergrow2(rdate, rdate_2)`
声明:function
基金指定报告期内从业人员持有份额变动
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
计算基金OF000009在2019年报的从业人员持有份额变动
setSysParam(pn_stock(), "OF000009");
return fundhspractitionergrow2(20191231, 20181231);
// 输出:1889309.58
```
## `fundhspractitionerpercent(rdate)`
声明:function
基金指定报告期内从业人员持有市值占净值比(%)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的从业人员持有市值占净值比(%)
setSysParam(pn_stock(), "OF000001");
return fundhspractitionerpercent(20191231);
// 输出:0.00131867119665122
```
## `fundhspractitionerpercentgrow(rdate, rdate_2)`
声明:function
基金指定报告期内从业人员持有市值占净值比变动(%)
| 参数 | 类型 | 说明 |
| --------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
| `rdate_2` | integer | 整型,同比报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的从业人员持有市值占净值比变动(%)
setSysParam(pn_stock(), "OF000001");
return fundhspractitionerpercentgrow(20191231, 20181231);
// 输出:-0.00899592795489366
```
## `fundhspractitionervalue(rdate)`
声明:function
基金指定报告期内从业人员持有市值(万)
| 参数 | 类型 | 说明 |
| ------- | ------- | --------------- |
| `rdate` | integer | 整型,指定报告期 |
返回:real
### 示例
范例01:调用函数
```tsl
// 计算基金OF000001在2019年报的从业人员持有市值(万)
setSysParam(pn_stock(), "OF000001");
return fundhspractitionervalue(20191231);
// 输出:6.06371402
```