Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (rki), 426 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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 Offline
Serious User
AndrewAMD  Offline
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