StockAuctionEndTime
简述
指定日指定竞价性质的交易时间,与系统参数(证券代码,日期)相关。
StockAuctionEndTime(AuctionType:Integer;TimeType:Integer;RType:Integer):String
名称 | 类型 | 说明 |
---|
AuctionType | Integer | 用户自定义。竞价性质,取值如下:
显示名 |
取值 |
开盘集合竞价 |
0
|
夜盘集合竞价 |
1 |
夜盘连续竞价 |
2 |
上午连续竞价 |
3 |
下午连续竞价 |
4 |
收盘集合竞价 |
5 |
日盘集合竞价 |
6 |
|
TimeType | Integer | 用户自定义。时间性质,取值如下:
|
RType | Integer | 用户自定义。返回的数据格式,取值如下:
|
返回 | String | 字符串。指定证券指定日指定竞价性质的交易时间。 |
//"bc2401"在2023-12-15上午连续竞价的开始时间
SetSysParam(pn_stock(),"bc2401");
SetSysParam(PN_Date(),20231215T);
return StockAuctionEndTime(3,0,0);
//结果:09:00:00