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)




"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
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 »Historical Tick Data Request Hours
Author Topic: Historical Tick Data Request Hours (13 messages, Page 1 of 1)

AK786
-Interested User-
Posts: 21
Joined: Jul 17, 2018


Posted: Aug 1, 2018 02:08 PM          Msg. 1 of 13
Asset Class: US Stocks and US Equity Options

Q1. What is the largest number of Days for which Historical Tick Data that can be requested during US trading hours?

Q2. Lets say Answer to Q1 = 10 days of Tick/Symbol - Can I request a 10 days from 30 days ago (which is part of the 180 Days Tick Historical that is stored)

AK786

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Aug 2, 2018 04:21 AM          Msg. 2 of 13
I believe that during trading hours IQFeed only provides tick data for the past 8 calendar days. In other words, even if you request just a single minute of tick data that is older than 8 days ago, IQFeed will return a !NO_DATA! response.

At the moment, the generic NO_DATA message is quite confusing, and prevents users from taking appropriate action depending on the actual error cause. I would like to suggest that in such a case, IQFeed will return a more informative error message, that will inform the users for the reason of NO_DATA, i.e. is there really no data for this request, or perhaps no data because of trading-hours limitations, or perhaps due to the 180-day limitation.

- Yair
IQML - IQFeed-Matlab connector
https://UndocumentedMatlab.com/IQML

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Aug 2, 2018 08:54 AM          Msg. 3 of 13
Good morning, I just wanted to confirm the answer above is correct. As to the other, I will certainly let the server team know and place an enhancement request with management.

Tim

bigjake
-Interested User-
Posts: 11
Joined: Jan 7, 2018

Life is all smiles


Posted: Sep 10, 2018 11:30 AM          Msg. 4 of 13
May I ask why this limitation exists? Also what defines trading hours? I'm working with futures and they trade around the clock.

Also is this noted in the documentation somewhere? I don't recall seeing it mentioned.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 10, 2018 12:21 PM          Msg. 5 of 13
Hello, This is documented in our API FAQ document and I believe in other places as well, but I would have to look around to see what the exact links would be. We limit things just during the main day trading session, 9:30 AM to 16:30 PM. It is done simply to ensure we keep a high performance level during the highest user loads. Outside of these hours, the number of active users drops off considerably which allows us to perform the longer requests with no impact to others.

Tim

bigjake
-Interested User-
Posts: 11
Joined: Jan 7, 2018

Life is all smiles


Posted: Sep 10, 2018 12:39 PM          Msg. 6 of 13
That's going to make backtesting/simulation difficult.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 11, 2018 09:42 AM          Msg. 7 of 13
Understood. Generally I find that just storing those larger requests is the only way to go. The old data hardly ever changes and having to wait for 6 months of @ES tick data to download to see any results can be frustrating, so I would certainly recommend using some local storage options.

We are always looking at increasing our offering though and we revisit this subject from time to time, increasing it as new hardware and technology changes allow, so if our engineers and management determine we can start doing this in the future we will certainly do so.

Our apologies for the unexpected inconvenience.

Tim

bigjake
-Interested User-
Posts: 11
Joined: Jan 7, 2018

Life is all smiles


Posted: Sep 11, 2018 12:00 PM          Msg. 8 of 13
Yeah I am storing it locally. I'll just have to do bulk downloads off hours.

One question though. Is there a way to change the timeout value for history requests? I cannot pull more than about three days worth of tick data before the connection closes. I suspect its timing related.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 11, 2018 12:03 PM          Msg. 9 of 13
There is nothing there on our end to stop a download from going for however long it needs. Are you getting a socket error or anything when it closes?

Tim

bigjake
-Interested User-
Posts: 11
Joined: Jan 7, 2018

Life is all smiles


Posted: Sep 11, 2018 12:24 PM          Msg. 10 of 13
Yes I believe it was a socket error, but I'll run a quick test to verify.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Sep 11, 2018 12:27 PM          Msg. 11 of 13
You could also turn on the lookup logging in the diagnostics app (via start menu) and you should be able to confirm what we sent to your socket vs what you received.

Also, if you can send the request to me that you tested with, I should be able to confirm if the connection to the server completed successfully.

Tim

AK786
-Interested User-
Posts: 21
Joined: Jul 17, 2018


Posted: Sep 11, 2018 12:51 PM          Msg. 12 of 13
@bigjake - if you are writing code in C#, try using Mathieu P C# Service.
https://github.com/mathpaquette/IQFeed.CSharpApiClient

To Avoid Time Out,

1. Alternatively, request 1 day of tick data and loop -

2. Alternatively, have upto 15 requests simulataneously to request Tick Data

IMO IQfeed is a great product, i had to figure things out through trial and error.

AK786

bigjake
-Interested User-
Posts: 11
Joined: Jan 7, 2018

Life is all smiles


Posted: Sep 11, 2018 12:55 PM          Msg. 13 of 13
I've developed my own C# iqfeed client that I am considering productizing.
 

 

Time: Sun April 28, 2024 5:27 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003