Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Differentiate handling of Primary and Data Feed connection

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

    Differentiate handling of Primary and Data Feed connection

    Hi,

    I used in my strategy the script of https://forum.ninjatrader.com/forum/...te#post1058061, associated with ConnectionLossHandling = ConnectionLossHandling.Recalculate;

    There are two connection loss possibilities I see in the Log: loss of primary connection to NT and loss of data feed.

    I often have the following case

    Click image for larger version  Name:	image.png Views:	0 Size:	5.1 KB ID:	1321801

    Nevertheless, when using the OnConnectionStatusUpdate as in https://forum.ninjatrader.com/forum/...te#post1058061, all data are reloaded even if the price feed connection has not been lost (I am using Kinetick).
    Is there a way to get ReloadAllHistoricalData() triggered ONLY if the data feed is lost and not if only the NT primary connection is lost?

    Best regards
    Martin
    Last edited by martin70; 10-18-2024, 03:17 AM.

    #2
    Hello Martin,

    Below is a link to the help guide which shows how to show the .Status (order connection status) separately from the .PriceStatus (data connection status).


    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thank you Chelsea!
      Kind regards
      Martin

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      49 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      38 views
      0 likes
      Last Post CarlTrading  
      Working...
      X