Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(5)
看看 http://www.mergent.com/servius - 一组用于历史记录的 REST API股票报价和许多其他类型的金融数据
Take a look at http://www.mergent.com/servius - a set of REST API for historical stock quotes and many other types of financial data
我正在使用雅虎获取免费股票数据,它仍然工作正常(尽管你让我担心了一分钟)。
此链接下载包含 Apple 和 Microsoft 股票信息的 CSV 文件:
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL+MSFT&f=sl1d1t1c1ohgvj1m4&e=.csv
您的应用使用的频率攻击他们的服务器? 也许他们因为过度使用而封锁了你的IP?
I'm using yahoo for free stock data, and it's still working fine (although you had me worried for a minute there).
This link downloads a CSV file containing stock info for Apple and Microsoft:
http://download.finance.yahoo.com/d/quotes.csv?s=AAPL+MSFT&f=sl1d1t1c1ohgvj1m4&e=.csv
How often was your app hitting their servers? Maybe they blocked your IP due to excessive use?
问题是很难找到免费的数据源。 这主要是因为这些数据被交易场所出售以换取金钱——你不是在要求开源啤酒,你是在要求免费啤酒。
此数据的下一个重要地方可能是 Google (http://www.google.com/finance/)。 与大多数 Google 服务一样,应该有一个 API,您可以在其中查询股票,但我找不到详细信息的链接。
The issue is that it's hard to find a free source for the data. This is mostly due to the fact that this data is sold for money by the trading places -- you're not asking for open source beer, you're asking for free beer.
The next big place for this data is probably Google (http://www.google.com/finance/). As with most Google services there ought to be an API where you can query the stocks but I couldn't find a link for the details.
我使用 WebServiceX 和 Google 财经。
I use WebServiceX and Google Finance.
事实上,Google 确实提供了 Java Finance API。 它纯粹是在投资组合和相关头寸方面进行讨论,但这应该可以帮助您继续下去。
还有 Google Data API,甚至还有 Javascript API
Google does in fact provide a Java Finance API. It's talking purely in terms of portfolios and associated positions, but that should get you going.
There's also a Google Data API and even a Javascript API