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

StocksHigh    

简述
取板块区间最高市值,单位:万
定义
StocksHigh(StockArr:Array; BegT:TDateTime; EndT:TDateTime;RightType:Int) :Float
参数
名称类型说明
StockArrArray一组股票
BegTTDateTime开始日期
EndTTDateTime截止日期
RightTypeInt加权方式,具体取值如下:
加权方式 取值
总市值 0
流通市值 1
返回Float实数
  • 范例

    //返回申万商业贸易行业2010年上半年区间最高总市值
    stks := getbkbydate('SW801200',inttodate(20091231));
    BegT:= inttodate(20100101);
    EndT:= inttodate(20100630);
    return StocksHigh(stks, BegT, EndT, 0);
    //返回结果:60874752
相关