Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Receiving an email if the strategy stops working

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

    Receiving an email if the strategy stops working

    Hello,
    I have an automated trading strategy and I was wondering if there is a way to insert some kind of Ninja Script code it it so that if the strategy stops working because of some reason, I receive an email.

    Is this possible withing NT?

    Thanks!

    #2
    Hi pandyav, you could be for example checking into those options to handle connection issues -



    Another item to consider would be for example rejected orders, which you could track in OnOrderUpdate() - https://www.ninjatrader.com/support/...orhandling.htm

    and then manually send you an email for example through the use of SendMail().

    BertrandNinjaTrader Customer Service

    Comment


      #3
      Hi Bertrand,
      Thank you for the quick reply.

      I was able to set up the email server per your note and also got a test email. My question is if there is a way to get an email everytime a something changes under your log tab.

      So every time a new message appears under the log tab, may it be related to order, strategy etc. I want to get an email.

      Is it possible?

      Comment


        #4
        pandyav, that would be possible for all alert type events - you can enter your email to here under Tools > Options > Misc, too (lower part).
        BertrandNinjaTrader Customer Service

        Comment


          #5
          So if I understood it correctly, If I fill in the details under Tools > Options > Misc, I'd receive an email every time the log changes, correct?

          Again, thanks a lot for your help.

          Comment


            #6
            Hello pandyav,

            For clarity, you will get an e-mail when there is an Alert condition, a Warning condition or an Error condition. You would not get an e-mail for every item that is logged unless it fits one of those three conditions.

            Here is the help guide for setting up the Misc tab. http://www.ninjatrader.com/support/h...l?misc_tab.htm

            Please let us know if you have further questions.
            Paul H.NinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by DJ888, Today, 10:57 PM
            0 responses
            5 views
            0 likes
            Last Post DJ888
            by DJ888
             
            Started by MacDad, 02-25-2024, 11:48 PM
            7 responses
            158 views
            0 likes
            Last Post loganjarosz123  
            Started by Belfortbucks, Today, 09:29 PM
            0 responses
            7 views
            0 likes
            Last Post Belfortbucks  
            Started by zstheorist, Today, 07:52 PM
            0 responses
            7 views
            0 likes
            Last Post zstheorist  
            Started by pmachiraju, 11-01-2023, 04:46 AM
            8 responses
            151 views
            0 likes
            Last Post rehmans
            by rehmans
             
            Working...
            X