Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Network connection/disconnection

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

    #16
    Bertrand,

    With orderStatus it's the same.
    To come back to my initial problem, how do i "reconnect" when the datastream freezes.
    If the network goes down and the up, nt will say that i'm connected but the data stream will be frozen at the last market update.
    If the data stream is frozen onbarupdate, onmarketdata and onmarketdepth won't be called hence algos.
    So how do i make nt check if the datastream is flowing.
    I don't want the market to go against me and no alert popping up.

    Regards

    JF

    Comment


      #17
      Hi JF, to undertand you better - so in essence you're saying that you need a manual reconnect to trigger the reconnnection to the Level 1 / Level 2 data streams after a disconnect event / network issue?

      Comment


        #18
        Yes(scripted actually)
        Cause the only way is by: File->Disconect->the provider; File->Connect->the provider;
        When nt says that it si connected but the price doen't update(whereas it should), is it connected or not?

        Comment


          #19
          This is why i was trying with onconnectionstatus, because i need a method which is still called despite the stream frozen since all the OnSomething() won't be called.

          Comment


            #20
            diff24rac, what data provider are you using here?
            AustinNinjaTrader Customer Service

            Comment


              #21
              I'm using Kinetick

              Comment


                #22
                I just tried here on Kinetick but was unable to reproduce, after a connection loss and subsequent connection restore the calls to OnBarUpdate(), OnMarketData() and OnMarketDepth() resume as expected then for me - could you be direct your testing strategy and log / trace files via Help > Mail to Support to me?

                Thanks in advance,

                Comment


                  #23
                  I reply here cause it fails from within nt.
                  By the way when i use it on my laptop and i close it, sometimes it connects back when reopen it and sometimes it doesn't.
                  Attached Files

                  Comment


                    #24
                    What kind of security / firewall setup are you using here?

                    Here's what I see in your logs:

                    System.Net.Sockets.SocketException: Une opération a été tentée sur un hôte impossible ŕ atteindre 66.112.156.213:60001

                    If you would like to continually record the data to your sql DB I would suggest to turn the hibernation mode off and simply turn the display off after x mins of idle time.

                    Comment


                      #25
                      NT is allowed by the firewall.
                      what is this 66.112.156.213?

                      Comment


                        #26
                        So, Kinetick is just a repackaged iqfeed then?

                        Comment


                          #27
                          The IP you pointed out would be one of the Kinetick server connections; as technology provider Telvent / DTN IQ is used.

                          Comment


                            #28
                            Morning,

                            I've run NT for a week without the firewall and the same fake reconnection keeps occuring(it is in a "reconnected" state but the quote stream is frozen).
                            I don't know if there is a scriptable fix but somehow this has to be resolved.
                            Anyone having this issue.

                            JF

                            Comment


                              #29
                              JF, please let us know which steps you're using to reproduce this issue - I've tried a few times on our end here and if the reconnection is done, the Level 2 data is updating for me as well in testing.

                              Comment


                                #30
                                Hello,

                                I've attached the trace file. What happened at about 8.40 is when i manually disconnected and reconnected.

                                JF
                                Attached Files

                                Comment

                                Latest Posts

                                Collapse

                                Topics Statistics Last Post
                                Started by argusthome, 03-08-2026, 10:06 AM
                                0 responses
                                68 views
                                0 likes
                                Last Post argusthome  
                                Started by NabilKhattabi, 03-06-2026, 11:18 AM
                                0 responses
                                41 views
                                0 likes
                                Last Post NabilKhattabi  
                                Started by Deep42, 03-06-2026, 12:28 AM
                                0 responses
                                24 views
                                0 likes
                                Last Post Deep42
                                by Deep42
                                 
                                Started by TheRealMorford, 03-05-2026, 06:15 PM
                                0 responses
                                27 views
                                0 likes
                                Last Post TheRealMorford  
                                Started by Mindset, 02-28-2026, 06:16 AM
                                0 responses
                                53 views
                                0 likes
                                Last Post Mindset
                                by Mindset
                                 
                                Working...
                                X