天软金融分析.NET函数大全 > 数据仓库函数 > 向导函数 > N日

DeltaOfNDay    

简述
当前值-前N日值。
定义
DeltaOfNDay(Exp:String;N:Integer):Real
参数
名称类型说明
ExpString字符串。统计表达式
NInteger整数。天数
返回Real实数。当前值-前N日值。
  • 范例

    SetSysParam(pn_stock(),"SH600585");
    SetSysParam(pn_date(),20231010T);
    return DeltaOfNDay(@close(),5);
    //结果:-1.39
相关