I ran this strategy based on custom data accessed via Google drive/Dropbox.

It is reading the data into Pandas frame and based on the logic, it is executing trades both long and short. However it seems like it is aborting at this Row Number: Symbol BE DateTime 9/1/2023 12:30:00 PM Open 15.33 High 15.33 Low ... 

and is not fully processing remainder of the data. This was for symbol BE

THere's another link on the script for TSLA which seems to have executed successfully all the way. can someone point why it is aborting early?

I also have some code to liquidate if open positions exist. not sure that is firing properly..