Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (M_D), 1,430 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,986
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