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