天软金融分析.NET函数大全 > 金融函数 > 行情 > 区间

StockPrevClose    

简述

区间前收=开始日前一天的收盘价
定义
StockPrevClose(BegT:TDateTime;EndT:TDateTime): Real;
参数
名称类型说明
BegTTDateTime日期类型,开始日期
EndTTDateTime日期类型,截止日期
返回 Real
实数
  • 范例


    //返回SZ000002(万科A)从20110801到20110901的区间前收
    SetSysParam(PN_Stock(),'SZ000002');
    BegT:=inttodate(20110801);
    EndT:=inttodate(20110901);
    return StockPrevClose(BegT,EndT);
    //结果:8.15
相关