The Sample for OnExcution and my own strategy code as well does not place stop and target orders (in Replay) because the "entryorder IORDER" object is always null when OnExecution is called, so that the code to place stops and targets is never executed.
Not Sure how the OnExecution method would ever be helpful if the entryorder object is null when it is called. Is this just an issue with Replay?
I am stuck here, any help would be greatly apprciated.
Mark
Comment