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
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 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
Setting Start/End Dates for assetHistory #483462
06/02/21 17:28
06/02/21 17:28
Joined: Sep 2020
Posts: 8
New York, NY
B
BigSky Offline OP
Newbie
BigSky  Offline OP
Newbie
B

Joined: Sep 2020
Posts: 8
New York, NY
I am using assetHistory to download data from Alpha Vantage using assetHistory(Name, FROM_AV)

By default it downloads all of the available data. I want to download the data for a more limited period, e.g. from (2020, 7, 21) to today.

According to the manual I should be able to do this by settings StartDate and EndDate. But when I set StartDate = 20200721 and EndDate = 2021, it makes no difference: assetHistory loads all of the available data, regardless.

In case it isn't possible to limit the amount of data downloaded, how can I truncate the data series, so that Zorro ignores the data prior to StartDate in calculating indicators?

Last edited by BigSky; 06/02/21 17:35.
Re: Setting Start/End Dates for assetHistory [Re: BigSky] #483480
06/04/21 09:47
06/04/21 09:47
Joined: Jul 2000
Posts: 28,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
Frankfurt
D1 data from websites is always downloaded in full, some services do not support start and end dates anyway. Start/End date only affects high resolution data or broker data.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1