Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »NEW IQFEED FORUMS »New IQFeed Forum »Connecting to IQFeed data freezes NinjaTrader
Author Topic: Connecting to IQFeed data freezes NinjaTrader (4 messages, Page 1 of 1)

-Interested User-
Posts: 1
Joined: Apr 12, 2023

Posted: Apr 12, 2023 02:07 PM          Msg. 1 of 4
This was an issue several colleagues were dealing with, with seemingly no explanation or resolution.

Simply connecting to the IQFeed data would cause NinjaTrader to lock/freeze and require a force stop.

It was finally discovered this was due to a port conflict with the IQFeed client software. Uninstalling or disabling any other program running on your computer that uses port 9100 should resolve this issue.

A known example of this is Logitech G Hub (GHub).

This took quite some time and headache to diagnose, and surprisingly is not mentioned here, and DTN Support does not seem aware of this issue. So I figured having this post here might help some folks in the future.

DTN Todd
-Interested User-
Posts: 74
Joined: Mar 24, 2010

Posted: Apr 12, 2023 02:26 PM          Msg. 2 of 4
DTN Support is well aware of this issue, since it is a port confliction the only current solution is to remove or disable Ghub. A more satisfactory solution has been investigated. At this time there is no update available regarding a resolution.

-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector

Posted: Apr 13, 2023 03:07 AM          Msg. 3 of 4
Another solution that does not require disabling Logitech's Ghub is to change IQFeed's LookupPort from 9100 to some other number that is not used by any other program on your computer (e.g. 9110). You can do this by modifying the LookupPort value in the Windows registry (HKEY_CURRENT_USER\Software\DTN\IQFeed\Startup), using Windows' Registry Editor program. If IQConnect is running, you will need to restart it for the new value to take effect.

A previous post about this issue can be found here: http://forums.dtn.com/index.cfm?page=topic&topicID=5843

Yair Altman
IQML - IQFeed-MATLAB connector

I am not a DTN employee; my post reflects my personal opinion

Edited by altmany on Apr 13, 2023 at 03:35 AM

-DTN Guru-
Posts: 402
Joined: Jul 3, 2019

Posted: Apr 13, 2023 08:09 AM          Msg. 4 of 4
Yair is correct, but I warn that changing the Lookup/History port from 9100 to something else can cause third-party apps not to work. They may assume the port is 9100, instead of confirming it in the registry first.

Gary Stephen
DTN IQFeed Implementation Support Specialist


Time: Thu July 25, 2024 10:37 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003