StockBTInstitutionTradeCount
简述
机构大宗买入(卖出)笔数,与系统参数(股票,时间)相关。
StockBTInstitutionTradeCount(Direction:Integer;InstitutionName:String):Integer
名称 | 类型 | 说明 |
---|
Direction | Integer | 用户自定义。交易方向,取值如下:
|
InstitutionName | String | 字符串。机构名称 |
返回 | Integer | 整数。股票指定日机构大宗买入(卖出)笔数。 |
//SZ000001在2021年12月20日机构专用的大宗买入笔数
setsysparam(pn_stock(),"SZ000001");
setsysparam(pn_date(),20211220T);
return StockBTInstitutionTradeCount(0,"机构专用");
//结果:2