Gamestudio Links
Zorro Links
Newest Posts
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (Quad, EternallyCurious, RealSerious3D), 814 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Data handling #468566
10/10/17 13:20
10/10/17 13:20
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
JCL,
1. Say, I have a *.t6 data file and find that several days of data are missing in the middle of it. How can I re-download only those days from the broker server?
2. If I download data from the broker with AssetHistory(), will the existing data be all overwritten or only the gaps filled?

Thank you.

Re: Data handling [Re: Zheka] #468571
10/10/17 15:31
10/10/17 15:31
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Hi Zheka,

Re. 2, I believe the answer from prior threads is neither. Only more recent data (if any) is added to the file. Older data is not re-processed in any way. If that is needed, the recommendation has been to delete the file & start over from scratch. I.e., using bandwidth is better than a more complicated, or manual, solution.

HTH.

Re: Data handling [Re: DdlV] #468573
10/10/17 16:53
10/10/17 16:53
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Thanks, DdlV.
Is there a simple way to modify a *.t6 record in the past?
PriceSet() works with offset, not with a date/time..

Re: Data handling [Re: Zheka] #468586
10/11/17 03:30
10/11/17 03:30
Joined: Jun 2013
Posts: 1,609
D
DdlV Offline
Serious User
DdlV  Offline
Serious User
D

Joined: Jun 2013
Posts: 1,609
Sorry - can't help with that one - haven't faced it yet...

Re: Data handling [Re: DdlV] #468603
10/11/17 15:52
10/11/17 15:52
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
Ddlv's description is correct. Gaps or other errors are not automatically fixed by more loading. If you don't want to patch the file by code, delete it and load it again.

Re: Data handling [Re: jcl] #468611
10/11/17 16:13
10/11/17 16:13
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
That was my question:
Is there a simple way to modify a *.t6 record in the past?
PriceSet() works with offset, not with a date/time.

Re: Data handling [Re: Zheka] #468616
10/11/17 16:24
10/11/17 16:24
Joined: Jul 2000
Posts: 27,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,982
Frankfurt
The general way would be opening it with dataLoad, copying it into a larger dataset while filling the gaps, then saving it again.

Re: Data handling [Re: jcl] #468620
10/11/17 17:05
10/11/17 17:05
Joined: Jul 2017
Posts: 784
Z
Zheka Offline OP
User
Zheka  Offline OP
User
Z

Joined: Jul 2017
Posts: 784
Would it work to just add records and then sort?
A function like PriceQuote() but with all the fields of *.t6 record would also be quite helpful.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1