Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
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
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, howardR), 472 guests, and 7 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
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,982
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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