天软金融分析.NET函数大全 > 金融函数 > 基本面 > 基本 > 报告期数据获取 > 环比

HBValue    

简述
按季度取环比数据。若GetTheNearest为真时,则取指定报告期的值,若GetTheNearest为假时,则取最接近的报告期的值。
定义
HBValue(RDate:Integer;InfoID:Integer;GetTheNearest:Boolean):Real;
参数
名称类型说明
RdateInteger报告期
InfoIDInteger基本面
GetTheNearestBoolean1取指定报告期的值,0找最接近的报告期的值
返回Real返回季度取环比数据
  • 范例


    SetsysParam(pn_Stock(),"SZ000002");

    Return HBValue(20101231,44002,1);
    //返回万科2010年第4季度的货币资金
    //结果:37816932911.84
相关