Invalid input CSV files result in fatal failure
If you feed an invalid CSV file (filled with junk or in wrong format) into the program, the program will fail and the program will terminate with some run time error.
We need a nicer way to terminate if junk is fed into the program.
I doubt this should happen for the purposes of the project.
Yeah but there is always the chance someone will feed it an invalid CSV (junk) and we should probably have a nicer fail.
btw, there is some error checking (since we can't input the CSV files that we were given without it), and it will simply not return anything if the CSV is wrong in some way. Can always the logger to the code if you want, but it will flood the log file with "errors" every time there is a "no trade" in the CSV.
small fix (see #5): the issue where there is "no trade" means we can now log if the CSV isn't in the expected format. Unless we rewrite the whole thing and add all the data like how it is done in the parameters class we can't be sure that the file is in the correct format.