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/

    how to add a big data (over limit the memory) to Backtrader(batch or else?)

    General Discussion
    3
    4
    1557
    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.
    • D
      dark_light last edited by

      I got minutes data and it's big, I got a 32G memory,but minitus data is 200G,
      if I backtest with 1year on every run,and how to I get a continues result of backtest?

      1 Reply Last reply Reply Quote 0
      • hghhgghdf dfdf
        hghhgghdf dfdf last edited by

        try passing exactbars=True to cerebro

        1 Reply Last reply Reply Quote 0
        • vladisld
          vladisld last edited by

          @dark_light said in how to add a big data (over limit the memory) to Backtrader(batch or else?):

          32G memory,but minitus data is 200G

          how many instruments are you going to test simultaneously?

          AFAIU 1 min data for a single instrument per year will take ~5 MB in memory ( 20B per bar * 60 (min per hour) * 16 (hours in ext session) * 252 (trading days in year)).

          1 Reply Last reply Reply Quote 1
          • vladisld
            vladisld last edited by

            Related blog: On Backtesting Performance and Out of Core Memory Execution

            1 Reply Last reply Reply Quote 1
            • 1 / 1
            • First post
              Last post
            Copyright © 2016, 2017, 2018 NodeBB Forums | Contributors
            $(document).ready(function () { app.coldLoad(); }); }