天软金融分析.NET函数大全 > 金融函数 > 金融工程 > 策略验证 > 中间函数

PortfolioBackTesting_GetBenchmarkReturn    

简述
策略验证-基准收益率(%)
定义
PortfolioBackTesting_GetBenchmarkReturn(IndexId:String;BegT:TDaetTime;EndT:TDateTime;Percent:Integer):TableArray
参数
名称类型说明
IndexIdString字符串,证券代码
BegTTDaetTime日期型时间,截止日
EndTTDateTime日期型时间,截止日
PercentInteger整数,
返回TableArray策略验证-基准收益率(%)
  • 范例

    return PortfolioBackTesting_GetBenchmarkReturn(

    'SH000300',

    inttodate(20070701),

    inttodate(20120301),


    95);

    //结果:
相关