Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy crashing

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

    Strategy crashing

    I recently ran a strategy overnight and it caused NinjaTrader to crash. Do you recommend using Try Catch blocks to trap errors and if there is an error logging function within the Catch block will this get executed in the event of a software crash?

    Is a strategy that uses more than one dataseries more prone to crashing or causing runtime errors?

    #2
    mballagan, which broker / connection are you running this on?

    The more complex the strategy is and the more resources it uses, the more things can go of course wrong.

    To debug this with Try / catch blocks, you can check into this tip - http://www.ninjatrader-support2.com/...ead.php?t=9825

    Comment


      #3
      Crash

      I'm using Mirus Futures and running strategy in simulation mode.

      The trader I'm developing for is using MB Trading I believe.

      Thanks for the Try/Catch link.

      Comment


        #4
        you're welcome - for the crash you encountered it would also be good to review the log and trace files, if you want us to take a look, please forward them using the Help > Mail to Support feature.

        Comment


          #5
          crash

          I dont have the log for when the crash happened as it was a few days ago but will run the strategy tonight overnight on several instruments and if I get the problem again will send you the log thanks.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          49 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          126 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          67 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          42 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          46 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X