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)




"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
"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
"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.
"You have an excellent product !!!!!!" - Comment from Arely
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"I am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
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 »IQFeed Developer »IQFeed Developer Support »Connection error when using IQFeed in Linux Wine
Author Topic: Connection error when using IQFeed in Linux Wine (3 messages, Page 1 of 1)

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


Posted: Apr 2, 2019 03:01 AM          Msg. 1 of 3
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: 262
Joined: Jun 13, 2005

Right Here & Now


Posted: Apr 2, 2019 11:57 AM          Msg. 2 of 3
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 3
Thanks @stargazer! I'll give your suggestions a shot over the weekend
 

 

Time: Thu September 19, 2019 5:35 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003