Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/

    Recover of backtrader strategy

    Indicators/Strategies/Analyzers
    1
    1
    162
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      Peixoto last edited by

      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

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors