CB_LowPrice
简述
最低价对应的日期通过系统参数获取。
CB_LowPrice(BegT:datetime;EndT:datetime):real
| 名称 | 类型 | 说明 |
|---|
| BegT | datetime | 日期,开始日 |
| Endt | datetime | 日期,截止日 |
| 返回 | real | 实数,区间最低价 |
BegT := 20190501T;
EndT := 20190828T;
SetSysParam(pn_stock(),'SZ127009');
price := CB_LowPrice(BegT,EndT);
return price; //返回区间最低价
return GetSysParam('CB_LowPriceDate');//返回区间最低价对应的日期
// 120.1(2019-05-06)