_order = EnterLongLimit(DefaultQuantity, price, "");
where _order is a member variable in my strategy. At a later point (after the state becomes OrderState.Working) I call this:
CancelOrder(_order);
but the order is never cancelled. If I replace the call to CancelOrder with one to CancelAllOrders(true, true) then the order is cancelled as expected. I'm in Managed mode. Any ideas?

Comment