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
while 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.
Good 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!
Over 12 months ago I made a Suggestion to PRT that we are able to view Notes (attached to a Strategy) while the Strategy is running in ProOrder … I am still hoping it will happen one day!?
OK… 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
if 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?