Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

"Date to"/"Date from" in a backtest

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

    "Date to"/"Date from" in a backtest

    Hi,

    I'm testing one strategy and can't get the test results for more than one day. When I put 1st April - 27th April, trades happen only on the 1st. For any period I put backtest trades happen only on the first date. Maybe I miss some setting? Sorry if this topic has already been discussed - I just couldn't find it. Thank you.

    Olga

    #2
    Olga, welcome to our forums - which broker or dataprovider are you using as you experience this?
    BertrandNinjaTrader Customer Service

    Comment


      #3
      Thank you for your "welcome"
      I use IQFeed.

      Comment


        #4
        Olga, so with IQ you're using then NT 6.5.1000.15 and IQFeed's client software 4.7.0.9, correct?



        If you create a chart for your instrument in the same date range, does all data get populated successfully?

        Please try disconnecting then from IQFeed and backtesting again on the same date range on the Strategy Analyzer as on the chart you created.
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Bertrand View Post
          Olga, so with IQ you're using then NT 6.5.1000.15 and IQFeed's client software 4.7.0.9, correct?
          Yes, correct.

          Originally posted by NinjaTrader_Bertrand View Post
          If you create a chart for your instrument in the same date range, does all data get populated successfully?
          It seems that the chart is correct.

          Originally posted by NinjaTrader_Bertrand View Post
          Please try disconnecting then from IQFeed and backtesting again on the same date range on the Strategy Analyzer as on the chart you created.
          I disconnected. The chart is OK, but the strategy was applied only for the first date of the range.

          By the way, I have tested this on another PC today - the problem is the same. I still think that I'm missing something, otherwise people would notice earlier such a thing.

          Thank you for helping me.

          Comment


            #6
            OlgaD, this leads to the question, is perhaps your strategy 'locked' to work only on this particular day? Can you please test with our default SampleMACrossOver to verify?

            Thanks
            BertrandNinjaTrader Customer Service

            Comment


              #7
              SampleMacCrossOver works fine - trades take place every day. I will refer to our developer then. Thank you very much for your assistance!

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by carnitron, Today, 08:42 PM
              0 responses
              5 views
              0 likes
              Last Post carnitron  
              Started by strategist007, Today, 07:51 PM
              0 responses
              7 views
              0 likes
              Last Post strategist007  
              Started by StockTrader88, 03-06-2021, 08:58 AM
              44 responses
              3,974 views
              3 likes
              Last Post jhudas88  
              Started by rbeckmann05, Today, 06:48 PM
              0 responses
              8 views
              0 likes
              Last Post rbeckmann05  
              Started by rhyminkevin, Today, 04:58 PM
              4 responses
              58 views
              0 likes
              Last Post dp8282
              by dp8282
               
              Working...
              X