✨ 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:
+79
@@ -0,0 +1,79 @@
|
||||
# 金融报表分析 / 01.个股 / 1.11经营情况
|
||||
|
||||
## `stock_revenuesByIndustry(r_date_type, show_number, unit_type, show_order)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定证券主营构成(按行业)数据
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | ------- | -------------------- |
|
||||
| `r_date_type` | integer | 整型,报告期类型 |
|
||||
| `show_number` | integer | 整型,显示个数 |
|
||||
| `unit_type` | integer | 整型,显示单位 |
|
||||
| `show_order` | bool | 布尔类型,报告期逆排 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:返回万科A最近2个报告期的主营构成(按行业)数据
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), 'SZ000002');
|
||||
|
||||
return Stock_RevenuesByIndustry(0, 2, 2, 1);
|
||||
// 输出:万科A最近2个报告期的主营构成(按行业)数据
|
||||
```
|
||||
|
||||
## `stock_revenuesByProduct(r_date_type, show_number, unit_type, show_order)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定证券主营构成(按产品)数据
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | ------- | -------------------- |
|
||||
| `r_date_type` | integer | 整型,报告期类型 |
|
||||
| `show_number` | integer | 整型,显示个数 |
|
||||
| `unit_type` | integer | 整型,显示单位 |
|
||||
| `show_order` | bool | 布尔类型,报告期逆排 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:返回万科A最近2个报告期的主营构成(按产品)数据
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), 'SZ000002');
|
||||
|
||||
return Stock_RevenuesByProduct(0, 2, 2, 1);
|
||||
// 输出:万科A最近2个报告期的主营构成(按产品)数据
|
||||
```
|
||||
|
||||
## `stock_revenuesByRegion(r_date_type, show_number, unit_type, show_order)`
|
||||
|
||||
声明:function
|
||||
|
||||
返回指定证券主营构成(按区域)数据
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------------- | ------- | -------------------- |
|
||||
| `r_date_type` | integer | 整型,报告期类型 |
|
||||
| `show_number` | integer | 整型,显示个数 |
|
||||
| `unit_type` | integer | 整型,显示单位 |
|
||||
| `show_order` | bool | 布尔类型,报告期逆排 |
|
||||
|
||||
返回:array
|
||||
|
||||
### 示例
|
||||
|
||||
范例01:返回万科A最近2个报告期的主营构成(按区域)数据
|
||||
|
||||
```tsl
|
||||
setsysparam(pn_stock(), 'SZ000002');
|
||||
|
||||
return Stock_RevenuesByRegion(0, 2, 2, 1);
|
||||
// 输出:万科A最近2个报告期的主营构成(按区域)数据
|
||||
```
|
||||
Reference in New Issue
Block a user