Backtrader Community

    • 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/

    How to fasten the strategy optimization execution ?

    Indicators/Strategies/Analyzers
    1
    1
    110
    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.
    • S
      sujansays last edited by

      Hi. I am using backtrader framework to execute the strategy for optimization. I specify the parameters range and the program works fine. I am using the maximum cores available on my laptop (which is the default setting). Now, even after the required results are displayed during the run. The strategy execution does not gets completed (meaning the program is still running even after displaying the output).
      It takes around 8-10mins to completely finish the run. I am not sure why it is taking so long time to exit fully. Is this the expected behavior of the framework which might use this time to close all the opened threads and exit gracefully. Or am i missing anything.
      I would also try to know if there are any other ways to smartly use the optimization.

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