HighestOfNReport
简述
表达式N期最高
HighestOfNReport(Exp:String;ReportID:Integer;N:Integer;ReportType:Integer):Real
名称 | 类型 | 说明 |
---|
Exp | String | 字符串,函数表达式 |
ReportID | Integer | 整数,报告期 |
N | Integer | 整数,期数 |
ReportType | Integer | 整数,报告期类型
|
返回 | Real | 实数。表达式的N期最高 |
//对SH600585在22年年报前5个年度报告期最高的总营业收入。
SetSysParam(pn_stock(),"SH600585");
return HighestOfNReport(@ReportOfAll(46080,DefaultRepID()),20221231,5,0);
//返回:176294715308