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 backtest over long timespan with intraday candles

    General Code/Help
    3
    7
    95
    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.
    • Wayne Filkins
      Wayne Filkins last edited by

      Every time I try to backtest with anything under 1D candles, it cuts out the middle (most of the backtest). It just skips over it. How can I run it over several months? The data seems to be there because it does the start of it, then the end. Is there a setting or something to see the whole backtest?

      1 Reply Last reply Reply Quote 0
      • run-out
        run-out last edited by

        @Wayne-Filkins We're gonna need more details my friend... :)

        RunBacktest.com

        Wayne Filkins 1 Reply Last reply Reply Quote 1
        • Wayne Filkins
          Wayne Filkins last edited by

          Does it not do it for you? I just assumed it does it for everyone. Seems like it's built for 1D candles and intraday seems really flawed.

          1 Reply Last reply Reply Quote 0
          • Wayne Filkins
            Wayne Filkins @run-out last edited by

            @run-out Big cut off line in the chart where it skips a bunch of time. Idk if this is just the output...like maybe it's doing trades in that time period and just not showing the information?

            1083cd51-fb36-470f-aa3b-a2df5070c4e6-image.png https://i.imgur.com/YoqhbdJ.png

            eac5eb2f-ce95-4564-b83c-31232d08d7df-image.png

            9960297f-0efb-4986-a779-b24576c17827-image.png

            1 Reply Last reply Reply Quote 0
            • Wayne Filkins
              Wayne Filkins last edited by

              Also I have no clue why I have 2 charts or if that's normal lol

              1 Reply Last reply Reply Quote 0
              • A
                ab_trader last edited by

                @Wayne-Filkins said in How to backtest over long timespan with intraday candles:

                Also I have no clue why I have 2 charts or if that's normal lol

                you add initial data and then resample it. Two data feeds is a reason for two charts.

                • If my answer helped, hit reputation up arrow at lower right corner of the post.
                • Python Debugging With Pdb
                • New to python and bt - check this out
                Wayne Filkins 1 Reply Last reply Reply Quote 1
                • Wayne Filkins
                  Wayne Filkins @ab_trader last edited by

                  @ab_trader ok thx.

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