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