Thanks . Unfortunately the issue is sporadic and more often than not works as it should. Makes it harder to diagnose.
For example, I run the same strategy with different trades sizes across two accounts, there have been times where one account is executed at the correct time/candle and the other account is executed a minute later i.e the next candle.
Why would one account work and not the other?
Also, occasionally I am not filled (when I should) but when I run back test I would of been filled a minute later.
Is there something in PRT that says if trade isn’t executed immediately you have to wait for next candle to close?