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



IB Gateway/NT8 support group on automated trading


Discussion in NinjaTrader

Updated
      Top Posters
    1. looks_one fernlicht with 2 posts (1 thanks)
    2. looks_two erlendsol with 1 posts (0 thanks)
    3. looks_3 b16aln with 1 posts (0 thanks)
    4. looks_4 BrainSailor with 1 posts (0 thanks)
    1. trending_up 1,966 views
    2. thumb_up 1 thanks given
    3. group 8 followers
    1. forum 6 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)
 fernlicht 
Schwyz, Switzerland
 
Experience: None
Platform: NinjaTrader, Visual Studi
Broker: IB, Biftinex, Binance
Trading: Yes
 
Posts: 54 since Jan 2012
Thanks: 7 given, 32 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.
Cheers

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
For the experts of Metastock
Platforms and Indicators
1 min chart v-shape scan help please
ThinkOrSwim
Experience with AGN (Introducing Broker)
Brokers
Color templates for MT5 40 items
Platforms and Indicators
TradingView help in improving Anchored Vwap
Platforms and Indicators
 
 
(login for full post details)
  #2 (permalink)
 spdr142 
Stony Point
 
Experience: Beginner
Platform: NinjaTrader
Trading: Emini ES
 
Posts: 1 since Feb 2018
Thanks: 3 given, 0 received

Hello,
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)
 fernlicht 
Schwyz, Switzerland
 
Experience: None
Platform: NinjaTrader, Visual Studi
Broker: IB, Biftinex, Binance
Trading: Yes
 
Posts: 54 since Jan 2012
Thanks: 7 given, 32 received


Thanks.
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 8.0.22.2 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)
 b16aln 
London
 
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)
 Obelixtrader 
Slovakia
 
Experience: Intermediate
Platform: Ninjatrader 8
Broker: Interactive Brokers
Trading: K200M,KOSDQ150
 
Posts: 210 since Aug 2009
Thanks: 83 given, 107 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
 
(login for full post details)
  #6 (permalink)
 erlendsol 
Os, Norway
 
Experience: Advanced
Platform: Ninjatrader
Trading: ES, FDAX
 
Posts: 3 since May 2011
Thanks: 3 given, 1 received

Does anyone have any experience with IB gateway and the new Ninjatrader version 8.0.24.1? I am running Gateway 973 and 8.0.22.2 (which reconnects fine), and have not taken the chance of upgrading yet.

Reply With Quote
 
(login for full post details)
  #7 (permalink)
BrainSailor
Frankfurt, Germany
 
 
Posts: 1 since Feb 2021
Thanks: 0 given, 0 received

I am also currently using NT 8.0.22.2 and IBG 973.2h on Windows Server 2019. It works but e.g. it does not update positions as it should be. This is fixed in a newer version of NT.
I am currently testing NT 8.0.24.1 with IBG 978.2c. It does reconnect fine and one issue which I reported was fixed. However there is still one issue open which keeps me from using the latest NT for my live strategies. There is a bug which keeps indicators from updating in a multi-timeframe strategie. Everything else seems to work fine until now (just testing since Sunday).
Hope this helps!

Reply With Quote


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


Last Updated on March 30, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing

Your Charts Should Speak To You w/Bob Cometta

Elite only
 

Our 12-year anniversary w/ $$,$$$ prizes (check soon)

August
     



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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