ET_Amount_Ratio
简述
计算事件发生前后股票成交金额变化
ET_Amount_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_Amount_Ratio(N,M,cType);
return r;
//0.11064783