当时持仓是10手多头
hands=10
notrade=1
stoplong是止损线
当价格下穿止损线的时候,平仓失败,交易状态显示“资金不足”
这是什么问题
if c<stoplong and notrade>0 then
begin
if notrade=1 then
tsell(1,hands,LMT,close-1);
if notrade=0.5 then
BEGIN
tsell(1,hands1,LMT,close-1);
end
notrade:=2;
end
本地记录下单日志了吗?把下单日志贴出来看看
没有开日志
只能从日志分析么
恩,但看你给你的信息,目前看不出问题
所以得结合日志分析.