Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
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
2 registered members (AndrewAMD, TipmyPip), 12,555 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
M1 Oversampling #488206
04/20/24 20:57
04/20/24 20:57
Joined: Apr 2024
Posts: 5
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

Joined: Apr 2024
Posts: 5
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: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
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: 5
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

Joined: Apr 2024
Posts: 5
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,024
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,024
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: 5
11honza11 Offline OP
Newbie
11honza11  Offline OP
Newbie

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


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1