StockStepsaleAmountPercent
简述
区间分档流出占总成交金额比例(%)。统计在分档区间V1<=Value<V2的流出占总成交金额比例(%),与系统参数(股票)相关。
StockStepsaleAmountPercent(Begt:TDateTime;Endt:TDateTime;V1:Real;V2:Real;DType:Integer):Real
名称 | 类型 | 说明 |
---|
Begt | TDateTime | 日期。开始日 |
Endt | TDateTime | 日期。截止日 |
V1 | Real | 实数。分档上区间 |
V2 | Real | 实数。分档下区间 |
DType | Integer | 用户自定义。分档方式,取值如下:
显示名 |
取值 |
成交量(股) |
0 |
成交金额(元) |
1 |
换手率(%) |
2 |
每笔成交金额(元) |
3 |
|
返回 | Real | 实数。区间分档流出占总成交金额比例(%)。 |
//统计SH600000在20240401至20240408明细成交量在100000~inf区间的分档流出占总成交金额比例(%)
SetSysParam(pn_stock(),"SH600000");
return StockStepsaleAmountPercent(20240401T,20240408T,100000,inf,0);
//返回:7.005204