I want to do some modelling and data visualization on historical stock data, including price, volume, financials, etc. Is there a public dataset available for stock price history? I looked at a few (Yahoo, Kaggle and Tiingo), but either they have a high cost, are missing some of the key financial information, or are not sure they would be reliable and up to date. Free would be preferred, also established and reliable. If not, what are some good options for collecting the data myself? Maybe web scraping, public APIs, etc. I plan to use this data in a machine learning project I am building.
In python, there are many libraries that can be used to get the stock market data. The most common set of data is the price volume data. These data can be used to create quant strategies, technical strategies, or very simple buy-and-hold strategies. The different Python libraries which provide stock market data are as follows:
- Daily data
- Yahoo finance
- Minute level data
- Alpha vantage
Futures & options price-volume data for Indian markets
Find and Explore ready-to-use Stock Market Datasets
Stock price data of the fifty stocks in NIFTY-50 index from NSE India
Data your way. Choose your access method and pay only for the data you need.