Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error messages and exception handling

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

    Error messages and exception handling

    While running automated strategies, error messages may pop-up from time to time.

    I have been trying to handle these exceptions at code level so I could manage them and log them down properly. Some of the strings I have seen are "..current price is outside the price limits", "..can't be placed above", "..can't be placed below", "..place order outside of market hours".

    Some questions:
    1) Where can I see the list of possible Ninjatrader error messages string?
    2) Is there any way to suppress such error message box, so that there is no need for a human to click on 'ok' ?

    #2
    Hello elirion,

    Unfortunately, there is not a publicly available list of all order error messages or codes, and this will be custom to each brokerage.

    Also, it is not currently possible to suppress error message popups, as we want our users to see and confirm they have seen these messages as this can relate to an unwanted position that needs to be managed.
    However, I will add your vote to the existing request SFT-671 for the option to suppress error popups.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea,

      Appreciate your reply =)
      I guess I'll just have to work around the constraints.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      88 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      134 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      119 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X