NexusFi: Find Your Edge


Home Menu

 





Interactive Brokers gateway losing connectivity


Discussion in Platforms and Indicators

Updated
      Top Posters
    1. looks_one Fadi with 9 posts (9 thanks)
    2. looks_two michaelf with 6 posts (1 thanks)
    3. looks_3 NGtrader with 4 posts (1 thanks)
    4. looks_4 Big Mike with 3 posts (5 thanks)
      Best Posters
    1. looks_one FastBull32 with 2 thanks per post
    2. looks_two Big Mike with 1.7 thanks per post
    3. looks_3 Fadi with 1 thanks per post
    4. looks_4 Luger with 1 thanks per post
    1. trending_up 27,319 views
    2. thumb_up 21 thanks given
    3. group 13 followers
    1. forum 34 posts
    2. attach_file 6 attachments




 
Search this Thread

Interactive Brokers gateway losing connectivity

  #21 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581


Fadi View Post
It is a configuration thing sometimes not that obvious I admit.

If you want to share a screen shot of your IB connection configuration in NT7 and another snapshot of your Gateway settings then I can troubleshoot you on the spot.

Cheers
F

Hi @Fadi

Here we go,

First I start Gateway, then I start NT7, when I want to connect the two, an new IB login appears, when I login again it ask me to to close the first session.

Also I think my Gateway does not have a market data connection.

Thats it. Here a few screenshots, hope you can help.

thanks michael

Attached Thumbnails
Click image for larger version

Name:	IB.JPG
Views:	314
Size:	44.4 KB
ID:	133180   Click image for larger version

Name:	NT7.JPG
Views:	302
Size:	40.7 KB
ID:	133181   Click image for larger version

Name:	IB2.JPG
Views:	287
Size:	19.9 KB
ID:	133182  
Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Better Renko Gaps
The Elite Circle
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
PowerLanguage & EasyLanguage. How to get the platfor …
EasyLanguage Programming
MC PL editor upgrade
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
29 thanks
Tao te Trade: way of the WLD
24 thanks
Just another trading journal: PA, Wyckoff & Trends
24 thanks
Bigger Wins or Fewer Losses?
21 thanks
GFIs1 1 DAX trade per day journal
16 thanks
  #22 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648


michaelf View Post
Hi @Fadi

Here we go,

First I start Gateway, then I start NT7, when I want to connect the two, an new IB login appears, when I login again it ask me to to close the first session.

Also I think my Gateway does not have a market data connection.

Thats it. Here a few screenshots, hope you can help.

thanks michael

Hi Michael
Try to put your computer's IP address in the HOST field (instead of 127.0.01)
Also, in the gateway setup window, add that same computer's IP address to the list of trusted IP's.

Continue to connect to the gateway first, and then connect NT7 to it.
You shouldn't see a new IB login window popping up anymore...

Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
Thanked by:
  #23 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581



Fadi View Post
Hi Michael
Try to put your computer's IP address in the HOST field (instead of 127.0.01)
Also, in the gateway setup window, add that same computer's IP address to the list of trusted IP's.

Continue to connect to the gateway first, and then connect NT7 to it.
You shouldn't see a new IB login window popping up anymore...

@Fadi

Now I have message from NT: Login faild:IB Adapter. MessageLoop. Host is not known

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #24 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648


michaelf View Post
@Fadi

Now I have message from NT: Login faild:IB Adapter. MessageLoop. Host is not known

did you put your username and password in the NT7 connection setup window, and checked the auto logon?
At least this is how I do it personally, I don't get to enter the username and password each time I connect...

Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
Thanked by:
  #25 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581


Fadi View Post
did you put your username and password in the NT7 connection setup window, and checked the auto logon?
At least this is how I do it personally, I don't get to enter the username and password each time I connect...

Yes I tried, I know it is not easy to setup the connection. Also I saw a video on youtube how to connect, put unfortunately the instruction are not complete.

So I will wait until NT8 comes out and hope they had changed something.

thanks
michael

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
  #26 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648


michaelf View Post
Yes I tried, I know it is not easy to setup the connection. Also I saw a video on youtube how to connect, put unfortunately the instruction are not complete.

So I will wait until NT8 comes out and hope they had changed something.

thanks
michael

Strange, it works for me perfectly...

The thing is that I do have virtual machines running on my computer, and in one of them I have NT7 and in another one I have the IB Gateway or TWS.
So basically, I have different IP addresses for each machine, perhaps that's why it is working. Dunno...

Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
Thanked by:
  #27 (permalink)
 
Fadi's Avatar
 Fadi 
Luxembourg
 
Experience: Advanced
Platform: NinjaTrader
Broker: IB / Kinetick
Trading: ES, CL
Posts: 485 since Apr 2012
Thanks Given: 667
Thanks Received: 648

These are snapshots of my current configuration that works.




Successful people will do what unsuccessful people won't or can't do!
Follow me on Twitter Reply With Quote
Thanked by:
  #28 (permalink)
 
michaelf's Avatar
 michaelf 
Mérida, Mexico
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader 8
Broker: NinjaTrader Brokerage
Trading: MNQ
Frequency: Daily
Duration: Minutes
Posts: 559 since Mar 2011
Thanks Given: 1,434
Thanks Received: 581

The last 2 days I tried everything to connect NT7 with IB Gateway without success.
But finaly I got all together and its working fine and stable on my Windows 7 without virtual machine.

How I did it: I downloaded a free small programm called TWSStart from here
Private Homepage for TWSStart

and I adjusted it exactly like in this Youtube video
Connect [AUTOLINK]NinjaTrader[/AUTOLINK] 7 with IB-Gateway - YouTube

There are other videos, also from the autor, but for me only the above one worked out.

I hope it helps somebody else.

michael

Follow me on Twitter Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #29 (permalink)
 richtobey 
San Antonio
 
Experience: Advanced
Platform: NinjaTrader Interactive Brokers
Broker: Interactive Brokers
Trading: forex
Posts: 45 since Oct 2010
Thanks Given: 0
Thanks Received: 116

I struggled with this in the past. I figured it out and use it everyday. Try this old post if you still don't have it.


Visit my NexusFi Trade Journal Reply With Quote
  #30 (permalink)
 NGtrader 
Burnaby, BC Canada
 
Experience: Advanced
Platform: Ninjatrader
Broker: Ironbeam, Kinetick
Trading: ES, CL, RTY
Posts: 233 since Apr 2014
Thanks Given: 758
Thanks Received: 201


Sorry about resurrecting an old thread. My friend and I are running an automated strategy using NT8 and IB gateway version 9.60 (we were informed by NT support that this was the most stable one to use with NT8) and we have had to do manual log-in after disconnections no matter what version we used.


My friend has been on the phone with IB API dept constantly and it's aggravating as hell as you can imagine. Do the 3rd party solutions such as IBcontroller and TWSstart also work with NT8 or are they just for NT7?

Follow me on Twitter Reply With Quote




Last Updated on September 17, 2018


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
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.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts