Posted By: chtostoic
Issues with converting .csv to .t6 - 07/16/19 10:56
Hello
I'm trying to convert my .csv data to .t6, but it doesn't work as it should.
Using Chart gets errors and doesn't plot.
Chart compiling........... t6 AAPL_2007
Using AAPL_2007.t6
Warning 035: AAPL_2007 ticks overlap on 2007-01-03 14:31:00
Error 055: No bars generated
.csv format:
Converted .t6 looks fine in ZHistoryEditor:
My amendments in CSVtoHistory default file:
Example of converted .t6 file: https://fex.net/s/dtrbtd2
Data is fine, without gaps.
Thanks in advance
P.S. I need to convert around 500 files from .csv to .t6, so I will be grateful for a hint how to automate this task.
I'm trying to convert my .csv data to .t6, but it doesn't work as it should.
Using Chart gets errors and doesn't plot.
Chart compiling........... t6 AAPL_2007
Using AAPL_2007.t6
Warning 035: AAPL_2007 ticks overlap on 2007-01-03 14:31:00
Error 055: No bars generated
.csv format:
Converted .t6 looks fine in ZHistoryEditor:
My amendments in CSVtoHistory default file:
Code
#define SPLIT_YEARS string InName = "AAPL_1M_12282006_28062019_UTC.csv"; // name of a single year CSV file string OutName = "AAPL.t6"; string Format = ",%Y-%m-%d %H:%M:%S,f3,f1,f2,f4,f6";
Example of converted .t6 file: https://fex.net/s/dtrbtd2
Data is fine, without gaps.
Thanks in advance
P.S. I need to convert around 500 files from .csv to .t6, so I will be grateful for a hint how to automate this task.