Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

backtest data

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

    backtest data

    I am a new customer of Iqfeed, primarily so I can backtest data and I have noticed that a lot of the time there are large gaps in the data. I have contacted IQfeed about this problem and they say it is not on their end that it is a problem with ninjatrader. Could you help me resolve this issue?
    Below is a jpeg of data that appears to have gapped on me.
    Thanks
    Pete
    Attached Files

    #2
    Originally posted by pistolpete View Post
    I am a new customer of Iqfeed, primarily so I can backtest data and I have noticed that a lot of the time there are large gaps in the data. I have contacted IQfeed about this problem and they say it is not on their end that it is a problem with ninjatrader. Could you help me resolve this issue?
    Below is a jpeg of data that appears to have gapped on me.
    Thanks
    Pete
    Hello Pete,

    Thank you for your post.


    Can you open a chart for this time period and see if the historical data loads?
    Ray S.NinjaTrader Customer Service

    Comment


      #3
      yes I am getting all the historical data when I bring up the chart.

      Comment


        #4
        Originally posted by pistolpete View Post
        yes I am getting all the historical data when I bring up the chart.
        Can you run the backtest again and bring up the Charts tab?

        Do you see data for this period and were there any trades placed?

        More information on the Charts tab here: http://www.ninjatrader-support.com/H...eDataTabs.html
        Ray S.NinjaTrader Customer Service

        Comment


          #5
          I see data and I see trades taking place but there is nothing showing when I go to my graphs - daily net profit.
          Thanks
          Pete

          Comment


            #6
            Originally posted by pistolpete View Post
            I see data and I see trades taking place but there is nothing showing when I go to my graphs - daily net profit.
            Thanks
            Pete
            Interesting... can you go to the "Periods" tab and choose Daily next to period?

            Then look at these dates and see if there is a value under "Net."

            Thank you!
            Ray S.NinjaTrader Customer Service

            Comment


              #7
              It isn't showing in periods either.
              it goes right from April 1 to May 1. But the chart shows around 1 trade a day which is correct.
              Thanks
              Pete

              Comment


                #8
                Originally posted by pistolpete View Post
                It isn't showing in periods either.
                it goes right from April 1 to May 1. But the chart shows around 1 trade a day which is correct.
                Thanks
                Pete
                Please try repairing your database: Tools --> Options --> Misc --> Repair DB.

                Then perform the backtest again and let me know if the issue persists.
                Ray S.NinjaTrader Customer Service

                Comment


                  #9
                  that didn't work.
                  This is a significant problem because I am basing my live trades on my total net profit of my back tests of 2 months at a time. If one of the months is missing then it is useless.
                  please help.
                  Thanks
                  Pete

                  Comment


                    #10
                    Originally posted by pistolpete View Post
                    that didn't work.
                    This is a significant problem because I am basing my live trades on my total net profit of my back tests of 2 months at a time. If one of the months is missing then it is useless.
                    please help.
                    Thanks
                    Pete
                    I understand.

                    Can you perform the same period backtest with the SampleMACrossover Strategy? Does the issue happen with this strategy?

                    If so, please let me know what datafeed, period, and instrument, so I can recreate this backtest on my end.

                    Thank you!
                    Ray S.NinjaTrader Customer Service

                    Comment


                      #11
                      I just ran the test on the sample MA crossover and the same thing happened. I ran it on Apache APA NYSE from iqfeed from 1/1/2009 to 6/10/2009. I have brought up the problem with IQfeed and they have been saying that is deffinately a NT problem and that they have all of the data for the stocks that I am running.

                      Comment


                        #12
                        I tested the SampleMaCrossover strategy for stock APA from 1/12009 through today, 6/11/2009. I used 5 and 10 for the fast and slow respectively.

                        It shows trades as going through every day. Can you try this same backtest?
                        Attached Files
                        Ray S.NinjaTrader Customer Service

                        Comment


                          #13
                          Same thing.
                          I tried multiple time series as well, 10min and 1 min and it shows a month gap.

                          Comment


                            #14
                            sorry it gaps from 1/8/2009 to 4/21/2009 but shows trades on the charts for that period of time.

                            Comment


                              #15
                              Originally posted by pistolpete View Post
                              sorry it gaps from 1/8/2009 to 4/21/2009 but shows trades on the charts for that period of time.
                              Ok, can you please try the following and test a new backtest between each issue?

                              Please try repairing your database:
                              1. Go to Tools --> Options --> Misc --> Repair DB

                              Please try repairing your NinjaTrader Installation:
                              1. Shut Down NinjaTrader
                              2. Go to Uninstall Programs in the Windows Control Panel
                              3. Select NinjaTrader and hit the "repair" or "change" button and follow the instructions to repair the installation.
                              Ray S.NinjaTrader Customer Service

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by algospoke, Yesterday, 06:40 PM
                              2 responses
                              21 views
                              0 likes
                              Last Post algospoke  
                              Started by ghoul, Today, 06:02 PM
                              3 responses
                              14 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by jeronymite, 04-12-2024, 04:26 PM
                              3 responses
                              45 views
                              0 likes
                              Last Post jeronymite  
                              Started by Barry Milan, Yesterday, 10:35 PM
                              7 responses
                              21 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by AttiM, 02-14-2024, 05:20 PM
                              10 responses
                              181 views
                              0 likes
                              Last Post jeronymite  
                              Working...
                              X