天软金融分析.NET函数大全 > 金融函数 > 专题函数 > 因子研究 > 技术面因子

Index_TA_CD_HTStockZF    

简述
获取指定指数指定日头部/尾部涨幅(%)
定义
Index_TA_CD_HTStockZF(indexid:String;endt:Datetime;op:Integer):Real
参数
名称类型说明
IndexidString字符串,指数代码
endtDatetime日期,截止日
opInteger整型;头部/尾部类型;1:头部,0:尾部
返回Real数值
  • 范例
    获取上证50指数SH000016在20220610日头部涨幅(%)
      indexid := "SH000016";
      endt := 20220610t;
      op := 1;
      return Index_TA_CD_HTStockZF(indexid,endt,op);
    返回:1.15
相关