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've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"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
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"Excellent datafeed !!!" - Comment from Arely
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"If you are serious about your trading I would not rely on IB data for serious daytrading. Took me a while to justify the cost of IQ Feed and in the end, it's just a 2 point stop on ES. Better safe than sorry" - Comment from Public Forum
"DTN has never given me problems. It is incredibly stable. In fact I've occasionally lost the data feed from Interactive Brokers, but still been able to trade because I'm getting good data from DTN." - Comment from Leighton
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
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: Wed January 22, 2020 12:26 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003