I'm receiving this message in the log/output window
http://screencast.com/t/MxKpUFnVM
Is it preferable to allow the Internal Order Handling to cancel this target order as shown once the corresponding stop is hit? Or should I make a specific section of code to cancel these orders before the IOrder sequence gets to this point?
The reason I'm asking is that I'll be attempting to code Overfill error avoidance in my strat. Any help is appreciated since I'll need to know where it is best to cancel or read the orderstate: i.e. OnOrderUpdate or OnExecution.
Thanks,
Kirk
Comment