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,556 @@
# 金融 / 股票 / 十大股东 / 比例
## `stockMSHFreezePercent(report_date, g_type, from_no, to_no)`
声明:function
前N大股东冻结股占总股本比,与系统参数(证券代码)相关
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
| `from_no` | int | 整数,开始索引号 |
| `to_no` | int | 整数,截止索引号 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHFreezePercent(20250930, 0, 1, 10);
// 输出:0.68
```
## `stockMSHFreezePercentto10(report_date, g_type)`
声明:function
前10大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHFreezePercentto10(20250930, 0);
// 输出:0.68
```
## `stockMSHFreezePercentto3(report_date, g_type)`
声明:function
前3大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHFreezePercentto3(20250930, 0);
// 输出:0.68
```
## `stockMSHFreezePercentto5(report_date, g_type)`
声明:function
前5大股东冻结股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHFreezePercentto5(20250930, 0);
// 输出:0.68
```
## `stockMSHPercentage(report_date, g_type, from_no, to_no, type)`
声明:function
任意开始和截止索引号的股东持股所占总股本/流通股本的比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)Type =0时,计算股东持股占流通股比例;Type=1时,计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------------ |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
| `from_no` | int | 开始索引,默认1; |
| `to_no` | int | 整数,截止索引,默认10; |
| `type` | int | 整数,返回类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage(RDate, 1, 1, 10, 1);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage1(report_date, g_type)`
声明:function
第1大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage1 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage10(report_date, g_type)`
声明:function
第10大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage10 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage1To10(report_date, g_type)`
声明:function
前10大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage1to10 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage1To3(report_date, g_type)`
声明:function
前3大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | -------------- |
| `report_date` | int | 整数,报告期 |
| `g_type` | int | 整数,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage1to3 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage1To5(report_date, g_type)`
声明:function
前5大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage1to5 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage2(report_date, g_type)`
声明:function
第2大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage2 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage3(report_date, g_type)`
声明:function
第3大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage3 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage4(report_date, g_type)`
声明:function
第4大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage4 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage5(report_date, g_type)`
声明:function
第5大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage5 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage6(report_date, g_type)`
声明:function
第6大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage6 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage7(report_date, g_type)`
声明:function
第7大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage7 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage8(report_date, g_type)`
声明:function
第8大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage8 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPercentage9(report_date, g_type)`
声明:function
第9大股东所占比例(%)。 (1)Gtype=0时,股东持股数据从十大股东表中获得;Gtype=1时,股东持股数据从十大流通股东表中获得; (2)计算股东持股占总股本比例
| 参数 | 类型 | 说明 |
| ------------- | ---- | ---------------- |
| `report_date` | int | 整数,报告期; |
| `g_type` | int | 整数,股东类型; |
返回:float
### 示例
范例01:调用函数
```tsl
ov := BackUpSystemParameters();
SetSysParam(pn_stock(), "SZ000002");
RDate := NewReportDateOfEndT2(Inttodate(20121010));
R := StockMSHPercentage8 (RDate, 0);
RestoreSystemParameters(ov);
Return R;
```
## `stockMSHPledgePercent(report_date, g_type, from_no, to_no)`
声明:function
前N大股东质押股占总股本比,与系统参数(证券代码)相关
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
| `from_no` | int | 整数,开始索引号 |
| `to_no` | int | 整数,截止索引号 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHPledgePercent(20250930, 0, 1, 10);
// 输出:17.89
```
## `stockMSHPledgePercentto10(report_date, g_type)`
声明:function
前10大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHPledgePercentto10(20250930, 0);
// 输出:17.89
```
## `stockMSHPledgePercentto3(report_date, g_type)`
声明:function
前3大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHPledgePercentto3(20250930, 0);
// 输出:16.175
```
## `stockMSHPledgePercentto5(report_date, g_type)`
声明:function
前5大股东质押股占总股本比,与系统参数(证券代码)相关 总股本与PN_ChangedDateMode()=1相关,表示只考虑变动日的情况
| 参数 | 类型 | 说明 |
| ------------- | ---- | ------------------- |
| `report_date` | int | 报告期,指定报告期 |
| `g_type` | int | 用户自定义,股东类型 |
返回:float
### 示例
范例01:调用函数
```tsl
setsysparam(pn_stock(), "SH601500");
return StockMSHPledgePercentto5(20250930, 0);
// 输出:17.86
```