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 was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"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
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"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
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
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: Sun May 19, 2024 5:50 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003