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
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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 judysamnt7, 03-13-2023, 09:11 AM
          4 responses
          59 views
          0 likes
          Last Post DynamicTest  
          Started by ScottWalsh, Today, 06:52 PM
          4 responses
          36 views
          0 likes
          Last Post ScottWalsh  
          Started by olisav57, Today, 07:39 PM
          0 responses
          7 views
          0 likes
          Last Post olisav57  
          Started by trilliantrader, Today, 03:01 PM
          2 responses
          21 views
          0 likes
          Last Post helpwanted  
          Started by cre8able, Today, 07:24 PM
          0 responses
          10 views
          0 likes
          Last Post cre8able  
          Working...
          X