OP
Newbie
Joined: Apr 2022
Posts: 21
|
I do have a header line. datetime,symbol,open,high,low,close,volumeNonetheless, setting Format either to string Format = "0%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; or string Format = "+0%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; produces Error 058: Bad date for 'datetime,s' in 63MOONS_eod.csv 0 lines read
If I do not set any + or - in the Format String string Format = "%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; Then Zorro by default loads in ascending date order and the first row is read. If I set Format as string Format = "+2%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; Then 2 rows of data is omitted. If I delete the header line datetime,symbol,open,high,low,close,volume and set Format as string Format = "+0%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; Then I do not get Error:058 however the first row is still missing If I delete the header line datetime,symbol,open,high,low,close,volume and set Format as string Format = "+%Y-%m-%d %H:%M:%S,,f3,f1,f2,f4,f6"; Then 2 rows of data are missing Thanks
Last edited by HamzaAhmed; 04/30/22 07:37. Reason: Added More Observation
|