IB Gateway/NT8 support group on automated trading - futures io
futures io futures trading

IB Gateway/NT8 support group on automated trading

Discussion in NinjaTrader

      Top Posters
    1. looks_one fernlicht with 2 posts (1 thanks)
    2. looks_two spdr142 with 1 posts (0 thanks)
    3. looks_3 Obelixtrader with 1 posts (0 thanks)
    4. looks_4 b16aln with 1 posts (0 thanks)
    1. trending_up 1,216 views
    2. thumb_up 1 thanks given
    3. group 6 followers
    1. forum 4 posts
    2. attach_file 0 attachments

Welcome to futures io: the largest futures trading community on the planet, with well over 125,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

(If you already have an account, login at the top of the page)

Search this Thread

IB Gateway/NT8 support group on automated trading

(login for full post details)
  #1 (permalink)
Schwyz, Switzerland
Experience: None
Platform: NinjaTrader, Visual Studi
Broker: IB, Biftinex, Binance
Trading: Yes
Posts: 45 since Jan 2012
Thanks: 5 given, 30 received

Hello all,
Im, wondering if there are any people here that have the same issues on
automated trading with NT8 and the IB Gateway. Im experiencing a lot
of flaws in that setup and would like to discuss them with people that also
try to find solutions or workarounds.
If you are using that setup please Write here or send me a message
and lets support each other in a group.

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
ZigZag with Depth and Backstep
EasyLanguage Programming
Reading A set of Trading Signals
EasyLanguage Programming
Cumulative Delta: to reset or not to reset?
Platforms and Indicators
Learning By Example [Request]
Which kind of Blockvolume is visible? - order processing
Emini and Emicro Index
(login for full post details)
  #2 (permalink)
Stony Point
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
Posts: 1 since Feb 2018
Thanks: 3 given, 0 received

The only way that I have found to to use NT8 automated strategies and the IB gateway is by using gateway version 973. That is only version that does not requires a daily restart. The only downside is that there is a required restart once per week.
If you use a newer version of the gateway, NT8 will failed to reconnect after the gateway does a daily restart. The latest version of NT8 (v8.0.23.2) is suppose to be able to reconnect after a gateway restart but unfortunately the functionally is not working properly yet. Ninja is aware of the issue and they are working on a fix.

Reply With Quote
(login for full post details)
  #3 (permalink)
Schwyz, Switzerland
Experience: None
Platform: NinjaTrader, Visual Studi
Broker: IB, Biftinex, Binance
Trading: Yes
Posts: 45 since Jan 2012
Thanks: 5 given, 30 received

Yes, I tried the latest IBGatewa version y with the latest NT version in combination, but I cant recommend it since I had daily issues.
So I downgraded back to IB 973 and NT which runs typically fine.
Also, I set the runtime variables to KeepRunning and disconnect Delay Seconds to 999999 (was a official NT suggestion) and
no trades during daily reset times. And for several days it runs without any problems....

Started this thread Reply With Quote
The following user says Thank You to fernlicht for this post:
(login for full post details)
  #4 (permalink)
Experience: None
Platform: ninjatrader
Trading: ftse100
Posts: 59 since Sep 2017
Thanks: 10 given, 14 received

I have several issues with NT8 and IB for automated strategy.

Even using older gateay versions and without the offical daily gateway shutdown you will still have the IB daily server re-set around 5.45am UK Time which afterwards NT8 doesn;t re-connect to so I have to wait for the server to re-set then disconnect and reconnect IB gateway to Nt8. All in all it's around a 5 to 10 min down time depending on whether gateway (manually) reconnects to NT8 without error first time around. If you have an active 24 hour strategy and trades hit during that time you are screwed. I lost a couple of k when this last happened, totally locked out for 10 minutes watching your account get smashed is a pretty stressful 10 minutes.

Second issue is that at around 10pm-10.15pm if you try to put a forex trade on, IB will reject it because they class this as outside of regular trading hours...even although Forex should trade 24/5. IB don;t even attempt to give an explanation for this, their customer support is the worst I have ever experienced.

All in all, even with gateway workarounds, you cannot get past the above issues/downtime so if you run an automated strategy 24/5 then IB is simply not compatable because it does not provide 24 hour trading. When you then add in the known re-connect issues between NT8 and IB there is absolutely no way that this can be left as an unmanged system.

I've messed about with code which basically sets a timer when IB loses connection and if it doesn;t re-establish within the timer, it programatically disconnects and re-connects. It works in testing but in real life scenario when gateway disconnects after the morning re-set it is hit and miss whether it works. I'm pretty sure it's because sometimes the IB server remains down for much longer than it should so my reconnect timer tries to reconnect while the server is still down. But we're talking 3 to 4 minutes which is a terrible amount of down time for an automated system.

I just don;t think IB is suited to automated trading. In fairness to Ninjatrader they have down some good work over the last couple years on their connection issues and they are much more solid however the IB NT8 reconnection issue is an ongoing saga.

Reply With Quote
(login for full post details)
  #5 (permalink)
Experience: Intermediate
Platform: Ninjatrader 8
Broker: Interactive Brokers
Trading: K200M,KOSDQ150
Posts: 208 since Aug 2009
Thanks: 81 given, 104 received

You should change the server from US to HK server. Reset tme is after 11pm CEU tme. 10pm UK time.

Sent using the futures.io mobile app

Reply With Quote

futures io Trading Community Platforms and Indicators NinjaTrader > IB Gateway/NT8 support group on automated trading

Last Updated on January 13, 2021

Upcoming Webinars and Events

NinjaTrader Indicator Challenge!


Battlestations! Show us your trading desk - $1,500 in prizes!


Importance of Finding Your Own Way w/Adam Grimes

Elite only

Journal Challenge w/Jigsaw


Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
All information is for educational use only and is not investment advice.
There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
no new posts