Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
1 registered members (Grant), 999 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
How to parse DATE into Date in *.t6 #471962
03/28/18 20:17
03/28/18 20:17
Joined: Jul 2017
Posts: 781
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 781
Hello,

The first, date field of my input price data file is already in DATE format - which is a double.

What's the correct way/format to parse it into DATE in the output *.t6 format?
All format codes for dataParse seem to assume floats..

Thanks!

Re: How to parse DATE into Date in *.t6 [Re: Zheka] #471974
03/30/18 10:11
03/30/18 10:11
Joined: Sep 2003
Posts: 928
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 928
There is no format code for an ASCII DATE value, I would use %t to import it as Unix time, then go through the file and convert it back to DATE time.

Re: How to parse DATE into Date in *.t6 [Re: Spirit] #472016
04/02/18 09:29
04/02/18 09:29
Joined: Jul 2017
Posts: 781
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 781
Yes,that's what I came to after some trial. Thank you.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1