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

PortfolioBackTesting_IndexFund_GetIndexSamplesByMarketValue    

简述
策略验证-指数基金-得到指数IndexId成份股的t-1日流通市值和比例
定义
PortfolioBackTesting_IndexFund_GetIndexSamplesByMarketValue(IndexId:String;PrevEndT:TDateTime;EndT:TDateTime):TableArray
参数
名称类型说明
IndexIdString字符串类型,指数代码
PrevEndTTDateTime日期型时间,t-1日
EndTTDateTime日期型时间,t日
返回TableArray策略验证-指数基金-得到指数IndexId成份股的t-1日流通市值和比例
  • 范例

    return PortfolioBackTesting_IndexFund_GetIndexSamplesByMarketValue(

    'SH000300',

    inttodate(20121029),


    inttodate(20121030));

    //结果:
相关