Gamestudio Links
Zorro Links
Newest Posts
TradeVars not working with pending trades
by jcl
2 seconds ago
Creating a Directory
by txesmi
Yesterday at 10:15
Multi asset correlation
by jcl
Yesterday at 09:57
Help in analysis...
by MINER
Yesterday at 09:13
Strange problem with a global int
by jcl
Yesterday at 08:48
New Zorro version 2.03
by jcl
Yesterday at 08:28
not using profit targets during strategy development
by laz
Yesterday at 00:23
AUM Magazine
Latest Screens
Pogostuck: Rage With Your Friends
Worst Case Z
AckCon'18 - Lotter vs the World 2 - Preview Release
Evonet Beta v1.0 : Online Project Development Template
Who's Online
6 registered (kvm, 20BN, Dalla, AndrewAMD, 2 invisible), 581 Guests and 7 Spiders online.
Key: Admin, Global Mod, Mod
Newest Members
Pelin27, Aziz, lucianopneto, j45p41, Max_Ahn
18173 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: 227
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: 227
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: 26746
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: 227
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: 26746
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