• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Switch between data providers in backtests?

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

    Switch between data providers in backtests?

    Hi Experts,
    Is it possible to switch between different data providers in backtests? If not, can this feature please be added?
    I always test strategies against DIFFERENT data feeds. I consider this a very important check step. The smaller the difference, the better.
    Right now, I don't know how to do this other than via deleting the historical data from provider A, then activate provider B, then run the backtest again.
    That's really stupid. I would be glad to hear, well, you don't need to do this because ...
    However, if NT doesn't do the trick today, please add this functionality.
    Thx.
    NT-Roland

    #2
    Hello NT-Roland,

    Connecting or disconnecting from a data feed is possible, however do keep in mind data loads before a backtest is run.

    Below is a link to the help guide.
    https://ninjatrader.com/support/help...t8/connect.htm
    https://ninjatrader.com/support/help...disconnect.htm
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello ChelseaB,
      Thanks for getting back to me. Does this really help?
      If I first load historical data from provider A, then run a backtest, then disconnect from provider A, then connect to provider B, then run the same backtest again, the result of the backtest does NOT change. However, if I delete the historical data from provider A (painful because bulk delete e.g. for futures is not available), then connect to provider B, then run the backtest, I get different results.
      Thus, the question is, how can I ensure the data is always refreshed after switching between providers in a backtest.
      Of course, it would be even better, if the data does not needed to be deleted/loaded again, if already available. If separate default directories by data provider for the SAME instrument were available, it should be sufficient to just pick the respective provider (and perhaps indicate the directory where the data is located) and run the backtest with already existing data.
      What am I doing wrong?
      NT-Roland

      Comment


        #4
        Hello NT-Roland,

        The data doesn't change because it's been cached.

        You can choose to delete historical data so this is re-downloaded.

        Below is a link to the help guide.
        https://ninjatrader.com/support/help...HistoricalData
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello ChelseaB,
          Exactly. Wouldn't this be a major improvement if the user hadn't to delete and reload when backtesting strategies against different data providers?
          Or if some sort of bulk delete for more than one future expiry date was made available?
          If you backtest future strategies against a full portfolio, you have an awful lot of expiry dates to pick one by one.
          A fix for that would be a big time saver, even if the data then had to be reloaded.
          NT-Roland

          Comment


            #6
            Hello NT-Roland,

            You can delete all historical data for all instruments and expiry months at the same time.
            Do this instead of deleting historical data one contract month at a time.

            I have submitted a feature request on your behalf for historical data to be deleted and re-downloaded before each backtest.

            Once I have a tracking ID for this request I will post in this thread for future reference.
            Chelsea B.NinjaTrader Customer Service

            Comment


              #7
              Hello NT-Roland,

              This request is being tracked with ID# SFT-4384.

              As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

              Release Notes — https://ninjatrader.com/support/help...ease_notes.htm
              Chelsea B.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by faisamtrader, Yesterday, 10:03 PM
              0 responses
              2 views
              0 likes
              Last Post faisamtrader  
              Started by johnnybegoode, Yesterday, 08:11 PM
              0 responses
              2 views
              0 likes
              Last Post johnnybegoode  
              Started by Bionian, Yesterday, 02:47 PM
              2 responses
              21 views
              0 likes
              Last Post Bionian
              by Bionian
               
              Started by RickB60, Yesterday, 01:55 PM
              1 response
              11 views
              0 likes
              Last Post NinjaTrader_PaulH  
              Started by filopearson, Yesterday, 01:18 PM
              6 responses
              11 views
              0 likes
              Last Post NinjaTrader_Jesse  
              Working...
              X