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

Fund_PF_CPR    

定义
Fund_PF_CPR(fundid: String; begt: Datetime;endt: Datetime;cycle: Cycle;IndexID: String):Real功能:指定基金指定区间指定周期的交叉积比率值
参数
名称类型说明
fundid String字符串类型,基金代码
begt Datetime日期类型,区间开始日
endt Datetime日期类型,区间截止日
cycle Cycle周期类型,周期
IndexID String字符串类型,基准指数代码
返回Real功能:指定基金指定区间指定周期的交叉积比率值数值类型,交叉积比率值
  • 范例
    获取以上证指数为基准指数,华夏成长OF000001在2023-08-31~2024-08-31周度净值收益率的交叉积比率值
      FundID := "OF000001";
      begt := 20230831t;
      endt := 20240831t;
      cycle := cy_week();
      IndexID := "SH000001";
      return Fund_PF_CPR(FundID,begt,endt,cycle,IndexID); 

    //结果:0.85256
相关