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