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

OccuredOfRepPeriod    

简述
返回当前股票从BegReport到EndYear的同季度报告期数,与系统参数(股票)相关。
定义
OccuredOfRepPeriod(exp:Expr;BegReport:integer;EndYear:integer):integer
参数
名称类型说明
ExpExpr布尔公式表达式
Begreportinteger报告期,开始报告期
EndYearinteger年份,截止年份
返回integer实数
  • 范例


    SetSysParam(pn_stock(),'SZ000001');
    return OccuredOfRepPeriod(@reportofall(46002,GetSysParam('DefaultRepID')),20150331,2018);//即返回2015年到2018年一季报的数量
    //返回:4
相关