天软金融分析.NET函数大全 > 金融函数 > 金融工程 > Dev

TSB_Data1    

简述
买卖记录
定义
TSB_Data1(BkNames:String;BegT:TDateTime;EndT:TDateTime;BuyCond:Expression;TopN:Integer;Holding:Integer);TableArray
参数
名称类型说明
BkNamesString字符串,以分号分割,板块名称列表
BegTTDateTime日期型时间,开始时间
EndTTDateTime日期型时间,截止日期
BuyCondExpression表达式,买入条件
TopNInteger整数,返回个数
HoldingInteger整数,持有天数
返回TableArray板块的买卖记录
  • 范例

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

    3,20);

    //结果:

相关