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)




"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"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
"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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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
"Excellent datafeed !!!" - Comment from Arely
"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
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 7:29 AM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003