Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Managing active strategy on weekends?

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

    Managing active strategy on weekends?

    I am connected to TWS, and have auto reconnection-lock and exit set at 12:45.
    I have no problem daily auto connect to TWS. System automatically reconnect to TWS during weekdays. But, I have problem on Sundays.
    TWS need manuel connection on sundays. If i miss timing NT8 strategies disable, if i reenable stragies pending orders are cancelling.
    How can i keep my strategies running. I set keepp running 600, but it iss not enough.
    How long i can extend it? increasing to 60.000 can solve the problem when i manually connect?

    #2
    Hello Murphy67,

    Thanks for your post.

    Please follow the steps below to set up handling for the IB restart and test to see if you see the same behavior occur.
    • In NinjaTrader, go to Tools > Options >Strategies tab
    • Set ‘On connections loss' > 'Handling' to ‘Keep Running’
    • Set ‘Disconnect delay seconds’ to ‘999’ or enough time to ride out the delay.
    • Go into TWS>File>Global Configuration>Lock and Exit> Set auto-restart time.
    • Allow the auto-restart to occur and note the Log tab of the Control Center in NinjaTrader for errors.
    When re-enabling the strategies you could consider setting the Start Behavior to 'Immediately Submit'.

    Immediately Submit automatically submits working orders from when the strategy processed historical data, and assumes the strategy position and account position are where you want it when you enable the strategy. This is typically used to have a strategy resume a position after disabling/enabling. If the strategy already had live orders running, the orders will resume with the new enablement of the strategy if they match the historically calculated orders. If the orders calculated from historical data do not match the live working orders, the live working orders will be cancelled and replaced by those calculated from historical data.

    Start Behaviors: https://ninjatrader.com/support/help..._positions.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thank you BrandonH.

      Great. I will try immediately submit next time...

      What is the max second for setting ‘Disconnect delay seconds’. For example 60.000 seconds, works?

      Comment


        #4
        Hello Murphy67,

        Thanks for your note.

        There is no maximum allowable value that could be used for the 'Disconnect delay seconds' option that I am aware of.

        Let us know if we may assist further.
        <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

        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
        45 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