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/

    Live datafeed 1 bar late over historical data.

    General Discussion
    2
    1
    38
    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.
    • N
      noufbouf last edited by

      The 1min bar live data that I receive are 1 bar late on the historical data retrieved from the broker API. This is true for both IBKR and OANDA.

      Historical data will display the price X at 13:00, but the live bars received will display the price X at 13:01.

      I tried playing with the resampling parameters (boundoff, rightedge, etc..) but it does not help.
      I saw this issue addressed before on the forum but I feel like there is no clear solution. Does someone else have the same issue? How are you guys dealing with that ?

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