How do I reference exitonclose orders or executions in my code? I'm using Unmanaged orders, and when I exit an order, I want to code to make sure variable x = 0. I can do that with normal exit orders --- using if (exitLong1 = e.Order) under OnExecution(IExecution e) --- but havent figured out a way to call code when the exit is entered internally on close.
Thanks!
-Nick
Comment