知识库 > 金融建模 > 公用函数 > 金融工程 > Dev

TSB_Data1    

简述
买卖记录
定义

TSB_Data1(BkNames:String,BegT:TDateTime,EndT:TDateTime,BuyCond:Expression,TopN:Integer,Holding:Integer);TableArray
参数

BkNames:字符串,以分号分割,板块名称列表
BegT:日期型时间,开始时间
EndT:日期型时间,截止日期
BuyCond:表达式,买入条件
TopN:整数,返回个数
Holding:整数,持有天数

返回:板块的买卖记录
  • 范例:

      Return TSB_Data1("上证180",inttodate(20120625),inttodate(20121017),
    "BK_UpPercent3()+Ref(BK_UpPercent3(),1)+Ref(BK_UpPercent3(),2)",3,20);

    //结果:



相关