天软金融分析.NET函数大全 > 金融函数 > 金融工程 > 投资组合 > 相关系数与BetaAlpha

NeedAdjustSmaple    

简述
判断CurrentDate是否还在BegT往后推AdjustMonth*30的日期内
定义
NeedAdjustSmaple(BegT:TDateTime;CurrentDate:TDateTime;AdjustMonth:Integer):TableArray
参数
名称类型说明
BegTTDateTime日期型时间,起始时间
CurrentDateTDateTime日期型时间,当前时间
AdjustMonthInteger整数,往后推的月份数,月份间隔数
返回TableArray股票列表之间的相关系数
  • 范例

    Return NeedAdjustSmaple(inttodate(20120618),inttodate(20120926),4);
    //结果:0
相关