Start trading system with fixed variables
Forums › ProRealTime English forum › ProRealTime platform support › Start trading system with fixed variables
- This topic has 12 replies, 5 voices, and was last updated 3 years ago by Nicolas.
-
-
03/08/2021 at 8:35 PM #163519
What is the correct way to start a trading system (live) in v11 that has fixed variables in the optimizer?
-If I go to the button “Indicators and trading systems”, then “prepare for automatic trading” i get “…remove all variables from the probacktest section…”
03/08/2021 at 9:17 PM #163521I guess you need to remove the variables that’s set for the optimize. Then fill it with the best values you got from the optimize. Then run the system.
I guess you can press this button to make prorealtime to do it for you, see attachments:
03/08/2021 at 9:25 PM #16352203/08/2021 at 9:42 PM #163526tompa3, yes Before v11 I replaced the variables with fixed numbers. Now with v11 it can be done automaticly but I don´t get it to work the way I described.
Grahal, by chosing “Modify probacktest” and then “Automatic trading” I can get to what your screenshot shows, but not the way I described above. Have you tried it the way I did above?
03/08/2021 at 10:32 PM #163527Before v11 I replaced the variables with fixed numbers. Now with v11 it can be done automaticly
I’m not aware of any changes to the process in v11 compared to v10.3. It is still necessary to remove all optimised variables and replace them with fixed variables within the strategy code.
I’m happy to be proved wrong as it can be a tiresome process when adapting a strategy to run live.
03/08/2021 at 10:51 PM #163528I’m not aware of any changes to the process in v11 compared to v10.3
It has been mentioned elsewhere on the forum and I am currently running an algo where v11 replaced fixed values from the optimizer into (places them in the top of the code for example “ONCE vari1 = 76.0”) the code.
03/08/2021 at 11:26 PM #163530One algo that I couldn´t go live with because prt said there was a fault in my code when I was about let v11 insert the values, now works when I have done it the old fashioned way manually.
The message appered when I was in the same menu GraHal has posted a Picture of above.
03/09/2021 at 10:50 AM #163580Have you tried it the way I did above?
Yes I did this morning, and you are right … we get the message attached.
Why do it that old / legacy way when you can do it the new way I mentioned and posted the screen shot and PRT does the work for you of replacing the variables in the code.
For me, above is one of the biggest benefits of V11 as it aids productivity.
The message appered when I was in the same menu GraHal has posted a Picture of above.
Post a screen shot of the message you refer to above else we are have to guess what you are talking about? Folks won’t guess for long, they will move on to another Issue etc.
It is still necessary to remove all optimised variables and replace them with fixed variables within the strategy code.
Not if you use the process in my screen shot 4 or 5 posts above.
03/09/2021 at 12:17 PM #163590Not if you use the process in my screen shot 4 or 5 posts above.
Also (on that same screen) you can store a Template of variables for use another time, for example, 10, 100, 10 or 25, 250, 25 … or whatever you use regularly.
Under certain conditions, above can save inputting the same variable min, max and step repeatedly.
Above is a suggestion I made to PRT some 3 years ago.
03/09/2021 at 3:54 PM #163631Why do it that old / legacy way when you can do it the new way I mentioned and posted the screen shot and PRT does the work for you of replacing the variables in the code.
Well I thought it could be good for others (and maybe prt) to know that it doesn´t work the way I mentioned in my first post. One can miss out on the new function when it doesn´t come up there.
03/09/2021 at 4:15 PM #163634I’m happy to be proved wrong as it can be a tiresome process when adapting a strategy to run live.
I quote myself as I am very happy to have been proven wrong. I was totally unaware of this new to v11 feature and I have been manually deleting all optimised variables and entering them in the code manually. All that time that I will never get back again wasted – doh!
03/09/2021 at 5:13 PM #163641Post a screen shot of the message you refer to above else we are have to guess what you are talking about?
I Think that fault Is more related to that specific code than what we are dicussing here. (As mentioned above I managed to start that algo by inserting fixed values manually, only to be stopped by division by zero a bit later. Hate that!)
1 user thanked author for this post.
03/10/2021 at 10:54 AM #163696I’m not aware of any changes to the process in v11 compared to v10.3. It is still necessary to remove all optimised variables and replace them with fixed variables within the strategy code.
To be clear, it is now POSSIBLE with V11 to let the settings as fixed values in the optimized variables window when you push your strategy into ProOrder.
-
AuthorPosts
Find exclusive trading pro-tools on