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 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
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"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
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"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
"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
"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
"The people at Nirvana have very nice things to say about your company and I can see why! Price and service is a potent combination." - Comment from Ed
"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
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 April 23, 2024 7:33 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003