How to convert CSV to T6 format

Posted By: aap

How to convert CSV to T6 format - 05/05/19 18:22

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.
Posted By: Smon

Re: How to convert CSV to T6 format - 05/06/19 12:59

Checkt this: http://statsmage.com/zorro-on-steroids-ii-data-conversion/
Posted By: AndrewAMD

Re: How to convert CSV to T6 format - 05/06/19 13:02

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/
© 2024 lite-C Forums