Gamestudio Links
Zorro Links
Newest Posts
SGT_FW
by Aku_Aku. 11/30/26 08:19
Removing outliers from files
by JeyKey II. 11/29/26 10:01
Experiences with cTrader
by JeyKey II. 11/27/26 09:04
make a complaint
by EW_bytes. 11/26/26 23:00
FXCM => AVA Trade Plugin???
by Martin_HH. 11/25/26 21:59
No connection to MT4
by Martin_HH. 11/23/26 06:38
MinMax function on History t6 file
by LucasJoshua. 11/21/26 14:28
What are you working on?
by rayp. 11/20/26 18:10
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
6 registered members (TipmyPip, AndrewAMD, EW_bytes, JeyKey II, krishna, rht), 12,557 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EvanTJ, rht, MaliceTheMaker, Haitao_Ren, JimSimons
19250 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
CSVtoHistory script - bad date error #482339
01/28/21 23:59
01/28/21 23:59
Joined: Jan 2021
Posts: 19
J
jari Offline OP
Newbie
jari  Offline OP
Newbie
J

Joined: Jan 2021
Posts: 19
Hi, anybody knows why CSVtoHistory is throwing this error? Thank you!

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

Last edited by jari; 01/29/21 00:00.
Re: CSVtoHistory script - bad date error [Re: jari] #482340
01/29/21 00:02
01/29/21 00:02
Joined: Jan 2021
Posts: 19
J
jari Offline OP
Newbie
jari  Offline OP
Newbie
J

Joined: Jan 2021
Posts: 19
Nvm... noob lol. By default, the format for MKTS is uncommented. Comment it, and it works perfectly, of course : )-)


Moderated by  Petra 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1