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 4 years ago by
GraHal.
-
-
06/30/2020 at 9:53 AM #137638
Hi Guys,
I discuss with the PRT support to understand why it’s so long when we optimize our backtest (1h40 to optimize this morning to have 11 %)
I do a very simple (not ideal whatever) code to test with you.
Can you test it on EUR/USD 1 minute 100 000 unit and 10 000 combinaison to see how long it takes on your computer
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051DEFPARAM CumulateOrders=FalseREM Achatindicator1 = LinearRegression[a](close)c1 = (indicator1 > indicator1[c])indicator3 = LinearRegression[b](close)c2 = (indicator3 > indicator3[c])IF c1 AND c2 THENBUY 1000 SHARES AT MARKETENDIFREM Venteindicator5 = LinearRegression[a](close)c3 = (indicator5 < indicator5[c])indicator7 = LinearRegression[b](close)c4 = (indicator7 < indicator7[c])IF c3 AND c4 THENSELL AT MARKETENDIFREM Vente à découvertindicator9 = LinearRegression[a](close)c5 = (indicator9 < indicator9[c])indicator11 = LinearRegression[b](close)c6 = (indicator11 < indicator11[c])IF c5 AND c6 THENSELLSHORT 1000 SHARES AT MARKETENDIFREM Rachatindicator13 = LinearRegression[a](close)c7 = (indicator13 > indicator13[c])indicator15 = LinearRegression[b](close)c8 = (indicator15 > indicator15[c])IF c7 AND c8 THENEXITSHORT AT MARKETENDIFa, b, c optimize from 5 to 100 with a step of 5 =8000 combinations
and post how long it takes for you
Thanks and SeeU
06/30/2020 at 10:10 AM #13764506/30/2020 at 10:20 AM #13765006/30/2020 at 10:35 AM #13765406/30/2020 at 10:40 AM #13765706/30/2020 at 10:45 AM #13765906/30/2020 at 10:53 AM #13766106/30/2020 at 11:01 AM #137662How much RAM is spare / unused when you are doing a backtest?
Press Ctrl, Alt and Delete and use Task Manager to tell us how much RAM is spare / unused during backtest?
Also how much RAM is being used by PRT during the backtest … it will tell you this using Task Manager.
06/30/2020 at 11:12 AM #137664I didn’t think our own hardware had much to do with the speed of the backtests/optimization? Isn’t it mostly PRT’s servers that are doing the job?
Nicolas, what would you say are the best weekdays and time during the day to work with these more heavy optimizations in order to get the most power from the PRT servers?
06/30/2020 at 11:19 AM #137666Would be interesting to know from other people too, in order to compare between us.
@swedshare Since most of the PRT users are from western Europe, I would say at night (from 22:00 to 07:00 CET).1 user thanked author for this post.
06/30/2020 at 11:42 AM #137675I didn’t think our own hardware had much to do with the speed of the backtests/optimization?
CPU speed I agree.
But freely available RAM is required in order to be able to log the results in the Table that we look at on the screen.
I use the utility shown on attached to release RAM hogged by PRT and it is surprising how much punchier it all is … until next time RAM needs releasing!
06/30/2020 at 12:44 PM #137690Hi @Grahal
Agree with you, PRT and java consume a lot of Ram but with 16 Go Ram it only use 43 % of RAM
Java consume 2,52 Go ! as you see on my picture
But as previeous said, normaly PRt works on server, so there will be not any influence, or small, with ram
But I don’t understand why it takes only 2 minutes for 60 secondes on the nicola’s computer
06/30/2020 at 12:53 PM #13769406/30/2020 at 1:45 PM #137703May be it’s a problem with java
I install Java 64 bits on my win7 64bits but I see PRT still work on Java 32 bits v8.0.202.8 who was install when I click on the button on the PRT website to launch PRT
Which java version do you use 32/64 bits @Nicolas and how can we do to work on 64 bits ?
Thanks
06/30/2020 at 2:06 PM #137709 -
AuthorPosts
Find exclusive trading pro-tools on