天软金融分析.NET函数大全 > 金融函数 > 专题函数 > 因子研究 > 基金公司因子

funds_rpt_Treynor_Ratio    

简述
特雷诺比率
定义
funds_rpt_Treynor_Ratio(funds:Array;IndexID:String;begt:Date;endt:Date;rf:Real;DaysIn1y:Integer):Real
参数
名称类型说明
fundsArray一维字符串数组,基金序列
IndexIDString字符串,市场基准代码
begtDate日期,开始日
endtDate日期,截止日
rfReal实数,无风险收益率(%)
DaysIn1yInteger整数,年化期数
返回RealReal,特雷诺比率
  • 范例

       funds := Array("OF000001","OF000003","OF000004"); BegT := 20200101T;    EndT := 20201231T;    indexid := "SH000300";    return funds_rpt_Treynor_Ratio(funds,IndexID,begt,endt,0,1);    //0.13
相关