Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

restart delay seconds

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

    restart delay seconds

    Recalculate: Strategies will attempt to recalculate its strategy position when a connection is reestablished and held for longer than RestartDelaySeconds (default = 10)

    I can`t see RestartDelaySeconds in the connection loss tab, is it something we can control or is it hardwired?

    #2
    Hello jitterbug,

    Thank you for your inquiry.

    RestartDelaySeconds is a NinjaScript property that can be modified programmatically inside of a script's code.

    The RestartDelaySeconds property indicates the amount of time a reestablished connection needs to be held before certain connection loss handling actions will be taken.

    To utilize RestartDelaySeconds in code, here's an example below:
    Code:
    protected override void Initialize()
    {
         // Recalculate strategy only after connection is reestablished for at least 10 seconds
         RestartDelaySeconds = 10;
    }
    For more information about the RestartDelaySeconds property, please take a look at the NinjaTrader help guide at this link: http://ninjatrader.com/support/helpG...layseconds.htm

    Please, let us know if we may be of further assistance.
    Zachary G.NinjaTrader Customer Service

    Comment


      #3
      thanks for the insight Zach,

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      77 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      45 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      27 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
      63 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X