Gamestudio Links
Zorro Links
Newest Posts
How is this possible ? winning percentage 100%
by MatPed
50 minutes 13 seconds ago
Next contest?
by Michael_Schwarz
Today at 10:33
Help! 1.88.6 Crashes <5 minutes after clicking Trade!
by jcl
Today at 10:28
WFO
by jcl
Today at 10:27
TA-Lib not updated
by jcl
Today at 10:24
CyberCycle Adaptive Cy
by OptimusPrime
Today at 05:26
video memory and d3d_texfree
by Superku
Yesterday at 11:17
AUM Magazine
Latest Screens
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Lake scene
Who's Online
16 registered (CocaCola, kvm, MatPed, Iglarion, AndrewAMD, brax, Michael_Schwarz, Mio, 2 invisible), 454 Guests and 3 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
fandi, Deedee, avgtrader, aventador, gokhanuck
18103 Registered Users
Topic Options
Rate This Topic
#474057 - 09/14/18 20:47 Data history download script - change Daily Open/Close hours
tradingest Offline
Member

Registered: 02/27/18
Posts: 178
Loc: Italy
Hi all,

if I want to download the history price I use the following script using the server broker hours.
Code:
function run()
{
  NumYears = 8;
  while(loop(Assets))
    assetHistory(Loop1,1);
  quit();
}



If I want to download with different hours, the code shown above how can I change it?

thanks

Top
#474329 - 10/07/18 00:51 Re: Data history download script - change Daily Open/Close hours [Re: tradingest]
tradingest Offline
Member

Registered: 02/27/18
Posts: 178
Loc: Italy
somebody can you help me.to resolve it?

Top
#474344 - 10/08/18 12:15 Re: Data history download script - change Daily Open/Close hours [Re: tradingest]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26597
Loc: Frankfurt
Open the history file with dataLoad(), then add the desired time zone offset to all time stamps and save it again. Better under a different name, for marking it as a file with nonstandard time stamps.

Top
#474354 - 10/08/18 22:33 Re: Data history download script - change Daily Open/Close hours [Re: jcl]
tradingest Offline
Member

Registered: 02/27/18
Posts: 178
Loc: Italy
Originally Posted By: jcl
Open the history file with dataLoad(), then add the desired time zone offset to all time stamps and save it again. Better under a different name, for marking it as a file with nonstandard time stamps.


Hi jcl,

thank for your post.
I see the manual but I can not edit using the dataLoad().
Would you be so kind as to show me an example?

Thanks so much jcl

Top
#474363 - 10/09/18 09:20 Re: Data history download script - change Daily Open/Close hours [Re: tradingest]
jcl Online

Chief Engineer

Registered: 07/22/00
Posts: 26597
Loc: Frankfurt
I have no example, but if you cannot write such a script, you can email Support and they`ll put you in contact with a freelancer.

Top



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

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