Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
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
4 registered members (degenerate_762, AbrahamR, AndrewAMD, ozgur), 667 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 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: 27,986
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

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