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

SelectStockIndex_Call    

简述
返回选股结果
定义
SelectStockIndex_Call(StockArr:Array;BegT:TDateTime;EndT:TDateTime;SelectCond:Expression;NotIsSell:Boolean;SellCond:Expression;NotNeedStoped:Boolean):TableArray
参数
名称类型说明
StockArrArray一维字符串数组,证券代码
BegTTDateTime日期型时间,开始选股时间
EndTTDateTime日期型时间,结束选股时间
SelectCondExpression布尔表达式,选股条件
NotIsSellBoolean真假
SellCondExpression布尔表达式,卖出股票条件
NotNeedStopedBoolean真假
返回TableArray返回选股结果
  • 范例

    StockArr:= array("SH600460","SZ000920","SH600718");
    BegT:= inttodate(20120925);
    EndT:= inttodate(20121017);
    Return SelectStockIndex_Call(StockArr,
    BegT,EndT,@BsByMACD(12,26,9,2),true,@SsByMACD(12,26,9,2),false);

    //结果:
相关