FundAppraisalRatio
简述
估价比率(估价比率=α系数/残差),也即为信息比率,与系统证券pn_stock()相关。
FundAppraisalRatio(IndexId:String;BegT:Date;EndT:Date;DataSelect:Integer):Real
名称 | 类型 | 说明 |
---|
IndexId | String | 指数代码 |
BegT | Date | 开始日期 |
EndT | Date | 截止日期 |
DataSelect | Integer | 所选取的数据
 |
返回 | Real | 实数,估价(信息)比率 |
//取华安创新2003年10月10日到2012年10月19日之间的估价比率
Setsysparam(pn_stock(),'OF040001');
ReturnFundAppraisalRatio("SH000001",inttodate(20031010),inttodate(20121022),0);
//结果:0.03157