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 Max238, Today, 01:28 AM
    5 responses
    42 views
    0 likes
    Last Post Max238
    by Max238
     
    Started by giulyko00, Yesterday, 12:03 PM
    3 responses
    12 views
    0 likes
    Last Post NinjaTrader_BrandonH  
    Started by habeebft, Today, 07:27 AM
    1 response
    14 views
    0 likes
    Last Post NinjaTrader_ChristopherS  
    Started by AveryFlynn, Today, 04:57 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Erick  
    Started by r68cervera, Today, 05:29 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X