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 am keeping IQFeed, much better reliabilty than *******. I may refer a few other people in the office to switch as well." - Comment from Don
"Everything is working great with the API. I love it." - Comment from Calvin
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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
"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
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"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
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"I am enjoying the feed very much - so superior to the broker provided feed I was previously using." - Comment from George
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 »IQFeed Developer »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: Fri April 3, 2020 12:18 AM CFBB v1.2.0 0 ms.
© AderSoftware 2002-2003