Download end of day stock market quotes and historical data for many of the world's top stock exchanges. Wide Range of Formats Our stock data is compatible with most of the leading charting packages including: MetaStock ®, Omnitrader ®, SuperCharts, Advanced GET ™, TradeStation, AIQ, EzyChart, and many more.
- Downloadable Stock Data
- Downloadable Stock Data Plans
- Downloadable Stock Data By The Second
- Downloadable Stock Market Data
Active1 month ago
I have installed pandas-daatreader but both the Google and Yahoo APIs for downloading historical stock price data have been deprecated.
Could you advise me how I can access historical stock prices using Python? In fact I would be interested on getting prices for as back as possible as I am doing research.
Thank you.
user8270077user8270077
3 Answers
Yahoo Finance is one of the free sources to get stock data. You can get the data either using pandas datareader or can get using yfinance library. The method to get data from yfinance library is shown below.
QuandlWiki is one of the free source available on quandl to get the data for the 3000+ US equities. This is a community maintained data. Recently it is stopped being maintained but however, it is a good free source to backtest your strategies.To get the data, you need to get the free API key from quandl and replace the in the below code with your API key.
Note:Quandl requires NumPy (v1.8 or above) and pandas (v0.14 or above) to work.To get your API key, sign up for a free Quandl account. Then, you can find your API key on Quandl account settings page.
Get data for multiple stocks
If you are looking at a minute level or fundamental data then this page can be helpful.
Ishan ShahIshan Shah
See below. Code is written in Python 2.7, but should work in 3.5 when you replace the print function. Make sure when you copy the spacing is correct in your editor: a tab is 4 spaces etc.
Maik HolzheyMaik Holzhey
You could also use quandl, but you have to sign up and get your own API key. Not sure if any of the free financial APIs that have worked well with the pandas webreader still function reliably and well...
Downloadable Stock Data
Maik HolzheyMaik Holzhey
Not the answer you're looking for? Browse other questions tagged pythonpandasstockspandas-datareader or ask your own question.
From Semaj Software:Downloadable Stock Data Plans
HSDD allows users to download EOD data from Yahoo. You can get the data from Yahoo and transform it to the format that works with your favorite charting software, like Advanced Get 7.x, Metastock, and any other software that supports an ASCII format.
Version 1.3 may include unspecified updates, enhancements, or bug fixes.
Downloadable Stock Data By The Second
Downloadable Stock Market Data
What do you need to know about free software?
From Semaj Software:HSDD allows users to download EOD data from Yahoo. You can get the data from Yahoo and transform it to the format that works with your favorite charting software, like Advanced Get 7.x, Metastock, and any other software that supports an ASCII format.
Version 1.3 may include unspecified updates, enhancements, or bug fixes.