for i=0 to order.OrderNum2-1
call order.OrderInfo2(i, OrderID, ConSign, Filled, Remaining, Action, OrderType, LmtPrice, Account, Kaiping, Code, Market)
if LmtPrice = a then
call order.CancelOrder(OrderID, Account)
end if
next
Document 对象下面也有debugfile