📝 docs(tsl): sync api skill with corrected codegen

Mirror docs/tsl/codegen into the bundled tsl-api-reference skill and rebuild the function index.

Remove invalid duplicate API entries for cb_delistedbydate, createhttpsession, exportJsonString, and Anova_Bartlett so exact lookup returns the canonical entries.
This commit is contained in:
csh
2026-07-07 16:47:03 +08:00
parent bbf6977f57
commit c0bf0358e0
278 changed files with 45212 additions and 35782 deletions
@@ -1,6 +1,6 @@
# 基金 / 基金管理人份额变动
### `fundManagerBuySharesOfRate(r_date)`
## `fundManagerBuySharesOfRate(r_date)`
获得指定基金指定报告期申购份额占基金份额(%)=指定报告期申购份额/指定报告期基金总份额\*100%,系统参数:证券代码
@@ -10,14 +10,14 @@
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),'OF450005');
return FundManagerBuySharesOfRate(20190630);
```
### `fundManagerBuySharesOfRateLYear(r_date)`
## `FundManagerBuySharesOfRate_LYear(r_date)`
获得指定基金指定报告期最近1年申购份额占基金份额(%),系统参数:证券代码
@@ -27,7 +27,7 @@ return FundManagerBuySharesOfRate(20190630);
返回:float
### `fundManagerBuySharesOfRateQj(r_date2, r_date)`
## `FundManagerBuySharesOfRate_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的申购份额占基金份额(%)=申购总份额/区间内最后报告期基金总份额\*100%,系统参数:证券代码
@@ -38,7 +38,7 @@ return FundManagerBuySharesOfRate(20190630);
返回:float
### `fundManagerBuySharesOfRateYear(r_date)`
## `FundManagerBuySharesOfRate_Year(r_date)`
获得指定基金指定报告期本年以来申购份额占基金份额(%),系统参数:证券代码
@@ -48,7 +48,7 @@ return FundManagerBuySharesOfRate(20190630);
返回:float
### `fundManagerBuySharesQj(r_date2, r_date)`
## `FundManagerBuyShares_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的申购份额总和,系统参数:证券代码
@@ -59,7 +59,7 @@ return FundManagerBuySharesOfRate(20190630);
返回:float
### `fundManagerBuyValue(rdate)`
## `fundManagerBuyValue(rdate)`
获得指定基金指定报告期的申购市值=指定报告期申购份额\*指定报告期基金净值,系统参数:证券代码
@@ -69,14 +69,14 @@ return FundManagerBuySharesOfRate(20190630);
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),'OF450005');
return FundManagerBuyValue(20200630);
```
### `fundManagerBuyValueQj(r_date2, r_date)`
## `FundManagerBuyValue_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的申购市值,系统参数:证券代码
@@ -87,7 +87,7 @@ return FundManagerBuyValue(20200630);
返回:float
### `fundManagerBuyValueYear(r_date)`
## `FundManagerBuyValue_Year(r_date)`
获得指定基金指定报告期本年以来申购市值,系统参数:证券代码
@@ -97,7 +97,7 @@ return FundManagerBuyValue(20200630);
返回:float
### `fundManagerSaleSharesOfRateQj(r_date2, r_date)`
## `FundManagerSaleSharesOfRate_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的赎回份额占基金份额(%)=赎回总份额/区间内最后报告期基金总份额\*100%,系统参数:证券代码
@@ -108,7 +108,7 @@ return FundManagerBuyValue(20200630);
返回:float
### `fundManagerSaleSharesQj(r_date2, r_date)`
## `FundManagerSaleShares_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的赎回份额总和,系统参数:证券代码
@@ -119,7 +119,7 @@ return FundManagerBuyValue(20200630);
返回:float
### `fundManagerSaleValue(r_date)`
## `fundManagerSaleValue(r_date)`
获得指定基金指定报告期的赎回市值=指定报告期赎回份额\*指定报告期基金净值,系统参数:证券代码
@@ -129,14 +129,14 @@ return FundManagerBuyValue(20200630);
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),'OF450005');
return FundManagerSaleValue(20190630);
```
### `fundManagerSaleValueLYear(r_date)`
## `FundManagerSaleValue_LYear(r_date)`
获得指定基金指定报告期最近1年赎回市值,系统参数:证券代码
@@ -146,7 +146,7 @@ return FundManagerSaleValue(20190630);
返回:float
### `fundManagerSaleValueQj(r_date2, r_date)`
## `FundManagerSaleValue_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的赎回市值,系统参数:证券代码
@@ -157,7 +157,7 @@ return FundManagerSaleValue(20190630);
返回:float
### `fundManagerSharesChangeData(fund_id, r_date, dtype, ctype)`
## `fundManagerSharesChangeData(fund_id, r_date, dtype, ctype)`
获得指定报告期指定基金的基金管理人份额变动市值、比率等指标
@@ -170,7 +170,7 @@ return FundManagerSaleValue(20190630);
返回:float
### `fundManagerTotalSharesChangeOfRate(r_date)`
## `fundManagerTotalSharesChangeOfRate(r_date)`
获得指定基金指定报告期份额变动占基金份额(%)=指定报告期份额变动/指定报告期基金总份额\*100%,系统参数:证券代码
@@ -180,14 +180,14 @@ return FundManagerSaleValue(20190630);
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),'OF450005');
return FundManagerTotalSharesChangeOfRate(20190630);
```
### `fundManagerTotalSharesChangeOfRate2Qj(r_date2, r_date)`
## `FundManagerTotalSharesChangeOfRate2_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的份额变动占基金管理人份额(%)=份额变动/期初基金管理人总份额\*100%,系统参数:证券代码
@@ -198,7 +198,7 @@ return FundManagerTotalSharesChangeOfRate(20190630);
返回:float
### `fundManagerTotalSharesChangeOfRateLYear(r_date)`
## `FundManagerTotalSharesChangeOfRate_LYear(r_date)`
获得指定基金指定报告期最近1年份额变动占基金份额(%),系统参数:证券代码
@@ -208,7 +208,7 @@ return FundManagerTotalSharesChangeOfRate(20190630);
返回:float
### `fundManagerTotalSharesChangeOfRateQj(r_date2, r_date)`
## `FundManagerTotalSharesChangeOfRate_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的份额变动占基金份额(%)=份额变动/区间内最后报告期基金总份额\*100%,系统参数:证券代码
@@ -219,7 +219,7 @@ return FundManagerTotalSharesChangeOfRate(20190630);
返回:float
### `fundManagerTotalSharesChangeQj(r_date2, r_date)`
## `FundManagerTotalSharesChange_QJ(r_date2, r_date)`
获得指定报告期区间指定基金的份额变动,系统参数:证券代码
@@ -230,7 +230,7 @@ return FundManagerTotalSharesChangeOfRate(20190630);
返回:float
### `fundManagerTotalValueChange(r_date)`
## `fundManagerTotalValueChange(r_date)`
获得指定基金指定报告期的份额变动市值=指定报告期份额变动\*指定报告期基金净值,系统参数:证券代码
@@ -240,24 +240,24 @@ return FundManagerTotalSharesChangeOfRate(20190630);
返回:float
#### 示例
### 示例
```tsl
setsysparam(pn_stock(),'OF450005');
return FundManagerTotalValueChange(20190630);
```
### `fundManagerTotalValue(r_date)`
## `fundManagerTotalValue(r_date)`
获得指定基金指定报告期的期末市值=指定报告期期末份额*指定报告期基金净值,系统参数:证券代码
获得指定基金指定报告期的期末市值=指定报告期期末份额\*指定报告期基金净值,系统参数:证券代码
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| -------- | ------- | ----------------- |
| `r_date` | Integer | 报告期,指定报告期 |
返回:Real
#### 示例
### 示例
```tsl
//"OF450005"2019年中报的期末市值
@@ -266,17 +266,17 @@ return fundManagerTotalValue(20190630);
//结果:31222443.7
```
### `fundManagerSaleSharesOfRate(r_date)`
## `fundManagerSaleSharesOfRate(r_date)`
获得指定基金指定报告期赎回份额占基金份额(%)=指定报告期赎回份额/指定报告期基金总份额*100%,系统参数:证券代码
获得指定基金指定报告期赎回份额占基金份额(%)=指定报告期赎回份额/指定报告期基金总份额\*100%,系统参数:证券代码
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| -------- | ------- | ----------------- |
| `r_date` | Integer | 报告期,指定报告期 |
返回:Real
#### 示例
### 示例
```tsl
//"OF450005"2019年中报赎回份额占基金份额(%)
@@ -285,17 +285,17 @@ return fundManagerSaleSharesOfRate(20190630);
//结果:3.7
```
### `fundManagerTotalSharesOfRate(r_date)`
## `fundManagerTotalSharesOfRate(r_date)`
获得指定基金指定报告期期末份额占基金份额(%)=指定报告期期末份额/指定报告期基金总份额*100%,系统参数:证券代码
获得指定基金指定报告期期末份额占基金份额(%)=指定报告期期末份额/指定报告期基金总份额\*100%,系统参数:证券代码
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| -------- | ------- | ----------------- |
| `r_date` | Integer | 报告期,指定报告期 |
返回:Real
#### 示例
### 示例
```tsl
//"OF450005"2019中报期末份额占基金份额(%)
@@ -304,17 +304,17 @@ return fundManagerTotalSharesOfRate(20190630);
//结果:3.9
```
### `fundManagerTotalSharesChangeOfRate2(r_date)`
## `fundManagerTotalSharesChangeOfRate2(r_date)`
获得指定基金指定报告期份额变动占基金管理人份额(%)=指定报告期份额变动/指定报告期期初基金总份额*100%,系统参数:证券代码
获得指定基金指定报告期份额变动占基金管理人份额(%)=指定报告期份额变动/指定报告期期初基金总份额\*100%,系统参数:证券代码
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| 参数 | 类型 | 说明 |
| -------- | ------- | ----------------- |
| `r_date` | Integer | 报告期,指定报告期 |
返回:Real
#### 示例
### 示例
```tsl
//"OF450005"2019年中报份额变动占基金管理人份额(%)
@@ -323,21 +323,21 @@ return fundManagerTotalSharesChangeOfRate2(20190630);
//结果:-48.2
```
### `fundManagerSharesChangeDataQj(fund_id, r_date2, r_date, dtype, ctype)`
## `fundManagerSharesChangeDataQj(fund_id, r_date2, r_date, dtype, ctype)`
获得区间内指定基金的基金管理人份额变动数量、金额、市值、比率等指标
| 参数 | 类型 | 说明 |
| --- | --- | --- |
| `fund_id` | String | 证券,基金代码 |
| `r_date2` | Integer | 报告期,开始报告期 |
| `r_date` | Integer | 报告期,指定报告期 |
| `dtype` | Integer | 用户自定义,变动类型 |
| `ctype` | Integer | 用户自定义,计算方式 |
| 参数 | 类型 | 说明 |
| --------- | ------- | ------------------- |
| `fund_id` | String | 证券,基金代码 |
| `r_date2` | Integer | 报告期,开始报告期 |
| `r_date` | Integer | 报告期,指定报告期 |
| `dtype` | Integer | 用户自定义,变动类型 |
| `ctype` | Integer | 用户自定义,计算方式 |
返回:real
#### 示例
### 示例
```tsl
//"OF450005"2019年中报至2019年报基金管理人申购份额