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
"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
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"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
"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 started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"DTN feed was the only feed that consistently matched Bloomberg feed for BID/ASK data verification work these past years......DTN feed is a must for my supply & demand based trading using Cumulative Delta" - Comment from Public Forum Post
"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
"You have an excellent product !!!!!!" - Comment from Arely
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 »History filtering broken? Time/Date filters in request do not change response!
Author Topic: History filtering broken? Time/Date filters in request do not change response! (5 messages, Page 1 of 1)

ers811
-Interested User-
Posts: 13
Joined: Mar 4, 2010


Posted: Mar 16, 2010 01:01 AM          Msg. 1 of 5
Is there a known issue with specifying time and date filters in the History3 COM interface? I'd rather not have to request more data than I need and trim it down after I get it back.

As a quick example I tried to request the last 60 minutes of 1-minute data for SPY.

BeginDateTime = "";
EndDateTime = DateTime.Now.ToString("yyyyMMdd 160100"); // Also hard-coded "20100315 160100"
BeginFilterTime = "093100";
EndFilterTime = "160100";

I keep getting after-hours data. Am I doing something wrong? I see the same results in the IQFeed History Viewer diagnostic app as well.

Thanks,
Eric

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Mar 16, 2010 08:15 AM          Msg. 2 of 5
Eric, I do not see the issue here when using the history viewer. Can you tell me exactly which parameters you are passing into the request for all fields or exactly what you are specifying in the HistoryViewer?

ers811
-Interested User-
Posts: 13
Joined: Mar 4, 2010


Posted: Mar 16, 2010 05:44 PM          Msg. 3 of 5
Here is an example assuming this attachment works.

I did notice that if I do NOT specify the number of bars to return, it works correctly. However I'd rather not spend the time coding all that. In this example, I want the last 120 1-min bars DURING MARKET HOURS. As you can see, it start a few minutes before the close and return everything it has. The filtering has no effect when I tell it how many bars I want.

Eric



File Attached: DTNIQ_Filter_Test.PNG (downloaded 1356 times)

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Mar 17, 2010 08:05 AM          Msg. 4 of 5
This is a known issue. Combining the Oldest to Newest flag with the number of datapoints parameter causes unexpected results. It will be fixed in an upcomming server release.

Until then, I can only recommend using one or the other and doing the extra filtering on your end.

ers811
-Interested User-
Posts: 13
Joined: Mar 4, 2010


Posted: Mar 18, 2010 03:13 AM          Msg. 5 of 5
Excellent, that's great to know. For now I'll just request them backwards and reverse the collection before shooting the result to my requesting app.

Thanks!
 

 

Time: Sat May 18, 2024 1:41 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003