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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        67 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        150 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        99 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        286 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X