问题
I want to create a website similar to Yahoo finance, but much less complex for an independent study.
I will be using Java to do this and would like to get stock quotes through a web service as part of the learning experience.
It needs to be free or low cost and ideally would be real-time although do to licensing that probably won’t happen. I’d like something that gives intra day quotes similar to Yahoo’s delayed by 15 minute CSV feature.
Does anyone know of a web API which would fill my needs?
回答1:
ProgrammableWeb keeps a fairly extensive list of financial web APIs available.
I don't think a real-time solution will exist for free, but you should be able to find many 15-20 minute delayed APIs.
回答2:
I'm not sure this will do everything you need, but CDYNE provides a DelayedStockQuote service.
@Ben, ProgrammableWeb is also a great resource. Good tip :-).
回答3:
Webservicex.net and Restfulwebservices.net
回答4:
Take a look at www.xignite.com
回答5:
I recommend FinancialContent. They carry XML API, a JSON API and a Snapshot Quote API Another good vendor to look at is Xignite
Shop around and find a good vendor, someone who's feeds won't break and can be used reliably.
来源:https://stackoverflow.com/questions/773461/webservice-to-get-stock-quotes