IsPT_
简述
判断当前股票是否为PT股票。与系统设置的时间无关,只取最新的数据。
IsPT_():Integer
名称 | 类型 | 说明 |
---|
返回 | Integer | 整数,是否PT股票。0表示‘不是’,1表示‘是’。 |
//返回"SZ000002"是否为PT股票
ov:=BackUpSystemParameters();
SetSysParam(pn_stock(),"SZ000002");
R:= IsPT_();
RestoreSystemParameters(ov);
Return R;
//结果:0