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 CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X