When I restart the algorithm, will the variables and its stored values in previous script be deleted or not?
If the variable won't be deleted, can the system handle new variables I added under "__init__()"?
Thank you very much!
When I restart the algorithm, will the variables and its stored values in previous script be deleted or not?
If the variable won't be deleted, can the system handle new variables I added under "__init__()"?
Thank you very much!
When you restart algo, all previous variable values/states will be retreived and continue to run from there.
If you introduce new variables in the script, its value will be initialized. However, if it uses the same variable name, it won't be re-intialized.
Normally speaking, if you want to re-initialize everything, you will need to click "Reset Environment".
However this function is currently disabled for contesters to prevent frequent code amendments.
For your case, you may close all outstanding positions and stop the algo first. Then, we can assist to clear the memory cache at backend so you can rerun from beginning.
Original Posted by - b'admin':When you restart algo, all previous variable values/states will be retreived and continue to run from there.
If you introduce new variables in the script, its value will be initialized. However, if it uses the same variable name, it won't be re-intialized.
Normally speaking, if you want to re-initialize everything, you will need to click "Reset Environment".
However this function is currently disabled for contesters to prevent frequent code amendments.
For your case, you may close all outstanding positions and stop the algo first. Then, we can assist to clear the memory cache at backend so you can rerun from beginning.