StocksBTInstitutionTradeCount
简述
指定日指定机构对股票列表的交易次数,与系统参数(时间)相关。
StocksBTInstitutionTradeCount(StockArr:Array;Direction:Integer;InstitutionName:String):Integer
名称 | 类型 | 说明 |
---|
StockArr | Array | 数组。股票列表 |
Direction | Integer | 用户自定义。交易方向,取值如下:
|
InstitutionName | String | 字符串。机构名称 |
返回 | Integer | 整数。指定日指定机构对股票列表的交易次数。 |
//2020年11月20日机构专用对于上证A股的买入笔数
bk:=getbk("上证A股");
setsysparam(pn_date(),20201120T);
return StocksBTInstitutionTradeCount(bk,0,"机构专用");
//结果:3