SGT_FW
by Aku_Aku. 11/30/26 08:19
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 registered members (TipmyPip, AndrewAMD, EW_bytes, JeyKey II, krishna, rht),
12,557
guests, and 1
spider. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
CSVtoHistory script - bad date error
#482339
01/28/21 23:59
01/28/21 23:59
|
Joined: Jan 2021
Posts: 19
jari
OP
Newbie
|
OP
Newbie
Joined: Jan 2021
Posts: 19
|
Hi, anybody knows why CSVtoHistory is throwing this error? Thank you! =>
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): // 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): 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
Last edited by jari; 01/29/21 00:00.
|
|
|
|