I wrote this code that is supposed to measure stock performance for consecutive days where the stock meets a given criteria. I set up the CSV, transferred dates into datetim