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
"Excellent datafeed !!!" - Comment from Arely
"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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"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
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"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
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 »ISymbolLookup
Author Topic: ISymbolLookup (4 messages, Page 1 of 1)

anazarov
-Interested User-
Posts: 15
Joined: May 7, 2004


Posted: Jan 8, 2007 11:45 AM          Msg. 1 of 4
The LookupSymbol method returns found symbols in <symbol>space<description> format.

We need to extract from each found string symbol and its description as separated strings.

For symbol like MSFT MICROSOFT CORP we can simply subsrtact symbol as chars left of first space.

For symbol like MQF AO MSFT JAN 2007 C 17.0 we have to substract all left of the second space.

So, there is no one algorythm for extraction symbol from the result string.

Do you have any work-around?

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jan 8, 2007 03:02 PM          Msg. 2 of 4
This is actually something that is currently being reviewed. Unfortunately right now, there is not a viable workaround within the feed.

However, there is a downloadable symbol list on our website that is updated daily (www.iqfeed.net click on support -> symbol guide) which is a tab delimited text file (thus easily parsed) and the option symbols currently have underscores instead of spaces. This file (while much larger) will hopefully help unltil we have a better solution built into the feed.

anazarov
-Interested User-
Posts: 15
Joined: May 7, 2004


Posted: Jan 8, 2007 03:09 PM          Msg. 3 of 4
Thank you for your answer. I'm not often visiting this forum unfortunately and forum search is limited to 90 days only :)

I hope in the next version of the API it will be corrected.

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Jan 8, 2007 03:14 PM          Msg. 4 of 4
You can search the entire forum history by switching the dropdown to the "-" option.
 

 

Time: Mon May 6, 2024 12:15 PM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003