order1EntryLimitOrder = EnterShortLimit(5, true, Entry1Qty, Entry1Price, "Entry1");
After a period of time, I do the following:
if (order1EntryLimitOrder != null )
{
this.Orders.FindByOrderId(order1EntryLimitOrder.Or derId).Cancel();
order1EntryLimitOrder = null;
}
Along the way I receive the following message:
**NT** An Enter() method to submit an entry order at '8/22/2013 10:00:00 AM' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.
When the this.Orders.FindByOrderId(order1EntryLimitOrder.Or derId).Cancel(); runs, it does not cancel the order. Go any ideas as to why?
I also tried CancelOrder(order1EntryLimitOrder) and it didn't work either.
Rich
Comment