Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting taking too long

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Backtesting taking too long

    I use IBKR as my connection, I use minute data, QQQ/AMD (anything really) as an instrument.
    works perfectly fine as long as I don't go a single day before 01/01/2022 as the start date but one day before that and suddenly it takes forever.

    I'm sure it has something to do with the historical data or data base but I don't know how to fix it.

    #2
    Hello Mo98alda,

    I suspect you are triggering Interactive Brokers pacing violation when attempting to request to much historical data from their servers. Are you backtesting daily bars? If so can you please disconnect from IB then connect to the Kinetick End of Day (Free) connection and verify if you can then backtest successfully.

    There is also information publicly available at the link below that goes over Interactive Brokers historical data limitations.
    Christopher J.NinjaTrader Customer Service

    Comment


      #3
      Backtesting with Daily works fine with any start date using Kinetic and IB the problem only appears with minute data.

      for the limitations I might have triggered "Making identical historical data requests within 15 seconds" how do i fix this?
      But i haven't requested any data under 1 min time frame so that might not be it
      Last edited by Mo98alda; 03-21-2022, 12:39 PM.

      Comment


        #4
        i tried disconnecting and closing IB and then reconnecting but the problem persists even when i try to avoid triggering any pacing violations

        Comment


          #5
          To verify if you are able to load data from IB for the time period requesting data for please open a new Minute chart for AMD and within the "Days to load" setting input a value that will load data prior to 1/1/2022 and let me know if you can view data prior to 1/1/2022 in the chart when scrolling back in the chart.
          Christopher J.NinjaTrader Customer Service

          Comment


            #6
            Update: chart works but backtesting doesn't loaded up 365 days on the chart took a couple of seconds to load and worked, backtesting doesn't work even if i only test for a single day before the default date
            Last edited by Mo98alda; 03-21-2022, 01:13 PM.

            Comment


              #7
              Nevermind I fixed it I just loaded the historical data for the instrument again and it started worked as it should be

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              108 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              55 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              37 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              38 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              75 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X