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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
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 »HTT Request Ignoring Time
Author Topic: HTT Request Ignoring Time (2 messages, Page 1 of 1)

tom_e
-Interested User-
Posts: 1
Joined: Oct 6, 2017


Posted: Oct 6, 2017 04:01 PM          Msg. 1 of 2
Hi all. For some reason the time is being ignored on my HTT requests. In fact, anything after the date is ignored. The start and end dates are fine, but the socket returns the entire day's worth of quotes rather than just between the times specified, which takes too long and is unnecessary. I can, however, get successful historical lookups with time using HTD, but counting days back gets problemmatic. Any and all thoughts are very much appreciated:

message <- 'HTT,@ESZ17,20171005 180000,20171005 180014,,,,1,,\r\n' this returns 20171005 from midnight full day "2017-10-05 00:00:43,2536.00,1,13787,2536...

message <- 'HTT,@ESZ17,20171005180000,20171005180014,,,,1,,\r\n' this too returns 20171005 from midnight full day "2017-10-05 00:00:43,2536.00,1,13787,2536...

message <- 'HTT,@ESZ17,20171005howdy,20171005howdy,,,,1,,\r\n' same result!

however... message <- "HTD,@ESZ17,2,,180000,180014,1r\n" returns correctly: "2017-10-05 18:00:00,2548.75,4,4,2548.75...

Thanks for looking.

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


Posted: Oct 6, 2017 05:26 PM          Msg. 2 of 2
Hello, I got your messages via email. Unfortunately I don't have an answer for you however, I will say (mostly for future readers of this post) that the format that should be adhered to for these fields is CCYYMMDD HHmmSS (with a single space between date/time). I understand you're just troubleshooting and it's good information that the space seems to be what is corrupting your requests but I'm not sure how currently. At this point I think we've determined it has to be something in your setup.

Do you have the ability to compile/run any of the supplied example apps we distribute with the feed? If so, do they show the same issues? If not, it looks like your account is authorized for our DTN.IQ client. http://www.dtniq.com/template.cfm?navgroup=supportlist&urlcode=33&view=1

Can you test using this (open the Time & Sales and configure the request to use a date range).

Also, which version of python are you using? and do you have any environment variables set that could be altering the run of the app?https://docs.python.org/2/using/cmdline.html#environment-variables You might try running your app with the -E parameter just to make sure that isn't the issue.
 

 

Time: Tue May 7, 2024 12:52 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003