Files
playbook/skills/tsl-api-reference/references/codegen/dotnet/equity/esg_rating.md
T
csh 13be5ea0aa feat(tsl-api-reference): index class and unit APIs
Migrate reference pages to declaration-line storage and rebuild the
13-column index.

Add qualified member lookup plus regression and end-to-end coverage.
2026-07-29 15:47:46 +08:00

3.2 KiB

股票 / 中证ESG评级及维度得分

stockEsgeScore(endt)

声明:function

获得指定日环境(E)得分,系统参数:证券代码

参数 类型 说明
endt datetime 日期,截止日期

返回:float

示例

StockID:="SH600000";
SetSysParam(pn_stock(),stockID);
return StockESGEScore(20250623T);

stockEsgeScore3()

声明:function

最新环境(E)得分,系统参数:证券代码、日期

返回:float

示例

StockID:="SH600000";
endt:=20250623T;
SetSysParam(pn_stock(),stockID);
SetSysParam(PN_Date(),endt);
return StockESGEScore3();

stockEsggScore(endt)

声明:function

获得指定日公司治理(G)得分,相关参数:指定日,系统参数:证券代码

参数 类型 说明
endt datetime 日期,截止日期

返回:float

示例

StockID:="SH600000";
SetSysParam(pn_stock(),stockID);
return StockESGGScore(20250623T);

stockEsggScore3()

声明:function

最新社会治理(G)得分,系统参数:证券代码、日期

返回:float

示例

StockID:="SH600000";
endt:=20250623T;
SetSysParam(pn_stock(),stockID);
SetSysParam(PN_Date(),endt);
return StockESGGScore3();

stockEsgRating(endt)

声明:function

获得指定日ESG评级,系统参数:证券代码

参数 类型 说明
endt datetime 日期,截止日期

返回:string

示例

StockID:="SH600000";
SetSysParam(pn_stock(),stockID);
return StockESGRating(20250527T);

stockEsgRating3()

声明:function

最新ESG评级,系统参数:证券代码,日期

返回:string

示例

StockID:="SH600000";
endt:=20250527T;
SetSysParam(pn_stock(),stockID);
SetSysParam(PN_Date(),endt);
return StockESGRating3();

stockEsgRatingDate(endt)

声明:function

获得指定日前最新一期中证ESG评级日期,系统参数:证券代码

参数 类型 说明
endt datetime 日期,截止日期

返回:int

示例

StockID:="SH600000";
SetSysParam(pn_stock(),stockID);
endt:=20250710T;
return StockESGRatingDate(endt);

stockEsgRatingDate3()

声明:function

获得最新一期中证ESG评级日期,系统参数:日期,证券代码

返回:int

示例

StockID:="SH600000";
endt:=20250710T;
SetSysParam(pn_stock(),stockID);
SetSysParam(PN_Date(),endt);
return StockESGRatingDate3();

stockEsgsScore(endt)

声明:function

获得指定日社会(S)得分,相关参数:指定日,系统参数:证券代码

参数 类型 说明
endt datetime 日期,截止日期

返回:float

示例

StockID:="SH600000";
SetSysParam(pn_stock(),stockID);
return StockESGSScore(20250623T);

stockEsgsScore3()

声明:function

最新社会(S)得分,系统参数:证券代码,日期

返回:float

示例

StockID:="SH600000";
endt:=20250623T;
SetSysParam(pn_stock(),stockID);
SetSysParam(PN_Date(),endt);
return StockESGSScore3();