SecondOrderGrowthOfNReport
简述
N期二阶增长拐点:最近N期中,前N-1期逐渐下降,第N期数据上升
l 参数:
Exp:表达式类型,计算相关财务指标,一般与报告期相关,如TTM归属母公司净利润:@Last12MData(DefaultRepID(),46078)
ReportID:报告期
N:整数,最近N期
ReportType:报告期类型
取值 |
含义 |
备注 |
0 |
年度标准(默认) |
假设ReportID:=20200930,N=2,对应最近N个报告期为20190930、20200930 |
1 |
季度标准 |
假设ReportID:=20200930,N=2,对应最近N个报告期为20200630、20200930 |
SecondOrderGrowthOfNReport(Exp:TExpression;ReportID:RDate;N:int;ReportType:int):Bool
setsysparam(pn_stock(),"SZ000636");
Exp:=@LastQuarterData(GetSysParam('DefaultRepID'),9900604);
ReportID:=20200331;
N:=5;
ReportType:=1; //0:年度,1:季度
t:=SecondOrderGrowthOfNReport(Exp,ReportID,N,ReportType);
return t; //1