ProOrder – Changing a parameter/variable live in a running trading system
Forums › ProRealTime English forum › ProBuilder support › ProOrder – Changing a parameter/variable live in a running trading system
- This topic has 5 replies, 3 voices, and was last updated 1 year ago by GraHal.
-
-
02/14/2023 at 7:02 PM #209682
Hi everyone!
Hopefully a very simple “yes or no” question for the more experienced users. As stated in my topic title.
Can I change a parameter/variable live in a running trading system. Let’s say I want to tighten my strategy while it’s running. Can I then go in to my code and change the variable, save for it to take effect expediently?
Please advise
Thanks Patrik
02/14/2023 at 8:47 PM #209686while it’s running
No, you would need to stop the strategy and make the change in the code editor; then restart the amended code.
Doing above means you lose stats / performance up to the point of stoppage. My workaround is to enter (in the Notes attached to the strategy) something like … 60 Trades + £4K over 6 months to 14 Feb 23. Least then I have some record of performance before the code change.
1 user thanked author for this post.
02/14/2023 at 9:43 PM #209692Good idea Grahal, I’m tired of losing track of performance of the early stages of a strategy. I have the problem that most of my systems are time based and need to be adjusted for daylight savings and make them hard to get a good look at after the change.
Record keeping is paramount in this game!
1 user thanked author for this post.
02/15/2023 at 9:39 AM #20970502/16/2023 at 9:36 AM #209804OK… thanks! That’s a clear NO!
What you’re saying is that the ProOrder code will ignore if I call an external indicator that returns “1” for exiting a position if I change/update the external indicator after I launched my ProOrder system.
Is that right?
Please advise
Thanks Patrik
02/16/2023 at 9:50 AM #209806if I change/update the external indicator after I launched my ProOrder system
I would say the change will be ignored, but I am not 100% sure as I have not done above.
Others may be able to advise?
You could know for sure if you simulate a dummy scenario on your Demo Account.
Use a Condition Time = 100000 in an Indicator, start 2 versions running; amend one version to Time = 100500 after launch, leave the other version at Time = 100000.
If you do above, let us know how you get on please?
-
AuthorPosts