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 you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"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
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"It’s so nice to be working with real professionals!" - Comment from Len
"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
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
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: Tue May 7, 2024 8:02 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003