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/

    Options for forward filling in Live mode

    General Code/Help
    1
    1
    121
    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.
    • vbs
      vbs last edited by

      E.g. when using live mode and resampling live ticks to M1 bars then you get gaps in the data lines when in a given minute no tick arrived. I am unsure how to handle this properly and I think I have read about backtrader being able to forward fill those gaps when data is missing.

      Currently I fail to find any definite information about this topic. What I found is this which involves using data filters:
      https://www.backtrader.com/blog/posts/2016-04-19-sync-different-markets/sync-different-markets/

      Not sure if something similar could be used to handle the situation mentioned above. I am sure this topic has been discussed already. So maybe someone could point me in the right direction?
      Thank you.

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