Yahoo Finance is also a good place to get financial information that spans more countries and stocks.
For python 2 you can use ystockquote . For python 3, you can use yfq , which I rewrite from the previous one.
Get current quotes from Google and Intel.
>>> import yfq >>> yfq.get_price('GOOG+INTL') {'GOOG': '600.25', 'INTL': '22.25'}
Get historical Yahoo quotes from March 3, 2012 to March 5, 2012.
>>> yfq.get_historical_prices('YHOO','20120301','20120303') [['Date', 'Open', 'High', 'Low', 'Close', 'Volume', 'Adj Close'], ['2012-03-02', '14.89', '14.92', '14.66', '14.72', '9164900', '14.72'], ['2012-03-01', '14.89', '14.96', '14.79', '14.93', '12283300', '14.93']]
source share