Posted By: jari
CSVtoHistory script - bad date error - 01/28/21 23:59
Hi, anybody knows why CSVtoHistory is throwing this error? Thank you!
I have uncommented the following to become (for Yahoo as source):
csv content is (Windows CR LF, UFT-8):
Code
=> Error 058: Bad date for '1990-01-03' in CSV file VIX 19900103 to 20210129.csv 0 lines read C:\Users\jari\OneDrive\Zorro\History\CSV file VIX 19900103 to 20210129.t6 CSVtoHistory compiling........... ok 1990-01-03,18.190001,18.190001,18.190001,18.190001,18.190001,0
I have uncommented the following to become (for Yahoo as source):
Code
// YAHOO line format "2015-05-29,43.45,43.59,42.81,42.94,10901500,42.94" //string Format = "%Y-%m-%d,f3,f1,f2,f4,f6,f5"; // unadjusted string Format = "%Y-%m-%d,f3,f1,f2,f4,f5,f6"; // on 29jan2021, looks like vol is last, so switched the last two
csv content is (Windows CR LF, UFT-8):
Code
1990-01-03,18.190001,18.190001,18.190001,18.190001,18.190001,0 1990-01-04,19.219999,19.219999,19.219999,19.219999,19.219999,0