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 will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"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
"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 just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler via Email
"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
"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
"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
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 1350 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: Fri May 3, 2024 3:45 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003