This is a paper trading algo code. For some reason if no. 2 and if no. 4 are not getting executed. I have used the same code for backtesting and it worked perfectly. But whi