Gamestudio Links
Zorro Links
Newest Posts
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
Release 2.68 replacement of the .par format
by Martin_HH. 09/23/25 20:48
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
0 registered members (), 18,175 guests, and 5 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
StartDate / EndDate discrepancy #463035
11/11/16 15:14
11/11/16 15:14
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
Normally the StartDate and EndDate variables work for me as expected.

But now I tried testing SPY strategy with data downloaded from Yahoo. When I set:
Code:
StartDate = 2009;
EndDate = 2009;


The Zorro main window says that it's testing 2009 as it's supposed to but the actual results (and equity graph) are from 2009 to 2016.

Re: StartDate / EndDate discrepancy [Re: pcz] #463039
11/11/16 17:20
11/11/16 17:20
Joined: Jul 2000
Posts: 28,022
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,022
Frankfurt
When you give no end date, the simulation uses the complete historical file. "2009" is not a date, it's the number of the first or last historical data file to be used. "20090101" would be a date.

http://manual.zorro-project.com/date.htm



Re: StartDate / EndDate discrepancy [Re: jcl] #463049
11/11/16 20:35
11/11/16 20:35
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
Thank you, didn't realize that it's tied to the year number of historical data file.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1