• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Disabled Alert

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

    Strategy Disabled Alert

    How can I receive an alert via email that a live strategy has been disabled? Alternatively, how can I receive an alert that the strategy's data feed has disconnected?

    #2
    jlkramer16,
    Thanks for your post.

    You would not be able to use Share() inside State.Terminated, so I am not sure what logic would be required to accomplish this. If you want to do something within the context of a connection status change you can use OnConnectionStatusUpdate().

    Please see the following link for more information: https://ninjatrader.com/support/help...atusupdate.htm
    Josh G.NinjaTrader Customer Service

    Comment


      #3
      Thank you. Is there a way to prevent a strategy from disabling despite it losing connection? Or at least make the time the disconnection lasts before disabling greater?

      Comment


        #4
        jlkramer16,

        You could do that with the ConnectionLossHandling property set to KeepRunning

        https://ninjatrader.com/support/help...sshandling.htm
        Josh G.NinjaTrader Customer Service

        Comment


          #5
          Anyway to avoid disabling strategies when an account disconnects? Not sure if this is the same situation as a data feed. What I am trying to solve here is IB's TWS daily restart disabling all my strategies.

          Comment


            #6
            jlkramer16,

            In the context of the ConnectionLossHandling property, I would expect an account to be handled the same was as a regular data feed
            Josh G.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Cyanez, Today, 05:05 PM
            0 responses
            2 views
            0 likes
            Last Post Cyanez
            by Cyanez
             
            Started by Polo Trader, Today, 03:28 PM
            1 response
            14 views
            0 likes
            Last Post NinjaTrader_ChrisL  
            Started by Mykro, Today, 03:26 PM
            2 responses
            9 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by Polo Trader, Today, 03:14 PM
            3 responses
            23 views
            0 likes
            Last Post NinjaTrader_Tyler  
            Started by kantkant2, Today, 03:20 PM
            3 responses
            16 views
            0 likes
            Last Post kantkant2  
            Working...
            X