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/

    Ideas to improve run time for back testing for large data?

    General Code/Help
    1
    2
    35
    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.
    • K
      kevkev last edited by

      I use seconds CSV data feed OLHCL of one month and replay the data 3 times 1. for seconds(as is) 2. for 5 minutes 3. for 30 minutes and use it for diffrent indicators such as meager spikes, calculate ATR and the seconds bars are for the prices updating.

      At the current way when I replay the data it takes more then 1.5 hour to run one back test. and I need to add more time intervals for diffrent indicators meaning that I will require to replay the data more then those 3 times and it means that it will take much more time..

      Also I'm using only one month at the moment and would like to use more than 1 month for those tests.

      Do you guys know any way to significant decrease the time for those runs ?

      K 1 Reply Last reply Reply Quote 0
      • K
        kevkev @kevkev last edited by

        Any thoughts ?

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