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/

    Resample 1 minute to 15 minutes

    General Code/Help
    2
    3
    1285
    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
      DesHartman last edited by

      Hi,

      Is there a way to use 1 minute data to create a 15 minute version? All I can see from TimeFrames is the actual unit, rather than a count in the unit?

      Idea would be to "sum" up 15 "1-minute" bars to give a "15-minute" bar and so on.

      Thanks

      1 Reply Last reply Reply Quote 0
      • B
        backtrader administrators last edited by

        Docs - Data Resampling

        You are looking for compression

        1 Reply Last reply Reply Quote 0
        • D
          DesHartman last edited by

          Thanks. Now that I know that, compression makes more sense.

          Would probably be of value to make it a bit more explicit that compression can convert data. I had a look at all the examples and it mostly "uses" compression, rather than stating compression is used to summarise data to different timeframes ;-)

          Thanks for the pointer anyway!

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