The line of code I've isolated is
Print("Test1"); if (EntryOrder1 != null && EntryOrder1.Token == execution.Order.Token) { Print("Test2"); [FONT=Courier New][SIZE=2][COLOR=#0000ff]if[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2] (execution.Order.OrderState == OrderState.Filled || execution.Order.OrderState == OrderState.PartFilled || (execution.Order.OrderState == OrderState.Cancelled && execution.Order.Filled > [/SIZE][/FONT][FONT=Courier New][SIZE=2][COLOR=#800080]0[/COLOR][/SIZE][/FONT][FONT=Courier New][SIZE=2]))...[/SIZE][/FONT]
Here is the output just prior to the error. Test1 is right before the line of code above, and Print("test2"); is right after the line of code above, but as you can see Test2 does not print.
5/7/2009 1:14:27 PM Cancelled pending exit order, since associated position is closed: Order='NT-00002/Replay101' ... OnOrderUpdate(): 5/7/2009 1:14:27 PM OnOrderUpdate(): 5/7/2009 1:14:27 PM OnOrderUpdate(): 5/7/2009 1:14:27 PM OnExecution(): 5/7/2009 1:14:27 PM Test1
kc
Comment