This is a similar question with the Stock Ticker symbol search API , but the standard that I think is necessary for a commercial application has never been answered by that standard.
The problem is this: Given the company name, partial name or stock symbol, return a list of possible symbol matches.
So for example:
"microsoft" => "MSFT", "...", ... "aapl" => "AAPL", "...", ... "goo" => "GOOG", "...", ...
I used "..." to indicate another result of secondary importance.
The question I linked was, as far as I can tell, only 1 actual answer, and many people completely misunderstood the question. I don't need stock data, prices, or anything like that! One answer that addresses the correct problem is this: it is a very private API and one that can break at any time. The exact callback used by the website must be used, otherwise it does not work. It also works only in JSON format, and not in XML format, which I would prefer if possible.
At the moment I am considering 3 things, and I would appreciate any feedback on these suggestions or suggestions from others:
- Use SPARQL to query DBPedia and the โTraded Asโ fields in Wikipedia blocks, this data is relatively unstructured, incomplete, or inconsistent. I also have not used SPARQL before, so this can be a problem.
- Build a virtual table for use with the Yahoo query language, which actually escapes the Yahoo website (or another) but provides a โniceโ interface that allows me to modify the backend data without redistributing the application (for example, if Yahoo change their website). This has the added benefit that I already have code to work with YQL + XML.
- Just scan the data from my application from sites that allow you to use them in your conditions of use.
The screen scraper looks like a hack, and it feels that it can be broken very easily, so I do not want to make the last two options, however, looking at the DBPedia data with a test request, it seems that it is really terrible and generally can not be useless at all .
Summary I need a reliable API to get conditional characters for company names.
Change This should not be the Yahoo API at all. I would prefer to use them if possible, but only because of different code using their services.
api finance yahoo sparql stocks
danpalmer
source share