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)




"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
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"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
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
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 »API questions
Author Topic: API questions (3 messages, Page 1 of 1)

Nosson
-Interested User-
Posts: 4
Joined: Nov 9, 2021


Posted: Nov 9, 2021 01:04 PM          Msg. 1 of 3
Hi,

I'm considering becoming an iqfeed customer. To make this decision, I have to close on a few open questions.

I have a trading system which needs tick-by-tick trades stream for NASDAQ e-mini futures to operate.

Questions:
- My trading systems runs on Linux. I don't want to use wine. Can I run iqfeed on a separate machine (under Windows) and connect to its sockets over the LAN? Does iqfeed listen on all IP addresses or only on the localhost (and therefore will require running some bridge / proxy to make it available outside of localhost)?
- In case something bad happens (iqfeed crashes, network disconnects), is it possible to recover the tick-by-tick stream using historical data during the trading hours? Let's say my app has identified there is a gap in real-time data between 10:00am and 10:05am. Will I be able to request historical data between 10:00am and 10:05am to backfill (and do it during regular trading hours such that once backfill is over I could proceed with business as usual)?
- As a follow-up to the previous question. Does iqfeed provide some unique tick identifier (IIRC, CME has them) such that during backfill I could easily distinguish between ticks I have received already through real-time stream and those which I haven't?

Thanks
Edited by Nosson on Nov 9, 2021 at 01:06 PM

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


Posted: Nov 9, 2021 01:36 PM          Msg. 2 of 3
Quote: Does iqfeed listen on all IP addresses or only on the localhost


You would have to make the socket connection to 127.0.0.1. This address is not customizable.

Quote: My trading systems runs on Linux. I don't want to use wine. Can I run iqfeed on a separate machine (under Windows) and connect to its sockets over the LAN?


The IQFeed license agreement has a clause that "data must be received and consumed on the same machine." Make sure your setup wouldn't violate that.

On a side note, we recommend the use of the third-party product Crossover (by Codeweavers) for using IQFeed in a Linux/Mac machines. A free trial is available from codeweavers.com, and we will subsidize the cost of this software if it meets your needs.

Quote: In case something bad happens (iqfeed crashes, network disconnects), is it possible to recover the tick-by-tick stream using historical data during the trading hours?


Yes, you can request tick history at any time. And you can request it for any window of time you wish. (Caveat: during trading hours you can only request tick history from the last 8 days.)

Also, IQFeed has a "queueing" mechanism which helps protect you from losing data in situations like you describe.

Quote: Does iqfeed provide some unique tick identifier?


Yes, there is a field called TickID. These IDs aren't exactly unique, because some exchanges send ticks in "bundles" which will have the same TickID. But the TickID, combined with the timestamp, should be adequate for determining whether or not a tick is a duplicate or one you already have.

I hope this information helps! Let me know if you have any other questions.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

Nosson
-Interested User-
Posts: 4
Joined: Nov 9, 2021


Posted: Nov 9, 2021 01:57 PM          Msg. 3 of 3
Thank you for a reply, super helpful. Talking about "data must be received and consumed on the same machine" clause. Does it apply to the physical machines or to virtual machines as well? If I run iqfeed on the Windows VM, running on linux, and connect to its socket from the host machine, does it still violate the agreement?
 

 

Time: Wed May 1, 2024 11:09 PM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003