Hey I just need the link for the API that Google/Yahoo have (I know they have it but I cant find the link) that I can use to get historical and recent End of day stock quotes. For example I want to be able to query the quote for MSFT on Jan 15,2009 and get the moving averages and 52 week highs, etc. Can anyone point them out to me? Thanks!!
views:
61answers:
3
+2
A:
Google
You can get historical prices from both Google and Yahoo by simply modifying the URL. I've written a couple of blog posts about it.
- Posts the EOD data earlier than Yahoo (2-3 hours before Yahoo posts the data).
- Sample URL: http://www.google.com/finance/historical?q=NYSE:GOOG&output=csv
- Has a limit on how many requests you can make per minute (don't know the exact figure, but if you request data too often google will block you for a period of time).
- Good if you download the data manually and automatically (at low frequency).
Yahoo
- Posts the EOD data a little later (around 7:00 p.m. CST).
- Sample URL: http://ichart.finance.yahoo.com/table.csv?s=YHOO&d=3&e=23&f=2010&g=d&a=3&b=12&c=1996&ignore=.csv
- Has no limit on how many requests you can make at all!
- Good if you download the data both manually and automatically (no frequency limit).
As mentioned, the gummystuff web site is a great resource!
Lirik
2010-08-05 07:35:13
Thanks for sharing!
Xeoncross
2010-08-21 00:25:50
+1
A:
The Mergent Historical Securities Data API at http://www.mergent.com/servius should have exactly what you're looking for.
Eugene Osovetsky
2010-10-19 06:30:52