I set the basic script below to take trades from first of August 2020 to end of September 2020, but when running the backtest in the console I can only see trades till the third of August. There are no specific entry criteria so there should always be conditions for a long trade. I also noticed that in the last few trades both my sell limit and sell stop market orders are getting filled simultaneously.

 

 

Author