Is there a way to update the amount available in an algorithm? I’d like to reset the value to zero (currently catalyst just crashes saying not enough funds available - I get that but I’d like to reset the funds available to zero)
sorry on the late response.
I’m not sure I’ve understood your scenario… on what mode are you running? what are you trying to achieve? can you please elaborate?
If I understood correctly the question is how can update the capital_base dynamically during the execution of algo? If I define the capital_base in the main section of python algo how can I update it?