问题描述
什么是访问金融市场统计数据和股价(preferrably实时行情)最值得推荐的免费/公共API?我不是太挑剔它是如何暴露(SOAP,REST,一些专有的XML设置等),只要它有一些体面的文件。
What is the most recommended free/public API for accessing financial market stats and stock quotes (preferrably real-time quotes)? I'm not too picky about how it's exposed (SOAP, REST, some proprietary XML setup, etc.), as long as it's got some decent documentation.
我计划建立在PHP中的简单网络信息中心的一些基本数据(基本上是一个快速的正脏网页),但可能希望将其发展成为一个完全成熟的Web应用程序最终。有什么想法?
I'm planning to build a simple web dashboard in PHP with some basic data (basically a quick-n-dirty homepage), but may want to grow it into a full blown web app eventually. Any thoughts?
由于我找到了一些,我会在这里发布一个名单(如果您以前使用过其中的任何随意评论)
As I find some, I'll post a list here (feel free to comment if you've used any of them before):
免费
- (
- XigniteRealTime
推荐答案
雅虎的API提供了一个CSV转储:
Yahoo's api provides a CSV dump:
例如:<一href=\"http://finance.yahoo.com/d/quotes.csv?s=msft&f=price\">http://finance.yahoo.com/d/quotes.csv?s=msft&f=price
我不知道这是否是记录与否,但这code样品应展示所有的功能(即统计类型[查询字符串参数F]。我敢肯定,你可以找到文档(官方或没有),如果你搜索。
I'm not sure if it is documented or not, but this code sample should showcase all of the features (namely the stat types [parameter f in the query string]. I'm sure you can find documentation (official or not) if you search for it.
修改
我发现了一些非官方的文档:
I found some unofficial documentation:
<一个href=\"http://ilmusaham.word$p$pss.com/tag/stock-yahoo-data/\">http://ilmusaham.word$p$pss.com/tag/stock-yahoo-data/
这篇关于最佳/大多数COM prehensive API股票/金融数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!