Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting a major index since inception

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

    Backtesting a major index since inception

    I want to backtest some of my strategies against the major indeces (S&P, DJI, etc) since they were created to find optimal bear/bull market indicators. Is this possible on ninjatrader? I have IQfeed for my data but they only have S&P back to 1995 when it was created in 1957

    #2
    Hello,

    Thank you for your note.

    Unfortunately NinjaTrader does NOT provide data, so you are limited to what your data provider provides.
    If you can find a source of this data in txt format, you can import it. See this link for instructions: http://www.ninjatrader-support.com/H...V6/Import.html
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      You can use the free/built-in Yahoo data provider in NinjaTrader on the S&P 500 to go back into the 1950s with daily bars. Bear market detection seems to be a popular theme recently.

      Comment


        #4
        Nice, I was hoping yahoo had that data. Thanks Anagoge

        Comment


          #5
          no dice

          In case anyone else is following this thread, NinjaTrader_RJStein was right. even though yahoo has the data, backtesting on the index through NT doesn't actually create any trades.

          I hope that this is something that they add to NT 7 when it comes out because it would be extremely valuable

          Comment


            #6
            You can trade on the index using a workaround like this:

            Create a new instrument using the instrument manager, give it any unused ticker/description, set the instrument type to stock, set the Yahoo ticker for the instrument to the index ticker (^GSPC, etc.), set the exchange to Default, download the data from Yahoo, and then trade away. I do this and it works just fine.

            Comment


              #7
              That worked perfectly! Thanks for the follow up Anagoge

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by bortz, 11-06-2023, 08:04 AM
              47 responses
              1,611 views
              0 likes
              Last Post aligator  
              Started by jaybedreamin, Today, 05:56 PM
              0 responses
              9 views
              0 likes
              Last Post jaybedreamin  
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              19 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              6 views
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              22 views
              0 likes
              Last Post Javierw.ok  
              Working...
              X