Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy backtest works and then doesn't

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

    Strategy backtest works and then doesn't

    I have been back testing a strategy today; it's been taking each and every trade and then all of a sudden it's now just taking one trade and then stopping (despite having done nothing). Any thoughts as to what might cause that to happen?

    PS. To clarify with a larger test period it previously had taken 1,000 trades and now takes 13.
    Last edited by darrentate; 02-26-2015, 01:09 PM.

    #2
    Hello darrentate,

    Thank you for your post.

    I would not have any ideas based on the information you provided.

    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?

    Were the previous trades on historical data or backtesting?

    Comment


      #3
      It's not producing any errors to the output screen or the log.

      I previously had this problem; I removed some code that produced a 30 minute VPS heartbeat and it worked fine. Now suddenly it's gone back to how it was (the code is still out) taking barely 10% of the trades.

      The script is multitime frame and contains barsinprogress and a barssinceentry clause (which I have removed to no avail). It's running using historical data in the strategy analyser.

      The only weird thing I've noticed that occurs is that at the very end it producedssome output showing that's its running again but on another instrument (that's not even selected nor mentioned in the code). Just a few lines and nothing else.

      Comment


        #4
        Hello darrentate,

        Thank you for your response.

        Please send me your log and trace files for today so that I may look into what occurred.

        You can do this by going to the Control Center-> Help-> Mail to Platform Support.

        Please reference this thread in the subject of the e-mail: "http://www.ninjatrader.com/support/forum/showthread.php?t=72254"

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        60 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        147 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        161 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        284 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X