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 tradingnasdaqprueba, 04-09-2024, 09:52 AM
              7 responses
              48 views
              0 likes
              Last Post NinjaTrader_Gaby  
              Started by deamenvc, Today, 05:00 AM
              0 responses
              2 views
              0 likes
              Last Post deamenvc  
              Started by r68cervera, Today, 04:45 AM
              0 responses
              4 views
              0 likes
              Last Post r68cervera  
              Started by r68cervera, 04-25-2024, 05:29 AM
              2 responses
              18 views
              0 likes
              Last Post r68cervera  
              Started by SugarDefHealth, Today, 03:30 AM
              0 responses
              6 views
              0 likes
              Last Post SugarDefHealth  
              Working...
              X