Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 552 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Having trouble when oversampling. #483638
06/26/21 16:00
06/26/21 16:00
Joined: May 2021
Posts: 6
S
Sempervirens Offline OP
Newbie
Sempervirens  Offline OP
Newbie
S

Joined: May 2021
Posts: 6
Hello, has anyone had any success oversampling? I'm currently using zorro version 2.35.9 and adding NumSampleCycles = 4 seems to have no effect at all on my script, the backtest shows same exact results with or without oversampling (even when adding the ALLCYCLES flag) and the time for testing seems to be exactly the same as well, I tried just adding the line into the Workshop 4 script and it didn't change the result or the time it took to test the script either, thinking I must be doing something wrong or maybe the function is broken? If anyone has managed to do per-bar oversampling in 2.35.9 please let me know, thanks!

Also when clicking results and going thru the file Workshop4.txt I noticed that under "Cycle performance" It shows 0.00 0.00 0.00 0.00.

Last edited by Sempervirens; 06/26/21 19:56.
Re: Having trouble when oversampling. [Re: Sempervirens] #483640
06/26/21 22:26
06/26/21 22:26
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
The manual does not mention this, but NumSampleCycles should be placed before asset() call.

Re: Having trouble when oversampling. [Re: Zheka] #483641
06/26/21 23:16
06/26/21 23:16
Joined: May 2021
Posts: 6
S
Sempervirens Offline OP
Newbie
Sempervirens  Offline OP
Newbie
S

Joined: May 2021
Posts: 6
Originally Posted by Zheka
The manual does not mention this, but NumSampleCycles should be placed before asset() call.

Thanks a lot man, that did the trick.


Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1