平仓条件是时间大于等于收盘时间减5分钟 全部平仓
if time>=1455 then begin
sell();
sellshort();
end
平仓条件是时间大于等于收盘时间减5分钟 全部平仓
if time>=1455 then begin
sell();
sellshort();
end
这要写要出bug的,定义要全面 只要是 15:00 停止品种都可以这么写
if time>=145500 and time<145900 and hodling<>0 then begin
sell
sellshort
end