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 Mindset, 04-21-2026, 06:46 AM
          0 responses
          101 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Started by M4ndoo, 04-20-2026, 05:21 PM
          0 responses
          144 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by M4ndoo, 04-19-2026, 05:54 PM
          0 responses
          71 views
          0 likes
          Last Post M4ndoo
          by M4ndoo
           
          Started by cmoran13, 04-16-2026, 01:02 PM
          0 responses
          125 views
          0 likes
          Last Post cmoran13  
          Started by PaulMohn, 04-10-2026, 11:11 AM
          0 responses
          79 views
          0 likes
          Last Post PaulMohn  
          Working...
          X