Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"Excellent datafeed !!!" - Comment from Arely
"You have an excellent product !!!!!!" - Comment from Arely
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
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 »Archive (2017 and earlier) »IQFeed Developer Support »Connection error when using IQFeed in Linux Wine
Author Topic: Connection error when using IQFeed in Linux Wine (4 messages, Page 1 of 1)

phaser
-Interested User-
Posts: 3
Joined: Apr 2, 2019


Posted: Apr 2, 2019 03:01 AM          Msg. 1 of 4
I've been reading about how IQFeed can run reliably under Wine-Stable, so I've been testing it out for the past 2 days. Below is a description of the issue I'm facing, any help would be highly appreciated!

ISSUE:
- After installing IQClient under Wine, I opened IQLinkLauncher.exe, entered my username and password on the pop-up box.
- I ran a simple Python script to download historical data but it said IQFeed is not connected.
- I then ran Diagnostic.exe. Out of 10 times I click on the 'Test' button, I only succeeded once or twice in getting data but in those rare occasions, after the initial batch of data is received, the connection fails again.
- Thinking of debugging the issue, I clicked on the 'Connectivity' tab, which says:
=======
login.interquote.com
Trace route to 66.112.148.213
Hop Min RTT Avg RTT Max RTT IP
Could not get a valid ICMP handle
=======
- To confirm that there is nothing wrong with my internet, I re-ran the above using the IQLinkLauncher installed on my host Win8.1 and everything was fine. The connection was very stable and never needed a re-login. I really have no idea what is wrong.


My setup:
(1) Debian Jessie 64-bit Virtualbox VM running on Win 8.1 host

Steps I took for Debian VM:
(1) Installed Wine (NOT: Wine-Development) based on the instructions here: https://wiki.debian.org/Wine. I started from Step 1, then step 2: Standard installation
(2) Ran 'winecfg'
(3) Installed iqfeed_client_6_0_0_5.exe (in the process, it installed vcredist_x86_2012u4) in Wine
Edited by phaser on Apr 2, 2019 at 03:02 AM
Edited by phaser on Apr 2, 2019 at 05:08 AM
Edited by phaser on Apr 2, 2019 at 05:08 AM

stargrazer
-DTN Guru-
Posts: 302
Joined: Jun 13, 2005

Right Here & Now


Posted: Apr 2, 2019 11:57 AM          Msg. 2 of 4
I think 6.0.0.5 has some buffering/incomplete-record issues when running multiple symbols. Try the latest which is 6.0.1.1, I believe.

Try building your VM with Stretch.

Although describing a container build, the same wine configuration can be used in a regular VM (you may need to copy and paste the link rather than clicking on it):

http://blog.raymond.burkholder.net/index.php?/archives/950-Gui-using-Wine,-X2Go,-LXDE-in-a-simple-LXC-container.html

There might be an issue with the news service. If so, see the following for a fix:

http://blog.raymond.burkholder.net/index.php?/archives/747-DTNIQFeed-Gecko-Problem-in-Wine-from-WineHQ.html

To get IQConnect 'locked in', I run the SnapQuote application twice. The first time starts IQConnect, and the second time actually makes a connection after choosing a symbol. I then close the first SnapQuote application.

phaser
-Interested User-
Posts: 3
Joined: Apr 2, 2019


Posted: Apr 4, 2019 12:41 PM          Msg. 3 of 4
Thanks @stargazer! I'll give your suggestions a shot over the weekend

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Aug 24, 2020 07:14 AM          Msg. 4 of 4
Phaser, is there a reason you're launching IQLinkLauncher? To connect to the IQFeed API, you only need to launch IQConnect.exe. The "IQLink" tools in the IQFeed client software are for manually starting DDE, and they aren't necessary in modern versions of Excel. They're only included for legacy reasons.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist
 

 

Time: Thu April 25, 2024 3:01 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003