stocktbamounttopn
简述
指定异动类型的前N大营业部买入或卖出金额,单位(元),与系统参数(证券,日期)相关.
注意,异动类型如果是区间的(比如ST、*ST、S证券连续三个交易日涨停),那么返回的金额,也是这段异动区间的买入或卖出金额。
N<=0返回所有N大于公布营业部数返回所有
stocktbamounttopn(n:integer;ydtype:usrdefine;direction:usrdefine):real
名称 | 类型 | 说明 |
---|
n | integer | 前N |
ydtype | usrdefine | 异动类型 |
direction | usrdefine | 交易方向 |
返回 | real | real:前N买入或卖出金额,没有返回0 |