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 SalmaTrader, 07-07-2026, 10:26 PM
      0 responses
      52 views
      0 likes
      Last Post SalmaTrader  
      Started by CarlTrading, 07-05-2026, 01:16 PM
      0 responses
      25 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 06-17-2026, 10:32 AM
      0 responses
      16 views
      0 likes
      Last Post CaptainJack  
      Started by kinfxhk, 06-17-2026, 04:15 AM
      0 responses
      23 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Started by kinfxhk, 06-17-2026, 04:06 AM
      0 responses
      24 views
      0 likes
      Last Post kinfxhk
      by kinfxhk
       
      Working...
      X