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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      56 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      133 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      73 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      45 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      49 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X