Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to convert CSV to T6 format #477045
05/05/19 18:22
05/05/19 18:22
Joined: May 2019
Posts: 1
Massachusetts
A
aap Offline OP
Guest
aap  Offline OP
Guest
A

Joined: May 2019
Posts: 1
Massachusetts
Hi
I do not know how to convert my csv files to t6 format. I tried CSVtoHistory script, without success.Even ZHistoryEditor was not helping.

I downloaded AAPL.t6, end of day data file using:
assetHistory("AAPL", FROM_STOOQ);

Then I used the ZHistoryEditor, selected and loaded AAPL.t6, it looked good, both numbers and chart.
Then I converted the AAPL.t6 to AAPL.CSV using the ZHistoryEditor.
When the ZHistoryEditor tried to load AAPL.CVS file (which it saved before), I got the message: System.FormatException: Input string was not in a correct format...

Any suggestions ?
Thank for help.

Re: How to convert CSV to T6 format [Re: aap] #477048
05/06/19 12:59
05/06/19 12:59
Joined: Dec 2014
Posts: 206
Germany
Smon Offline
Member
Smon  Offline
Member

Joined: Dec 2014
Posts: 206
Germany

Re: How to convert CSV to T6 format [Re: Smon] #477049
05/06/19 13:02
05/06/19 13:02
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
Not all CSV's are created equal. You need to edit the CSVtoT6 script to suit.

I have an example of this on my blog:
https://www.vitaltrades.com/2019/03/24/continuous-futures-data-in-zorro-2-parsing-csv-to-t6/


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1