♻️ refactor(tsl): rebuild codegen taxonomy
Move generated builtin and dotnet function docs into the upgraded taxonomy, remove legacy route pages, and regenerate function_index.tsv from markdown headings.
This commit is contained in:
@@ -0,0 +1,172 @@
|
||||
# 股票 / 中证ESG评级及维度得分
|
||||
|
||||
### `stockEsgeScore(endt)`
|
||||
|
||||
获得指定日环境(E)得分,系统参数:证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
return StockESGEScore(20250623T);
|
||||
```
|
||||
|
||||
### `stockEsgeScore3()`
|
||||
|
||||
最新环境(E)得分,系统参数:证券代码、日期
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
endt:=20250623T;
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
SetSysParam(PN_Date(),endt);
|
||||
return StockESGEScore3();
|
||||
```
|
||||
|
||||
### `stockEsggScore(endt)`
|
||||
|
||||
获得指定日公司治理(G)得分,相关参数:指定日,系统参数:证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
return StockESGGScore(20250623T);
|
||||
```
|
||||
|
||||
### `stockEsggScore3()`
|
||||
|
||||
最新社会治理(G)得分,系统参数:证券代码、日期
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
endt:=20250623T;
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
SetSysParam(PN_Date(),endt);
|
||||
return StockESGGScore3();
|
||||
```
|
||||
|
||||
### `stockEsgRating(endt)`
|
||||
|
||||
获得指定日ESG评级,系统参数:证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:string
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
return StockESGRating(20250527T);
|
||||
```
|
||||
|
||||
### `stockEsgRating3()`
|
||||
|
||||
最新ESG评级,系统参数:证券代码,日期
|
||||
|
||||
返回:string
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
endt:=20250527T;
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
SetSysParam(PN_Date(),endt);
|
||||
return StockESGRating3();
|
||||
```
|
||||
|
||||
### `stockEsgRatingDate(endt)`
|
||||
|
||||
获得指定日前最新一期中证ESG评级日期,系统参数:证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:int
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
endt:=20250710T;
|
||||
return StockESGRatingDate(endt);
|
||||
```
|
||||
|
||||
### `stockEsgRatingDate3()`
|
||||
|
||||
获得最新一期中证ESG评级日期,系统参数:日期,证券代码
|
||||
|
||||
返回:int
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
endt:=20250710T;
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
SetSysParam(PN_Date(),endt);
|
||||
return StockESGRatingDate3();
|
||||
```
|
||||
|
||||
### `stockEsgsScore(endt)`
|
||||
|
||||
获得指定日社会(S)得分,相关参数:指定日,系统参数:证券代码
|
||||
|
||||
| 参数 | 类型 | 说明 |
|
||||
| ------ | -------- | ------------- |
|
||||
| `endt` | datetime | 日期,截止日期 |
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
return StockESGSScore(20250623T);
|
||||
```
|
||||
|
||||
### `stockEsgsScore3()`
|
||||
|
||||
最新社会(S)得分,系统参数:证券代码,日期
|
||||
|
||||
返回:float
|
||||
|
||||
#### 示例
|
||||
|
||||
```tsl
|
||||
StockID:="SH600000";
|
||||
endt:=20250623T;
|
||||
SetSysParam(pn_stock(),stockID);
|
||||
SetSysParam(PN_Date(),endt);
|
||||
return StockESGSScore3();
|
||||
```
|
||||
Reference in New Issue
Block a user