StocksHighandLowAmount
简述
板块区间最高/最低成交金额(万)
StocksHighandLowAmount(StockArr:Array;BegT:TDateTime;EndT:TDateTime;Type:Int;Stype:Int):Float
名称 | 类型 | 说明 |
---|
StockArr | Array | 一组股票 |
BegT | TDateTime | 开始日期 |
EndT | TDateTime | 截止日期 |
Type | Int | 取最大值/最小值:
|
Stype | Int | 股票类型(用户自定义类型),具体取值如下:
股票类型 |
取值 |
A股 |
1 |
B股 |
2 |
深证B股 |
3 |
上证B股 |
4 |
全部 |
0 |
|
返回 | Float | 实数 |
//返回沪深300区间最高成交金额
stks:= getbkbydate('SH000300',inttodate(20101231));
BegT:= inttodate(20110101);
EndT:= inttodate(20110630);
return StocksHighandLowAmount(stks,BegT,EndT,0,0);
//返回结果:16531015
StocksLowAmount