Financialpercentileofnday
简述
财务指标占N日内该指标的百分位,财务指标(适用估值类)占历史N日内该指标的百分位,与系统参数证券代码相关。
Financialpercentileofnday(Endt:Date;Exp:Integer;N:Integer):REAL
名称 | 类型 | 说明 |
---|
Endt | Date | 日期,截止日期 |
Exp | Integer | 整型,财务指标 |
N | Integer | 整型,N日 |
返回 | REAL | 实数,财务指标(适用估值类)占历史N日内该指标的百分位 |
// "SZ000001"在20200622指标PE占历史250日内该指标的百分位
SetSysParam(pn_stock(),"SZ000001");
return FinancialPercentileOfNYear(20200622T,@StockPE3(0),250); //结果:0.03