✨ 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:
+235
@@ -0,0 +1,235 @@
|
||||
# 金融 / 股票 / 机构持股 / 板块
|
||||
|
||||
## `bk_holdDataByOrgan(r_date)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持股详情
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| -------- | ------- | ----------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的机构持股详情
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的机构持股详情
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldDataByOrgan(20250930);
|
||||
```
|
||||
|
||||
## `bk_holdDataByOrganType(r_date, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
指定类型机构持股详情
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持股详情
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持股详情
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldDataByOrganType(20250930, -1);
|
||||
```
|
||||
|
||||
## `bk_holdIncreaseNumberByOrgan(r_date_1, r_date_2, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持股增持家数
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date_1` | integer | 报告期,指定报告期 |
|
||||
| `r_date_2` | integer | 报告期,对比报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持股增持家数
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持股增持家数
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldIncreaseNumberByOrgan(20250930, 20240930, -1);
|
||||
// 输出:636
|
||||
```
|
||||
|
||||
## `bk_holdMValueByOrgan(r_date, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持有市值(万)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持有市值(万)
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持有市值(万)
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldMValueByOrgan(20250930, -1);
|
||||
// 输出:4306316118.67
|
||||
```
|
||||
|
||||
## `bk_holdMValueChangeByOrgan(r_date_1, r_date_2, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持有市值变动(万)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date_1` | integer | 报告期,指定报告期 |
|
||||
| `r_date_2` | integer | 报告期,对比报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持有市值变动(万)
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持有市值变动(万)
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldMValueChangeByOrgan(20250930, 20240930, -1);
|
||||
// 输出:249583591.33
|
||||
```
|
||||
|
||||
## `bk_holdNumberByOrgan(r_date, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持股数量
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持股数量
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持股数量
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldNumberByOrgan(20250930, -1);
|
||||
// 输出:1679
|
||||
```
|
||||
|
||||
## `bk_holdPercentage2ByOrgan(r_date, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持有市值占板块总市值(%)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构市值占板块总市值(%)
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构市值占板块总市值(%)
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldPercentage2ByOrgan(20250930, -1);
|
||||
// 输出:68.16
|
||||
```
|
||||
|
||||
## `bk_holdPercentageByOrgan(r_date, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持有市值占板块流通市值(%)
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date` | integer | 报告期,指定报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构市值占板块流通市值(%)
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构市值占板块流通市值(%)
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldPercentageByOrgan(20250930, -1);
|
||||
// 输出:86.05
|
||||
```
|
||||
|
||||
## `bk_holdReduceNumberByOrgan(r_date_1, r_date_2, organ_type)`
|
||||
|
||||
声明:function
|
||||
|
||||
机构持股减持家数
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------ | ------- | ------------------- |
|
||||
| `r_date_1` | integer | 报告期,指定报告期 |
|
||||
| `r_date_2` | integer | 报告期,对比报告期 |
|
||||
| `organ_type` | integer | 用户自定义,机构类别 |
|
||||
|
||||
返回:float
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:"上证A股"在20250930的所有机构持股减持家数
|
||||
|
||||
```tsl
|
||||
// "上证A股"在20250930的所有机构持股减持家数
|
||||
|
||||
setsysparam(pn_bk(), "上证A股");
|
||||
|
||||
return BK_HoldReduceNumberByOrgan(20250930, 20240930, -1);
|
||||
// 输出:1030
|
||||
```
|
||||
Reference in New Issue
Block a user