天软金融分析.NET函数大全 > 金融函数 > 板块 > 行情指标 > 区间行情

StocksClose    

简述
板块指定日市值(修正),单位:万。计算过程中,会自动剔除EndT时点未上市的个股。
定义
StocksClose(StockArr:Array;EndT:TDateTime;RightType:Int):Float
参数
名称类型说明
StockArrArray一组股票
EndTTDateTime截止日期
RightTypeInt市值类型,具体取值如下:
显示名 取值
总市值 0
流通市值 1
返回Float实数
  • 范例

    //返回申万商业贸易行业2011年10月10日的总市值
    EndT := inttodate(20111010);
    stks := getbkbydate('SW801200',EndT);

    return StocksClose(stks,EndT,0);

      //返回结果:59167849.89
    参考
    StocksClose_Common 
相关