Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Rejection Dialog Stopped all other Strategies

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

    Order Rejection Dialog Stopped all other Strategies

    Hi

    As part of my testing today, one of my strategies submitted an order that was rejected by the broker, this caused NinjaTrader to show a sequence of dialog boxes and it looks like untill I had pressed OK on all dialog boxes none of my other strategies where able to function. Only orders that had already been submitted where executed.

    Would RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction; stop these dialogs boxes from popping up and just have an Error logged in the Log?

    Thanks

    Mike

    #2
    Hello,

    This should nullify the effect of the errors yes.

    Let me know if I can be of further assistance.

    Comment


      #3
      Hi Brett

      That does not seem to work.

      I have added RealtimeErrorHandling = RealtimeErrorHandling.TakeNoAction; to the Initialize Method.

      I have just forced one of my Strategies to submit an order to that would be rejected and I still get a dialog box popping up.

      As this is an automated strategy and will end up running on a hosted server I don't want any UI feedback from the strategy what so ever while it is running, I just want errors to be sent to the Log and I will be alerted via email that the error has occurred.

      Ho would I go about disabling all user interface feedback while a strategy is running?

      Thanks

      Mike

      Comment


        #4
        Mike, if you started working with an unmanaged strategy, you'd have complete control over what happens when errors occur, including taking no action at all.

        However, NinjaTrader will not manage you trades for you, and you'll have to code for conditions such as when the connection drops.

        You would not get any notifications if your trade is rejected, but you'd also have to tell your strategy explicitly what to do in such an event.
        AustinNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Taddypole, 04-26-2024, 02:47 PM
        1 response
        12 views
        0 likes
        Last Post NinjaTrader_Eduardo  
        Started by futtrader, 04-21-2024, 01:50 AM
        6 responses
        58 views
        0 likes
        Last Post futtrader  
        Started by sgordet, Today, 11:48 AM
        0 responses
        4 views
        0 likes
        Last Post sgordet
        by sgordet
         
        Started by Trader146, Today, 11:41 AM
        0 responses
        5 views
        0 likes
        Last Post Trader146  
        Started by jpapa, 04-23-2024, 07:22 AM
        2 responses
        22 views
        0 likes
        Last Post rene69851  
        Working...
        X