Yahoo! finance has a really simple API which returns results in CSV format. As well as stock price it can also return Dividend Yield, EBITDA, Annualized Gains etc. Here's an example:
Have you tried wolframalpha.com? for example if you enter MSFT it gives incredible information regarding microsoft. And here is their api information http://www.wolframalpha.com/WolframAlphaAPI.pdf
I doubt it. Getting sanitized and cleaned up financial information is hard. It usually takes me a whole day just cleaning up the price data I scrape off the web whenever I update my data on chartgame.com
Likely not for free (at least for full details), but I could stand corrected. Reuters has some form of API that gives in-depth details on businesses. If stock details are sufficient you could get those for free from Google Finance API, but as far as I can tell they don't offer all of the other details.
尝试使用 Mergent Company Fundamentals API,网址为 http://www.mergent.com/servius/ - 很多非常详细的财务报表数据(资产负债表/损益表/现金流量表/比率),跨公司标准化,可追溯到 20 多年
Try the Mergent Company Fundamentals API at http://www.mergent.com/servius/ - lots of very detailed financial statement data (balance sheets / income statements / cashflow statements / ratios), standardized across companies, going back more than 20 years
发布评论
评论(6)
雅虎! Finance 有一个非常简单的 API,它以 CSV 格式返回结果。 除了股票价格之外,它还可以返回股息收益率、EBITDA、年化收益等。
这是一个示例:
此处提供了关于它可以返回什么的非常好的解释
[编辑] 我只是尝试使用解释页面,但它已成为雅虎删除通知的主题。 WayBack Machine 解决了这个问题: http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm
Yahoo! finance has a really simple API which returns results in CSV format. As well as stock price it can also return Dividend Yield, EBITDA, Annualized Gains etc.
Here's an example:
A really good explanation of what it can return is available here
[Edit] I just tried to use the explanation page, but it has been the subject of a Yahoo takedown notice. WayBack Machine solves that problem: http://web.archive.org/web/20140503202125/http://www.gummy-stuff.org/Yahoo-data.htm
您尝试过 Wolframalpha.com 吗? 例如,如果您输入 MSFT,它会提供有关微软的令人难以置信的信息。 这是他们的 API 信息 http://www.wolframalpha.com/WolframAlphaAPI.pdf
Have you tried wolframalpha.com? for example if you enter MSFT it gives incredible information regarding microsoft. And here is their api information http://www.wolframalpha.com/WolframAlphaAPI.pdf
Xignite 有一个相当便宜的每月 50 美元左右的 api,而且看起来确实很有用。
如果您要抓取网页,我建议您使用像 hpricot 这样有用的库。
Xignite has a pretty cheap $50 a month or so api and it seems to be actually useful.
If you are going to be scraping web pages I'd recommend you just grab a useful library like hpricot.
我对此表示怀疑。 清理和清理财务信息很困难。 每当我在 Chartgame.com 上更新数据时,我通常要花一整天的时间来清理从网上抓取的价格数据
I doubt it. Getting sanitized and cleaned up financial information is hard. It usually takes me a whole day just cleaning up the price data I scrape off the web whenever I update my data on chartgame.com
可能不是免费的(至少是完整的细节),但我可以接受纠正。 路透社有某种形式的 API,可以提供有关企业的深入详细信息。 如果股票详细信息足够,您可以从 Google Finance API,但据我所知,他们没有提供所有其他细节。
Likely not for free (at least for full details), but I could stand corrected. Reuters has some form of API that gives in-depth details on businesses. If stock details are sufficient you could get those for free from Google Finance API, but as far as I can tell they don't offer all of the other details.
尝试使用 Mergent Company Fundamentals API,网址为 http://www.mergent.com/servius/ - 很多非常详细的财务报表数据(资产负债表/损益表/现金流量表/比率),跨公司标准化,可追溯到 20 多年
Try the Mergent Company Fundamentals API at http://www.mergent.com/servius/ - lots of very detailed financial statement data (balance sheets / income statements / cashflow statements / ratios), standardized across companies, going back more than 20 years