I get the following error when iterating through a list of orders (shown below).
I have never seen this before and have no idea what it means. I have a list I am iterating through in OnExecution to see if I need to move any profit orders based on the latest execution. I have tried the iteration both after I added the order I just put in
and before I to no avail.
private List<IOrder> profitList
**NT** Error on calling 'OnExecution' method for strategy ... Unable to cast object of type 'NinjaTrader.Strategy.OrderProxy' to type 'NinjaTrader.Cbi.Order'.
I am open to suggestions.
Best Regards,
Scott
Comment