Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Alert when primary data feed loses connection

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

    Alert when primary data feed loses connection

    Hi, it's imperative I'm alerted when my primary data feed drops out.

    I use 2 connections, one for data, the other for trade executions.

    As NT8 automatically switches over to my brokers feed if my primary data provider drops out I won't receive the standard 'connection lost' error alert / audio warning.

    So I will never know unless I'm paying constant attention whether I've lost connection to my primary data provider.

    Please excuse me if I've overlooked something, but through all my searches I've come up with nothing.

    How can this problem be solved? Thanks.

    ps. Can you also make it a lot more obvious which connection is providing the data feed?

    #2
    Hello Jimmyk,

    Thank you for your post.

    Glad to assist. There is not a method to send an email via the platform Alert settings at this time. However, it may be possible to create a custom indicator to accomplish this.

    If you're a programmer yourself, let me know and I can have our NinjaScript team follow up.

    We look forward to assisting further.
    Eric B.NinjaTrader Customer Service

    Comment


      #3
      Sorry, but this is a very simple request that shouldn't need custom programming.

      Quite clearly NT8 has the inbuilt function to accept 2 connections.

      It should really be very obvious which connection is being used for data and which is being used for trading don't you think?

      There should also be warnings / alerts whenever the chosen connections are not available or change for any reason. This seems like common sense.

      Can you please include this in a future release as there are many of us that would prefer not use our brokers questionable data feeds without an alert, thank you.

      Comment


        #4
        Thank you for your reply.

        I understand, I have submitted a request on your behalf regarding a pubic replay list for future feature consideration.

        The ID for this request is SFT-2982. You may reference this ID in the future regarding this matter. If implemented, this would also list in the NinjaTrader Help Guide release notes (Help > Help > Release Notes).

        Let us know if we may assist further.
        Eric B.NinjaTrader Customer Service

        Comment


          #5
          Did we get a follow-up and solution on this issue, I need this as well.

          I would think anyone who is using this platform for automated trading would need this functionality too.

          Comment


            #6
            Thank you for your reply.

            This item has not been updated at this time. However, this is a feature that should be possible as part of a automated strategy. I can have our NinjaScript team follow up with tips on creating this if needed.

            We look forward to assisting further.
            Eric B.NinjaTrader Customer Service

            Comment


              #7
              Originally posted by NinjaTrader_EricB View Post
              Hello Jimmyk,

              Thank you for your post.

              Glad to assist. There is not a method to send an email via the platform Alert settings at this time. However, it may be possible to create a custom indicator to accomplish this.

              If you're a programmer yourself, let me know and I can have our NinjaScript team follow up.

              We look forward to assisting further.
              Hello Eric,
              I would be interested in such an indicator that would inform me when the second connection (to my broker) goes down. Could I get some info on how to get started?

              Thank you
              emuns

              Comment


                #8
                Hello emuns,

                Thanks for your notes.

                OnConnectionStatusUpdate() could be used to detect the status of a connection.

                OnConnectionStatusUpdate(): https://ninjatrader.com/support/help...atusupdate.htm
                ConnectionStatusEventArgs: https://ninjatrader.com/support/help...seventargs.htm

                The Alert() method could be used to fire an alert when a condition becomes true.

                Alert(): https://ninjatrader.com/support/help.../nt8/alert.htm

                The C# programming language is used for developing NinjaScript indicators and strategies.

                To create a NinjaScript indicator, open a New > NinjaScript Editor window, select the '+' tab at the bottom of the Editor window, select 'New Indicator'. Then, you could set up as much of the indicator as possible in the Indicator Builder. This will create the framework of the indicator or strategy

                Once you finish setting up as much as possible in the Indicator Builder, you must manually program the rest of the indicator.

                Below is a link to a forum post with helpful information about getting started with NinjaScript.


                I am also linking you to the Educational Resources section of the Help Guide to help you get started with NinjaScript:


                If you are new to C#, to get a basic foundation for the concepts and syntax used in NinjaScript I would recommend this section of articles in our help guide first:


                And the MSDN (Microsft Developers Network) C# Language Reference.

                Brandon H.NinjaTrader Customer Service

                Comment


                  #9
                  Originally posted by NinjaTrader_BrandonH View Post
                  Hello emuns,

                  Thanks for your notes.

                  OnConnectionStatusUpdate() could be used to detect the status of a connection.

                  OnConnectionStatusUpdate(): https://ninjatrader.com/support/help...atusupdate.htm
                  ConnectionStatusEventArgs: https://ninjatrader.com/support/help...seventargs.htm

                  The Alert() method could be used to fire an alert when a condition becomes true.

                  Alert(): https://ninjatrader.com/support/help.../nt8/alert.htm

                  The C# programming language is used for developing NinjaScript indicators and strategies.

                  To create a NinjaScript indicator, open a New > NinjaScript Editor window, select the '+' tab at the bottom of the Editor window, select 'New Indicator'. Then, you could set up as much of the indicator as possible in the Indicator Builder. This will create the framework of the indicator or strategy

                  Once you finish setting up as much as possible in the Indicator Builder, you must manually program the rest of the indicator.
                  Hello Brandon,

                  Is there any other way of notification, e.g. email? Can this be programmed?

                  Thank you
                  emuns

                  Comment


                    #10
                    Hello emuns,

                    Thanks for your notes.

                    You could use the Share() method to send an email to a Share Service that is configured on your platform.

                    Note that the message would not fire until you have reconnected to the platform.

                    Share(): https://ninjatrader.com/support/help.../nt8/share.htm
                    Managing Share Services: https://ninjatrader.com/support/help...gShareServices
                    Brandon H.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
                    15 responses
                    44 views
                    0 likes
                    Last Post NinjaTrader_Jesse  
                    Started by Felix Reichert, 04-26-2024, 02:12 PM
                    4 responses
                    39 views
                    0 likes
                    Last Post Felix Reichert  
                    Started by ETFVoyageur, Yesterday, 06:05 PM
                    6 responses
                    37 views
                    0 likes
                    Last Post ETFVoyageur  
                    Started by rbeckmann05, Today, 02:35 PM
                    1 response
                    6 views
                    0 likes
                    Last Post NinjaTrader_BrandonH  
                    Started by Torontobluejays, Yesterday, 08:43 AM
                    6 responses
                    34 views
                    0 likes
                    Last Post rc5781
                    by rc5781
                     
                    Working...
                    X