ET_Hsl_Ratio
简述
计算事件发生前后股票换手率变化
ET_Hsl_Ratio(N:Integer;M:Integer;cType: Integer):Real;
名称 | 类型 | 说明 |
---|
N | Integer | 整型,T0-N日 |
M | Integer | 整型,T0+M日 |
cType | Integer | 整型,换手率类型
|
返回 | Real |
real,T0+M日比T0-N日换手率 |
SetSysParam(pn_stock(),"SZ000001");
SetSysParam(pn_Date(),20230426T);
N:=120; M:=10; cType:=0;
r:=ET_Hsl_Ratio(N,M,cType);
return r; //0.11247812