Can you optimize this backtest (speed comparison)
Forums › ProRealTime English forum › ProOrder support › Can you optimize this backtest (speed comparison)
- This topic has 84 replies, 7 voices, and was last updated 3 years ago by GraHal.
-
-
06/30/2020 at 2:07 PM #137711
But I don’t understand why it takes only 2 minutes for 60 secondes on the nicola’s computer
Switch off and then log back in again and do the optimise backtest straight away as a first task and tell us if it is any faster?
I say this because I notice that when the RAM used by PRT gets to 2.5 GB ish then it starts getting jittery etc.
06/30/2020 at 2:29 PM #13771506/30/2020 at 2:40 PM #13772506/30/2020 at 2:56 PM #13773206/30/2020 at 3:07 PM #137736wow that code is not really optimized! Same indicator is called multiple times, better to use only 1 variable. You have also used many times the TIMEFRAME instruction to call the same timeframe, also a better idea to organize all the same timeframe codes below only 1 timeframe selection if possible.
Anyway i’m testing it that way and i’m at 5% completed in less than 3 minutes.
06/30/2020 at 3:35 PM #13775206/30/2020 at 4:00 PM #13776106/30/2020 at 4:06 PM #137762And we see MultiFrame slow clearly the optimization (It’s the same code but with MTF)
Obviously since the code is way more complex! Also, by using MTF you force X times more data to be loaded (OHLC history in X different timeframes).
1 user thanked author for this post.
06/30/2020 at 4:07 PM #13776306/30/2020 at 5:41 PM #13778306/30/2020 at 6:08 PM #13778606/30/2020 at 6:53 PM #13779506/30/2020 at 6:55 PM #13779706/30/2020 at 7:35 PM #13779906/30/2020 at 7:48 PM #137803 -
AuthorPosts
Find exclusive trading pro-tools on