funds_rpt_AvgLoss
简述
平均亏损(%)
funds_rpt_AvgLoss(funds:Array;begt:Date;endt:Date;DaysIn1y:Integer):Real
| 名称 | 类型 | 说明 |
|---|
| funds | Array | 一维字符串数组,基金序列 |
| begt | Date | 日期,开始日 |
| endt | Date | 日期,截止日 |
| DaysIn1y | Integer | 整数,年化期数 |
| 返回 | Real | Real,平均亏损(%) |
funds := Array("OF000001","OF000003","OF000004");
BegT := 20200101T; EndT := 20201231T; DaysIn1y := 1; return funds_rpt_AvgLoss(funds,begt,endt,DaysIn1y); //-1.08