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)




"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"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.
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"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
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
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: 397
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: Tue May 28, 2024 7:37 PM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003