StocksHigh
简述
取板块区间最高市值,单位:万
StocksHigh(StockArr:Array; BegT:TDateTime; EndT:TDateTime;RightType:Int) :Float
名称 | 类型 | 说明 |
---|
StockArr | Array | 一组股票 |
BegT | TDateTime | 开始日期 |
EndT | TDateTime | 截止日期 |
RightType | Int | 加权方式,具体取值如下:
|
返回 | Float | 实数 |
//返回申万商业贸易行业2010年上半年区间最高总市值
stks := getbkbydate('SW801200',inttodate(20091231));
BegT:= inttodate(20100101);
EndT:= inttodate(20100630);
return StocksHigh(stks, BegT, EndT, 0);
//返回结果:60874752