Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Connection Lost

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

    Connection Lost


    Simple Question - How do I configure the time-out period, for connection lost? Thanks,





    #2
    Hello timmbbo,

    Thank you for your post.

    To clarify, are you referring to just a general connection or a time-out period for an automated strategy?

    Spencer F.NinjaTrader Customer Service

    Comment


      #3
      I'm not sure. At night, I set up and enable my strategies, but when I wake up in the morning, the strategies are no longer enabled. I look in the log to error message, "Connection lost". So, I want my strategies to stay enabled, even in case of lost connection, for an extended period of time. Thanks.

      Comment


        #4
        Hello timmbbo,

        Thank you for your post.

        You can adjust your 'On connection loss' settings in the Tools > Options > Strategies menu. Here is the Understanding NinjaScript properties help guide to explain these settings. You can try using the Keep Running option as this will keep the strategy running and logs the disconnection. When the connection is reestablished, the strategy will resume as if no disconnection occurred.

        https://ninjatrader.com/support/help...riptProperties

        Also, It is not recommended to allow your PC to sleep or hibernate while NinjaTrader is in use. NinjaTrader is not designed to run in these states. NinjaTrader will not function properly when your computer is allowed to sleep or hibernate.

        If your PC has sleep or hibernate enabled. You could try and disable the sleep function on your system. Please check your power settings for your PC to verify that your PC monitor and drives do not sleep, hibernate or shut down.

        Please do not hesitate to contact us for any other NinjaTrader inquiries you may have.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        80 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        46 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        29 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        32 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        66 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X