Waiting wont fix your problem. Fixing will fix your problem.

Your CSV file produces no missing first row here, so the CSV is not the problem. So you must now examine other possible reasons. Maybe some bug in your script?

void main() {
dataParse(1,"+%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6","History\\63MOONS_eod.csv");
dataSaveCSV(1,"%Y-%m-%d %H:%M:%S,f3,f1,f2,f4,f6","History\\out.csv");
}