PositionOfSectorDesc
简述
从小到大排名。板块Sector中按指标EXP大小排序,返回指定股票的排名,与系统参数(股票,日期,复权,周期)相关。
PositionOfSectorDesc(Exp:Expr;Sector:String):real
名称 | 类型 | 说明 |
---|
Exp | Expr | 函数表达式 |
Sector | String | 市场和板块,板块 |
返回 | real | 实数 |
SetSysParam(pn_stock(),'SZ000001');
SetSysParam(pn_date(),20180801T);
return PositionOfSectorDesc(@close(),'A股');
//返回:1761