PortfolioBackTesting_GetBenchmarkReturn
简述
策略验证-基准收益率(%)
PortfolioBackTesting_GetBenchmarkReturn(IndexId:String;BegT:TDaetTime;EndT:TDateTime;Percent:Integer):TableArray
名称 | 类型 | 说明 |
---|
IndexId | String | 字符串,证券代码 |
BegT | TDaetTime | 日期型时间,截止日 |
EndT | TDateTime | 日期型时间,截止日 |
Percent | Integer | 整数, |
返回 | TableArray | 策略验证-基准收益率(%) |
return PortfolioBackTesting_GetBenchmarkReturn(
'SH000300',
inttodate(20070701),
inttodate(20120301),
95);
//结果:
