Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
6 registered members (TipmyPip, Niels, dBc, Ed_Love, 3run, 1 invisible), 17,843 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
histdata to t1 #477649
07/19/19 12:55
07/19/19 12:55
Joined: May 2019
Posts: 11
S
sarmasboy Offline OP
Newbie
sarmasboy  Offline OP
Newbie
S

Joined: May 2019
Posts: 11
Hello all! I wondered if anyone has a script that converts HistData tick csv into t1 file formats? Much appreciated!

Laurynas

Re: histdata to t1 [Re: sarmasboy] #477651
07/19/19 14:26
07/19/19 14:26
Joined: May 2019
Posts: 11
S
sarmasboy Offline OP
Newbie
sarmasboy  Offline OP
Newbie
S

Joined: May 2019
Posts: 11
So I'm very happy I came across this post.

I used the latest code from here and I didn't even need to use the python file.

I used tac in bash (Windows Linux Subsystem) to reverse the order of dates, and then made a couple modifications to the ConvertData.c file to correctly convert milliseconds, adjust for the date format and simplify the conversion of individual files. If anyone is stuck like me for this simple one-off conversion of DataHist to T1 conversion, I've included the edited file below.

Big thanks to pcz for writing such detailed docs and sharing with everyone!!

Laurynas

Attached Files
ConvertDataT1.c (107 downloads)
Re: histdata to t1 [Re: sarmasboy] #485161
01/29/22 21:58
01/29/22 21:58
Joined: Aug 2017
Posts: 311
Netherlands
G
Grant Offline
Senior Member
Grant  Offline
Senior Member
G

Joined: Aug 2017
Posts: 311
Netherlands
Much appreciated!


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1