Getting stock symbol from company name

走远了吗. 提交于 2019-12-11 12:42:46

问题


I have a company name and i want to get the stock symbol of that company and all the information related to it. I have tried using yahoo call back Stock ticker symbol lookup API but for some reason it returns a http 400 bad request. Could someone please tell me how i would go about getting the symbol for that stock so that i can query yahoo and get all the data. Also is it possible to just use this company name to get all the stock related data.

request i sent-"http://d.yimg.com/autoc.finance.yahoo.com/autoc?"+symbol+"=yahoo&callback=YAHOO.Finance.SymbolSuggest.ssCallback" where symbol=Thomas Scott


回答1:


Your query is malformed. Try:

http://d.yimg.com/autoc.finance.yahoo.com/autoc?query=Thomas%20Scott&callback=YAHOO.Finance.SymbolSuggest.ssCallback


来源:https://stackoverflow.com/questions/9891782/getting-stock-symbol-from-company-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!