Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Revovering from Data Feed Disconnect

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

    #16
    The amount of historical bars your strategy runs on is determined by whats on your chart. Whatever data is present on your chart is what is used to calculate the strategy position.
    Josh P.NinjaTrader Customer Service

    Comment


      #17
      Josh,

      Seems like other people are having similar issues with this. So, as a feature request... please please please ask that the development team put in a "OnConnectionState()" function that we can override in our strategy.

      That way, we can programmatically detect events like connection lost, connection regained, etc. That should be like... what, 20 lines of code, 10 minutes of testing? If they want to give your (paying) customers a great Christmas present, they'll get that to us as a patch instead of waiting for NT7.

      Comment


        #18
        heech you already have an OnConnectionStatus() method available to you where you can detect things like disconnects.
        Josh P.NinjaTrader Customer Service

        Comment


          #19
          Originally posted by NinjaTrader_Josh View Post
          heech you already have an OnConnectionStatus() method available to you where you can detect things like disconnects.
          Too funny!!!

          It has happened to me too that I asked for a new feature that was already available, you guys are good.

          Comment


            #20
            Originally posted by NinjaTrader_Josh View Post
            heech you already have an OnConnectionStatus() method available to you where you can detect things like disconnects.
            Yes, but I wanted a function called OnConnectionState...

            Just kidding. That's great, thanks.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by Geovanny Suaza, 02-11-2026, 06:32 PM
            0 responses
            582 views
            0 likes
            Last Post Geovanny Suaza  
            Started by Geovanny Suaza, 02-11-2026, 05:51 PM
            0 responses
            338 views
            1 like
            Last Post Geovanny Suaza  
            Started by Mindset, 02-09-2026, 11:44 AM
            0 responses
            103 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Started by Geovanny Suaza, 02-02-2026, 12:30 PM
            0 responses
            554 views
            1 like
            Last Post Geovanny Suaza  
            Started by RFrosty, 01-28-2026, 06:49 PM
            0 responses
            552 views
            1 like
            Last Post RFrosty
            by RFrosty
             
            Working...
            X