Bk_ListedCount3
简述
板块已上市股票个数,系统时间相关,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
Bk_ListedCount3():Real
//沪深300在20121019日的上市股票数量
Setsysparam(pn_date(),inttodate(20121019));
stks := getbkbydate("SH000300",inttodate(20121019));
savebk('mybk','新建分类',stks);
SetSysParam(pn_bk(),'mybk');
return Bk_ListedCount3();
//结果:300