FundBenchmarkReturn
简述
指定日基金业绩比较基准收益(%)
指定日获取不到数据则返回Nil
FundBenchmarkReturn(EndT:TDateTime):Real
| 名称 | 类型 | 说明 |
|---|
| EndT | TDateTime | 日期,截止日期 |
| 返回 | Real | 指定日基金业绩比较基准收益(%) |
// "OF001015"在20251231的基金业绩比较基准收益(%)
SetSysParam(pn_stock(),"OF001015");
EndT:=20251231T;
return FundBenchmarkReturn(EndT); //结果:-0.4318