12 Python libraries for free market data everyone should know:
yfinance
Data for stocks (historic, intraday, fundamental), FX, crypto, and options. Uses Yahoo Finance so any data available through Yahoo is available through
pandas-datareader
pandas-datareader used to be part of the pandas project. Now an independent project. Includes data for stocks, FX, economic indicators, Fama-French factors, and many
IBApi
The official API for Interactive Brokers provides access to all the data available through IB. Replaces
Alpha Vantage
Alpha Vantage delivers a free API for real-time financial data and most used finance indicators in a simple JSON or CSV