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,120 @@
# 金融报表分析 / 01.个股 / 1.17沪深港通
## `tsWeb_stock_hsgENewTradingMarketInfo(stock_id, beg_t, end_t, industry_type)`
声明:function
报表,获取个券指定日最新持仓及相关区间数据(市值单位:亿元/亿港币,数量单位:亿)
| 参数 | 类型 | 说明 |
| --------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `stock_id` | string | 字符串。股票代码 |
| `beg_t` | t_date_time | TDateTime类型。开始日期 |
| `end_t` | t_date_time | TDateTime类型。截止日期 |
| `industry_type` | integer | 整型。所属行业,取值如下: 显示名 取值 申万一级行业 1 申万二级行业 2 申万三级行业 3 中证一级行业 4 中证二级行业 5 中证三级行业 6 证监会一级行业 7 证监会二级行业 8 |
返回:array
### 示例
范例01:返回2023-07-10至2024-07-10日万科A于中证一级行业最新持仓及相关区间数据
```tsl
IndustryType := 4;
StockID := "SZ000002";
BegT := inttodate(20230710);
EndT := inttodate(20240710);
return TSWEB_Stock_HSGENewTradingMarketInfo(StockID, BegT, EndT, IndustryType);
// 输出:2023-07-10至2024-07-10日万科A于中证一级行业最新持仓及相关区间数据
```
## `tsWeb_stock_hsgHolingAndMarketTrend(stock_id, beg_t, end_t)`
声明:function
报表,获取指定股票区间持仓数据(市值单位:亿元/亿港币)
| 参数 | 类型 | 说明 |
| ---------- | ----------- | ----------------------- |
| `stock_id` | string | 字符串。股票代码 |
| `beg_t` | t_date_time | TDateTime类型。开始日期 |
| `end_t` | t_date_time | TDateTime类型。截止日期 |
返回:array
### 示例
范例01:返回2023-07-10至2024-07-10日万科A持仓数据
```tsl
StockID := "SZ000002";
BegT := inttodate(20230710);
EndT := inttodate(20240710);
return TSWEB_Stock_HSGHolingAndMarketTrend(StockID, BegT, EndT);
// 输出:2023-07-10至2024-07-10日万科A持仓数据
```
## `tsWeb_stock_hsgHolingChangeAndMarketTrend(stock_id, beg_t, end_t)`
声明:function
报表,获取指定股票区间持仓变动(市值单位:亿元/亿港币)
| 参数 | 类型 | 说明 |
| ---------- | ----------- | ----------------------- |
| `stock_id` | string | 字符串。股票代码 |
| `beg_t` | t_date_time | TDateTime类型。开始日期 |
| `end_t` | t_date_time | TDateTime类型。截止日期 |
返回:array
### 示例
范例01:返回2023-07-10至2024-07-10日万科A持仓变动
```tsl
StockID := "SZ000002";
BegT := inttodate(20230710);
EndT := inttodate(20240710);
return TSWEB_Stock_HSGHolingChangeAndMarketTrend(StockID, BegT, EndT);
// 输出:2023-07-10至2024-07-10日万科A持仓变动
```
## `tsWeb_stock_hsgIndustryHoldingInfo(stock_id, end_t, industry_type)`
声明:function
报表,获取指定股票区间持仓变动(市值单位:亿元/亿港币)
| 参数 | 类型 | 说明 |
| --------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `stock_id` | string | 字符串。股票代码 |
| `end_t` | t_date_time | TDateTime类型。截止日期 |
| `industry_type` | integer | 整型。所属行业,取值如下: 显示名 取值 申万一级行业 1 申万二级行业 2 申万三级行业 3 中证一级行业 4 中证二级行业 5 中证三级行业 6 证监会一级行业 7 证监会二级行业 8 |
返回:array
### 示例
范例01:返回截止至2024-07-10日万科A于中证一级行业同行业最新持仓及增减
```tsl
IndustryType := 4;
StockID := "SZ000002";
EndT := inttodate(20240710);
return TSWEB_Stock_HSGIndustryHoldingInfo(StockID, EndT, IndustryType);
// 输出:截止至2024-07-10日万科A于中证一级行业同行业最新持仓及增减
```