Thanks for this information.
I still cannot process the data that i have with the t6 file. The problem i have is as below.
Input csv file is of format (date, time, tradedPrice, volume) e.g. 20180917,15:30:00,11395.1,300
however when i use csvToHistory.c script with following string format
string Format = "%Y%m%d,%H:%M:%S,f4,f6";
I get error Error 062: No 7 records in C:UsersAdministratorZorroHistoryNIFTY_I_TICK_2018.t6
Can't open C:UsersAdministratorZorroHistoryNIFTY_I_TICK_2018.t6

T6 file needs all 7 entries date, time, open, high, low, close, volume etc.
And if i use following format string:
string Format = "+%Y%m%d,%H:%M:%S,f3,f1,f2,f4,f6,f5";
Assuming the open (f3) and high (f1) would contain price and volume respectively and trying to use priceOpen() and priceHigh() to print the price and vol values results zero for both.
How do i then use csvToHistory script to process the csv file of above format and use it in my script?

Thanks

Last edited by adityam; 11/12/18 07:56.