Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
3 registered members (AndrewAMD, The_Judge, Grant), 898 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Is it possible to use monthly data? #462017
09/03/16 14:40
09/03/16 14:40
Joined: May 2016
Posts: 180
Prague
pcz Offline OP
Member
pcz  Offline OP
Member

Joined: May 2016
Posts: 180
Prague
I want to use monthly close prices of some indices stretching back to 60s in my backtests. In the data export / import section of the manual you can read:

Quote:
The price data files included with Zorro are minute based, but any other time base can also be used as long as it's equal or less than the bar period.


And in the BarPeriod documentation there's this:

Quote:
The duration of one bar in minutes, with a range from 100 ms (0.100/60.) up to 1 day (24*60); default = 60.


So my question is whether is it possible to use monthly data somehow if the maximum value of BarPeriod is 24*60 and the time base of the history data files has to be equal or less than the bar period (at least according to the manual).

Re: Is it possible to use monthly data? [Re: pcz] #462039
09/05/16 15:46
09/05/16 15:46
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
You can use daily bars and the tdm() and tom() functions for determining the close of the last trading day of a month.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1