SetSysParam(PN_Cycle(),cy_1m());
BegT:=inttodate(20110330);
EndT:=inttodate(20110331);
return select datetimetostr(['date']) as '日期',['close'] as '收盘价'
from markettable datekey BegT to EndT of 'SH600000' end;
//返回结果只有2011年3月30日的分钟线数据
SetSysParam(PN_Cycle(),cy_1m());
BegT:=inttodate(20110330);
EndT:=inttodate(20110331)+16/24;
return select datetimetostr(['date']) as '日期',['close'] as '收盘价'
from markettable datekey BegT to EndT of 'SH600000' end;
//返回结果只有2011年3月30日和2011年3月31日的分钟线数据