The attached screenshot from my strategy log shows an error occurs between a "Pending Change" and an "Accepted" state of "stopa" order.
http://screencast.com/t/8tkmH6EiKb6T
I've been verifying stopOrder names and adding null checks throughout my code but haven't been able to find this offending reference. The error occurs upon moving a stop from it's initial stop location to breakeven +1 tick.
Could a simple assignment of a stop price be the culprit?
stopPrice = stopOrder_1a.StopPrice;
if (stopOrder_1a != null) stopPrice = stopOrder_1a.StopPrice;
Thanks,
Kirk

Comment