Good day everyone , I am a novice in programming and I need help with making an algorithm that is able to trade forex news events. I decided to try and use an algorithm for backtesting purposes and to be able to execute trades faster while trading live during these events. I came across a universe template that reads data from a csv file stored in dropbox and I tried to modify it but this has amounted to plenty of errors. I wanted my algo to basically read event dates from the csv file and use it as an input in executing a scheduled event. so instead of manually setting dates and time , I want the algo to read the directly from the file and place orders 3 minutes before the news release. I have spent several weeks trying to get a hang arount this. Anybody's input would be highly appreciated.

The link below is for the csv reading Algo.

Algorithm.Python/DropboxBaseDataUniverseSelectionAlgorithm.py