Bk_TradedCount3
简述
板块交易股票个数,与系统时间相关,当前板块通过setsysparam(pn_bk(),bkname)进行设置,其中bkname为当前板块名称。
Bk_TradedCount3():Int
//沪深300在20121019日的收盘价大于20日均线比例
Setsysparam(pn_date(),inttodate(20121019));
stks := getbkbydate("SH000300",inttodate(20121019));
savebk('mybk','新建分类',stks);
SetSysParam(pn_bk(),'mybk');
return Bk_TradedCount3();
//结果:296