Write a function to parse a massive, poorly formatted CSV file of trade logs, handling missing values and corrupted rows.