老师:后台程序化下面语句。(主要是参与集合竞价)问题:下面程序正常执行,上面执行固定价格为0;
if currenttime>=085600 and currenttime<085620 then begin
TBUY( 1,2, LMT,DYNAINFO2(62, 'FB05')*0.96,0,'','FB05');TBUYSHORT(1,2, LMT,DYNAINFO2(62, 'FB05')*1.04,0,'','FB05');
TBUY( 1,2, LMT,DYNAINFO2(62, 'FB09')*0.96,0,'','FB09');TBUYSHORT(1,2, LMT,DYNAINFO2(62, 'FB09')*1.04,0,'','FB09');
END;
if currenttime>=205600 and currenttime<215620 then begin
TBUY(1,1, LMT,DYNAINFO2(62, 'RR06')*0.97,0,'','RR06');TBUYSHORT(1 ,1, LMT,DYNAINFO2(62, 'RR06')*1.03,0,'','RR06');//粳米--06,
END;
|