知识库 > 金融建模 > 公用函数 > 扩展函数 > 基本面 > 基本 > 报告期数据获取 > 环比

HBValue    

简述
按季度取环比数据。若GetTheNearest为真是,则取指定报告期的值,若GetTheNearest为假时,则取最接近的。
定义
HBValue(RDate:Integer,InfoID:Integer,GetTheNearest:Boolean):Real;
参数

Rdate:报告期
InfoID:基本面
GetTheNearest:1取指定报告期的值,0找最接近的报告期的值

返回:返回季度取环比数据
  • 范例:

     SetsysParam(pn_Stock(), "SZ000002");
      Return HBValue(20101231,44002,1);
    //返回万科2010年第4季度的货币资金

    //结果:37816932911.84
相关
FAQ/知识库链接