Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Backtesting missing results

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

    Backtesting missing results

    Hello, when I run backtesting, NinjaTrader misses data, for instance, backtesting goes to 21 of February, then next date is 24 of April. What is it?

    #2
    This most likely means that you're missing the historical data for that period of time.

    So I may assist you more accurately, please answer all of the following questions:
    • What version of NinjaTrader 8 are you using? Please provide the entire version number. This can be found under Help -> About (Example: 8.0.?.?)
    • Do you see results when running the same test on the SampleMaCrossOver strategy in NinjaTrader with the same settings as your strategy?
    • Who are you connected to? This is displayed in green on lower left corner of the Control Center window.
    • Are you connected to your data feed provider when running this test?
    • What instrument(s) (and expiry if applicable) have you selected?
    • What Data Series Type have you selected? Example: Tick, Minute, Day
    • What From and To date is selected?
    • Is your strategy a multi instrument or multi time frame strategy?
    • Do you receive an error on screen? Are there errors on the Log tab of the Control Center? If so, what do these errors report?

    Comment


      #3
      Version: 8.0.21.1 64-bit

      I don't see the same results on MA Cross over, because, it uses only close of a candle, but my strategy requires tick data (it calculates tick by tick)

      I use NinjaTrader continuum demo

      Usually it happens on mini S&P contract

      I use 15 min candles

      testing period 08/01/2019 till 26 of April 2020

      My strategy uses only one instrument

      I don't see errors, I just see, that after 21 of February 24 of April goes

      Comment


        #4
        And also in this version I cannot search contracts, which I need, only select in a list

        Comment


          #5
          Hello U0000999,

          Thank you for your reply.

          My colleague Patrick is correct, this indicates you're missing tick data for that time period. You can confirm this by going to Tools > Historical Data. Expand this to find the contract you're testing, then expand further to find Last > Tick and then it will show you all the dates you have tick data for for that contract.

          You didn't mention who your data provider is. Some data providers, such as Interactive Brokers, do not supply historical tick data. You would need to either record tick data as historical when it comes in or obtain the necessary tick data from a third party if this is the case. Here's a list of what data each provider offers:



          Also, many data providers restrict how much historical tick data you can receive during trading hours. Kinetick, for example, will restrict you to 8 days.

          You'll need to add any instruments you wish to use in the Strategy Analyzer to an instrument list:



          Please let us know if we may be of further assistance to you.
          Kate W.NinjaTrader Customer Service

          Comment


            #6
            What do you think, if I'll buy kinetick data will there be such problems or not?

            Comment


              #7
              Hello U0000999,

              Thank you for your reply.

              With Kinetick, when requesting tick data between the hours of 9:30am ET to 4:30pm ET you will have access to the last 8 days of historical tick data. If you request the data outside those hours the full 180 days that Kinetick can provide is available. After you request the data, it will be downloaded to your historical database and cache, and you will be able to access this data at any time for use in your backtests.

              Please let us know if we may be of further assistance to you.
              Kate W.NinjaTrader Customer Service

              Comment


                #8
                I mean, if I use Kinetick, will I have those problems with data interruption or not?

                Comment


                  #9
                  Hello U0000999,

                  Thank you for your reply.

                  If you use Kinetick, outside of trading hours you would be able to download the historical data for later use, yes. They supply tick data up to 180 days back, so once you download it, it is stored in your historical database. Once you have that data you should be able to run your backtest without seeing gaps. You would need to do the downloading outside of the 9:30 am to 4:30 pm CST time frame, however.

                  Please let us know if we may be of further assistance to you.
                  Kate W.NinjaTrader Customer Service

                  Comment

                  Latest Posts

                  Collapse

                  Topics Statistics Last Post
                  Started by RookieTrader, Today, 09:37 AM
                  3 responses
                  15 views
                  0 likes
                  Last Post NinjaTrader_ChelseaB  
                  Started by kulwinder73, Today, 10:31 AM
                  0 responses
                  5 views
                  0 likes
                  Last Post kulwinder73  
                  Started by terofs, Yesterday, 04:18 PM
                  1 response
                  23 views
                  0 likes
                  Last Post terofs
                  by terofs
                   
                  Started by CommonWhale, Today, 09:55 AM
                  1 response
                  4 views
                  0 likes
                  Last Post NinjaTrader_Erick  
                  Started by Gerik, Today, 09:40 AM
                  2 responses
                  7 views
                  0 likes
                  Last Post Gerik
                  by Gerik
                   
                  Working...
                  X