天软金融分析.NET函数大全 > 金融函数 > 财务分析 > 常用

Financialpercentileofnday    

简述
财务指标占N日内该指标的百分位,财务指标(适用估值类)占历史N日内该指标的百分位,与系统参数证券代码相关。
定义
Financialpercentileofnday(Endt:Date;Exp:Integer;N:Integer):REAL
参数
名称类型说明
EndtDate 日期,截止日期
ExpInteger 整型,财务指标
NInteger 整型,N日
返回REAL实数,财务指标(适用估值类)占历史N日内该指标的百分位
  • 范例

    // "SZ000001"在20200622指标PE占历史250日内该指标的百分位
    SetSysParam(pn_stock(),"SZ000001");
    return FinancialPercentileOfNYear(20200622T,@StockPE3(0),250); //结果:0.03
相关