Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy lost price connection but will keep running-Frozen

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

    Strategy lost price connection but will keep running-Frozen

    I run an automated strategy on NinjaTrader 8 hosted via QuantVPS from 6 PM to 8 AM. Occasionally, the output log shows the following errors:
    • "Strategy lost order connection but will keep running."
    • "Strategy lost price connection but will keep running."

    When the connection is restored, the chart remains frozen and does not update in real-time until I either manually toggle the connection or reload all historical data. This behavior disrupts the live execution of the strategy, effectively freezing both the chart and the strategy.

    Please advise on how to prevent the chart and strategy from freezing after a temporary disconnection. Also is there any logic that I can build into the script that would automatically refresh chart price when connection is back without interrupting the strategy?



    Click image for larger version

Name:	image.png
Views:	524
Size:	256.7 KB
ID:	1342774

    Click image for larger version

Name:	image.png
Views:	442
Size:	374.2 KB
ID:	1342775​​

    #2
    Originally posted by osmanigarces View Post
    I run an automated strategy on NinjaTrader 8 hosted via QuantVPS from 6 PM to 8 AM. Occasionally, the output log shows the following errors:
    • "Strategy lost order connection but will keep running."
    • "Strategy lost price connection but will keep running."

    When the connection is restored, the chart remains frozen and does not update in real-time until I either manually toggle the connection or reload all historical data. This behavior disrupts the live execution of the strategy, effectively freezing both the chart and the strategy.

    Please advise on how to prevent the chart and strategy from freezing after a temporary disconnection. Also is there any logic that I can build into the script that would automatically refresh chart price when connection is back without interrupting the strategy?



    Click image for larger version

Name:	image.png
Views:	527
Size:	256.7 KB
ID:	1342774

    Click image for larger version

Name:	image.png
Views:	445
Size:	374.2 KB
ID:	1342775​​
    I'm running automated strategies too but everyone in our discord group runs their strategies on NinjaMobileTrader VPS, highly recommend this host because we never have disconnections so the strategies stay enabled all week long.

    Comment


      #3
      Originally posted by osmanigarces View Post
      I run an automated strategy on NinjaTrader 8 hosted via QuantVPS from 6 PM to 8 AM. Occasionally, the output log shows the following errors:
      • "Strategy lost order connection but will keep running."
      • "Strategy lost price connection but will keep running."

      When the connection is restored, the chart remains frozen and does not update in real-time until I either manually toggle the connection or reload all historical data. This behavior disrupts the live execution of the strategy, effectively freezing both the chart and the strategy.

      Please advise on how to prevent the chart and strategy from freezing after a temporary disconnection. Also is there any logic that I can build into the script that would automatically refresh chart price when connection is back without interrupting the strategy?



      Click image for larger version

Name:	image.png
Views:	527
Size:	256.7 KB
ID:	1342774

      Click image for larger version

Name:	image.png
Views:	445
Size:	374.2 KB
ID:	1342775​​
      I run automated strategies too and looked into it, but I'm not sure if there is a way to reload it automatically without interrupting the strategy. Whenever there's a disconnection it basically disables the strategy and then requires manually re-enabling it. So what our discord group did a few years ago was we all switched to running our strategies on NinjaMobileTrader VPS, I always highly recommend them because we never have disconnections with them so the strategies stay enabled all week long.

      Comment


        #4
        Hello osmanigarces,

        May I confirm you are using 8.1.4.2?

        Try testing without a strategy. When the connection re-establishes is the chart frozen?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CaptainJack, 05-29-2026, 05:09 AM
        0 responses
        161 views
        0 likes
        Last Post CaptainJack  
        Started by CaptainJack, 05-29-2026, 12:02 AM
        0 responses
        81 views
        0 likes
        Last Post CaptainJack  
        Started by charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        125 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        206 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        184 views
        0 likes
        Last Post CarlTrading  
        Working...
        X