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)




"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
"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
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"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 have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"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
"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
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 »Error codes for historical tick and bar requests are not standardized and not matching with the documentation
Author Topic: Error codes for historical tick and bar requests are not standardized and not matching with the documentation (5 messages, Page 1 of 1)

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Apr 16, 2014 11:54 PM          Msg. 1 of 5
The documentation states the following:

Result Format for Errors:

If IQConnect.exe recognizes the command is formatted incorrectly, you will receive a syntax error in the following format:
E,!SYNTAX_ERROR!,<CR><LF>

Or, if the servers return an error, you will receive an error in the following format:
E,[Error Text],<CR><LF>!ENDMSG!,<CR><LF>

If you specified a REQUESTID, it will be prepended to one of the above messages. For example:
REQUESTID,E,[Error Text],<CR><LF>

**************************************

Can you please shed light into the current standard way to receive error messages because the above does not match with what I get back. I am receiving error messages that differ significantly: Sometimes the error message is prepended with "1000", at other times only a "!NOData!" is returned. It makes it incredibly difficult to write code that does not break.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Apr 17, 2014 10:22 AM          Msg. 2 of 5
Hello,

Can you confirm what requests you are sending that are causing you to receive the results mentioned? I tried a couple items, indicated below and it all seems to work as defined on this end. Also, if you could specify what protocol you are using for your requests, that would be helpful as well.

HDT,GOOG,20150101
E,!NO_DATA!,,
!ENDMSG!,
HDT,GOOG,20150101,,,,1000
1000,E,!NO_DATA!,,
1000,!ENDMSG!,

Thanks,

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Apr 18, 2014 07:56 AM          Msg. 3 of 5
I get similar messages than you get above. I guess I got confused because some of my requests include a custom requestId, others do not. You made it clear that even when an error message is returned the request Id is prepended as long as the request is made with the id. Sorry my bad. Happy Easter.

P.S. Is there a way to delete this thread as it was my mistake and the datafeed behaves actually as documented and expected.

DTN_Tim Walter
-DTN Guru-
Posts: 1238
Joined: Apr 25, 2006


Posted: Apr 18, 2014 08:01 AM          Msg. 4 of 5
Bbmat,

Happy Easter to you as well. I think the policy is to only delete things in the rarest of cases. With this, I think there is value in having it here and I will consider ways to better document the error messages in the future, so the next person does not get confused as well.

So thanks for letting us know and if you find anything else that does not feel write or maybe could use clarification, please don't hesitate to ask.

Tim

bbmat
-Interested User-
Posts: 30
Joined: Mar 31, 2014


Posted: Apr 18, 2014 08:06 AM          Msg. 5 of 5
Great, will do.

While you offered to clarify, is there a chance to get a list of the currently supported fx providers? I am aware of FXCM and COMP (composite feed) but I wonder which other currently supported providers are there. I am especially interested in ECN type of feeds such as FXAll, HotspotFX, Currenex, EBS, Reuters. I checked on your website and found one list but most of the listed providers listed under Tenfore are not working. I am interested in intraday 1-minute and tick based data.

Thanks a lot
 

 

Time: Sat April 27, 2024 7:29 AM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003