StocksZTCountType
简述
指定封板类型的股票个数。
秒板:封板时间在09:30~9:31且之后未开板的股票数量统计
分板:封板时间在09:31~9:40且之后未开板的股票数量统计
3)10点前:封板时间在09:40~10:00且之后未开板的股票数量统计
4)10:00~11:30:封板时间在10:00~11:30且之后未开板的股票数量统计
5)13:00~14:00:封板时间在13:00~14:00且之后未开板的股票数量统计
6)14:00~15:00:封板时间在14:00~15:00且之后未开板的股票个数
StocksZTCountType(StockArr:Array;EndT:Date;DType:Integer):Integer
| 名称 | 类型 | 说明 |
|---|
| StockArr | Array | 数组。证券列表 |
| EndT | Date | 日期。截止日期 |
| DType | Integer | 用户自定义。类型,取值如下:
|
显示名 |
取值 | |
秒板 |
1 | |
分板 |
2 | |
10点前 |
3 | |
10:00~11:30 |
4 | |
13:00~14:00 |
5 | |
14:00~15:00 |
6 |
|
| 返回 | Integer | 整数。指定封板类型的股票个数。 |
// "A股"在2024-12-24秒板个数
StockArr:=getbk("A股");
EndT:=20241224T;
return StocksZTCountType(StockArr,EndT,1);
//结果:7