Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

IB Gateway/TWS: How Does the Auto-Reconnect Work?

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

    IB Gateway/TWS: How Does the Auto-Reconnect Work?

    Hello,

    I have been having trouble with a "Failed to modify historical order" bug in my strategies, and the current solution is to disable all historical trades so they don't interfere with real-time orders.
    However, this solution requires me to run my strategies 24/7. This becomes a problem when Interactive Brokers auto restarts every day and NinjaTrader panics.

    Today, I found out that in the new version (I am currently running 8.0.22.2), the problem looks like it has been solved.

    Click image for larger version  Name:	Screenshot 2020-12-30 145333.png Views:	0 Size:	8.5 KB ID:	1134486

    How exactly does this auto reconnect work? Will my strategies still disable regardless of this option?

    Thanks,
    Anton

    #2
    Hello Newant,

    Thank you for your post.

    Yes, IB will automatically reconnect after the daily restart. Whether or not your strategies disable would be dependent on the Connection Loss Handling setting under Tools > Options > Strategies > On Connection Loss:



    I'd suggest using either Recalculate or Keep Running, and setting the Disconnect Delay Seconds to a relatively high number.

    Please let us know if we may be of further assistance to you.
    Kate W.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by fx.practic, 10-15-2013, 12:53 AM
    5 responses
    5,403 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by Shai Samuel, 07-02-2022, 02:46 PM
    4 responses
    94 views
    0 likes
    Last Post Bidder
    by Bidder
     
    Started by DJ888, Yesterday, 10:57 PM
    0 responses
    6 views
    0 likes
    Last Post DJ888
    by DJ888
     
    Started by MacDad, 02-25-2024, 11:48 PM
    7 responses
    158 views
    0 likes
    Last Post loganjarosz123  
    Started by Belfortbucks, Yesterday, 09:29 PM
    0 responses
    8 views
    0 likes
    Last Post Belfortbucks  
    Working...
    X