i have a strategy that reverses on the same bar, an exit and an entry order.
the problem is that during backtesting the orders always fire exit followed by the entry order, forward testing this is not the case. entry orders can be executed before the exit.
i can only figure this happens because OnBarUpdate processes are not serialized within this process.
if they are then exit orders or not confirmed before the entry order is sent.
i can not figure out any other reason for this to happen.
Comment