CashTurnOver
简述
现金周转率,与系统参数(证券代码)相关。
CashTurnOver(ReportDate:Integer):Real
名称 | 类型 | 说明 |
---|
ReportDate | Integer | 整数。报告期 |
返回 | Real | 实数。现金周转率。 |
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
现金周转率=主营业务收入/(期初货币资金+期末货币资金)*2
// "SZ000415"在20200930的现金周转率
SetSysParam(pn_stock(),"SZ000415");
return CashTurnOver(20200930);
//结果:1.25