Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Killing NinjaTrader process

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

    Killing NinjaTrader process

    I'm working on an application that will automatically restart NinjaTrader, generally when NT looses connection. I can send NT a simple WM_CLOSE message, which is the standard way to do that, it just tells NT to exit normally, just like any user exits the program. But, it gives that ANNOYING prompt about saving workspaces. I so wish there was a configuration option about this.

    But, since there isn't, if I do a normal exit, then I have to deal with the prompt. Or, I could do a kill process operation. Its much nicer from my end, but, I fears you will tell me that NT won't like that, could corrupt database or something. So, I figure you will tell me not to do that. But, what the heck, might as well ask. What do you think about using kill process on NinjaTrader in order to do an immediate exit of the program?

    #2
    Hello Speedie6,

    Thank you for your post.

    No, we do not recommend exiting NinjaTrader by terminating the process. As you expected, this can lead to corruptions within the database.
    KyleNinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_Kyle View Post
      Thank you for your post.

      No, we do not recommend exiting NinjaTrader by terminating the process. As you expected, this can lead to corruptions within the database.
      Yeah, I figured. Having a way to exit without prompts would be nice.

      Comment


        #4
        The icing on the cake is that NT will ask you to save your workspace even if you've just saved it, or there haven't been changes at all.

        I really hope this, and other such annoying UI 'quirks' are addressed in NT7.

        Comment


          #5
          Thank you for your input Elliott Wave!

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DannyP96, 05-18-2026, 02:38 PM
          1 response
          27 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by CarlTrading, 05-11-2026, 05:56 AM
          0 responses
          117 views
          0 likes
          Last Post CarlTrading  
          Started by CarlTrading, 05-10-2026, 08:12 PM
          0 responses
          69 views
          0 likes
          Last Post CarlTrading  
          Started by Hwop38, 05-04-2026, 07:02 PM
          0 responses
          226 views
          0 likes
          Last Post Hwop38
          by Hwop38
           
          Started by CaptainJack, 04-24-2026, 11:07 PM
          0 responses
          417 views
          0 likes
          Last Post CaptainJack  
          Working...
          X