Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtest with Yahoo historical data

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

    Backtest with Yahoo historical data

    Hi,

    Downloaded NT today.
    I connected to yahoo to get historical data and start to play with strategies.
    I added the FTSE 100 easily (very intuitive soft) but when I run the SampleMACrossOver the graph is updated with the SMAs but no trade is executed. I tried wth many other instrument and same issue.
    I think it's to due with the fact that Yahoo onlye provides daily data but still don't understand why the backtest doesn't generate any order.

    Any help is much appreciated :-)

    #2
    foon33,

    You can only backtest on a daily time frame if you are using Yahoo. Then you will need to ensure you are doing so on backtestable instruments. I suggest you run it on AAPL for instance to see how it works.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      Tks for the quick reply.
      I am backtesting with a daily time frame.

      I tried AAPL and indeed it worked.
      But I don't understand why AAPL is ok but not FTSE or SP500? All the prices come from Yahoo so what is the differences between AAPL and FTSE so that one works and not the other?

      Comment


        #4
        The difference is you cannot backtest on indexes. You will need to backtest on actual tradeable instruments. So for instance, SP500, you could use SPY.
        Josh P.NinjaTrader Customer Service

        Comment


          #5
          ah :-)
          Well I could not guess.
          So if I transform FTSE to an equity, it should work.
          Tks a lot.

          Comment


            #6
            You can't just "transform" an index to an equity. If the instrument is an index then it is an index. You could export the data and put it into a fake equity instrument if that is what you want. Or you could just use an ETF or something that tracks it.
            Josh P.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by alifarahani, Today, 09:40 AM
            4 responses
            20 views
            0 likes
            Last Post alifarahani  
            Started by gentlebenthebear, Today, 01:30 AM
            3 responses
            16 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by PhillT, Today, 02:16 PM
            2 responses
            7 views
            0 likes
            Last Post PhillT
            by PhillT
             
            Started by Kaledus, Today, 01:29 PM
            3 responses
            11 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by frankthearm, Yesterday, 09:08 AM
            14 responses
            47 views
            0 likes
            Last Post NinjaTrader_Clayton  
            Working...
            X