StockStepbuyAmount2
简述
N日分档流入(元)。统计在分档区间V1<=Value<V2的分档流入(元),与系统参数(股票、时间)相关。
StockStepbuyAmount2(N:Integer;V1:Real;V2:Real;DType:Integer):Real
名称 | 类型 | 说明 |
---|
N | Integer | 整数。N日 |
V1 | Real | 实数。分档上区间 |
V2 | Real | 实数。分档下区间 |
DType | Integer | 用户自定义。分档方式,取值如下:
显示名 |
取值 |
成交量(股) |
0 |
成交金额(元) |
1 |
换手率(%) |
2 |
每笔成交金额(元) |
3 |
|
返回 | Real | 实数。N日分档流入(元)。 |
//统计SH600000在20240408T前4日明细成交量在100000~inf区间的分档流入(元)和
SetSysParam(pn_stock(),"SH600000");
setsysparam(pn_date(),20240408T);
return StockStepbuyAmount2(4,100000,inf,0);
//返回:143048714