Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 07/18/26 13:40
Z9 getting Error 058
by madpower2000. 07/17/26 19:03
Purchase A8 full licence version
by ukgamer. 07/17/26 05:52
New Lic: When does the Support clock start?
by Student_64151. 07/17/26 01:38
New Zorro version 3.11
by madpower2000. 07/16/26 13:49
What are you working on?
by NeoDumont. 07/15/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
0 registered members (), 2,555 guests, and 269 spiders.
Key: Admin, Global Mod, Mod
Newest Members
riggi89, shuhari, KD1990, Ephraim, Student_64151
19223 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
M1 Oversampling #488206
04/20/24 20:57
04/20/24 20:57
Joined: Apr 2024
Posts: 10
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

Joined: Apr 2024
Posts: 10
Hi,

Is there any possibility to oversample 1 minute chart with M1 data? Per-bar is not possible, obviously. Can I use per-cycle? Doc says almost nothing about that, how does it work and for what is it useful. Are there other methods?

Re: M1 Oversampling [Re: 11honza11] #488212
04/24/24 10:34
04/24/24 10:34
Joined: Apr 2008
Posts: 600
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 600
Austria
Sure, for instance use NumSampleCycles = 4; and SampleOffset = 60; for 4 cycles with 1 hour start time difference each.

Re: M1 Oversampling [Re: Petra] #488219
04/26/24 08:32
04/26/24 08:32
Joined: Apr 2024
Posts: 10
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

Joined: Apr 2024
Posts: 10
Hi Petra,

Thank you for answer. Can you please elaborate how time offset makes different price curves needed for oversampling? I made a quick test and it seems it does not. It only runs _n_ cycles with time offset as you mentioned, and according to docs SampleOffset is used for a histogram of the performance dependent on start time, rather than generating slightly different price curves.

I'm sorry if I wasn't clear in the original question, but I try to achieve this:
Oversampling the bars is a method to run multiple test cycles on slightly different price curves that are derived from the original curve and contain the same inefficiencies. This produces more trades, generates more realistic backtests, and allows to evaluate the effect of price curve randomness on the system performance.

Last edited by 11honza11; 04/26/24 08:36.
Re: M1 Oversampling [Re: 11honza11] #488223
04/26/24 11:12
04/26/24 11:12
Joined: Jul 2000
Posts: 28,124
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,124
Frankfurt
It depends on your strategy if per cycle oversamping makes sense. For instance, when your strategy trades at fixed times, all cycles will obviously have the same trades and you need no oversampling.

Re: M1 Oversampling [Re: 11honza11] #488233
04/30/24 08:16
04/30/24 08:16
Joined: Apr 2024
Posts: 10
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

Joined: Apr 2024
Posts: 10
You're right, it makes more sense now. Thanks.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1