Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable message windows when order is rejected

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

    Disable message windows when order is rejected

    I use "RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction;"

    1. Is the way that disable message windows when order is rejected?

    2. Where I can read rejection reason?
    I think in C # code, the message show on the screen.

    3. Is there way that disable debug window in compilation (see in attachment)?

    Thanks Petr
    Attached Files

    #2
    Hello svopex,

    1. There is not a way to disable the message window from popping up after an order is rejected.

    2. You may read the Order rejection details inside of the Log tab of the Control Center. You may also try to view the Rejection message inside of OnOrderUpdate() when the order is in a rejected state you may try to View the "NativeError" message.



    3. When you are inside of the NinjaScript Editor Window, right click inside of the window and uncheck Debug Mode, then Compile once again.

    Let us know if we can be of any further assistance.
    JCNinjaTrader Customer Service

    Comment


      #3
      point 3.
      Ok, and if I want to debug and I do not want to show this message window?

      Comment


        #4
        Hello svopex,

        The Debug Mode, that is you have enabled is used if you would like to debug your NinjaScript objects using Microsoft Visual Studios 2005 or higher.

        If you want to Debug your NinjaScript without this you may use the Print method or if you are using a strategy the TraceOrders for detailed order information.

        Here is a good post that goes over how to debug your NinjaScript without using a program like Microsoft Visual Studios that you may view.

        JCNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        627 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        359 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        562 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        567 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X