StocksTradedCount
简述
统计股票列表中指定日EndT交易的股票个数
StocksTradedCount (StockArr:Array;EndT:TdateTime): Int
| 名称 | 类型 | 说明 |
|---|
| StockArr | Array | 一维数组,股票列表 |
| EndT | TdateTime | 日期类型,指定日期 |
| 返回 | Int | 整数 |
//返回沪深300在2012/10/19日交易股票个数
EndT:=inttodate(20121019);
StockArr:= getbkbydate('SH000300',EndT);
return StocksTradedCount (StockArr,EndT);
//返回结果:296