Recover of backtrader strategy
-
Re: Failover / Recoverability of a Backtrader strategy
Hi, I got a question, what type of system do you have to recover your strategy to the point before an internet failure/ system restart etc?
What I mean is, if I have a position open, and backtrader restarts or another issue happens that makes my algo to reboot, how do you recover the list of trades you have open or the possible variables that are initiated that you need the values to exit a trade?
From what I could see the system will restart new trading positions will happen but backtrader will lose track of the positions before the reboot.I link to a post that explained better than me, unfortunately, he got no answer.
hope you can give a hand, and possible some code for "inspiration"
Best Regards