13 Python libraries for free market data everyone should know:
Theta Data
Real-time and historic, high-resolution, tick data for stocks and options. Theta Data is not free but there is a generous free tier and it's one of the cheapest sources of options data on the market.
thetadata.net
Real-time and historic, high-resolution, tick data for stocks and options. Theta Data is not free but there is a generous free tier and it's one of the cheapest sources of options data on the market.
thetadata.net
yfinance
Data for stocks (historic, intraday, fundamental), FX, crypto, and options. Uses Yahoo Finance so any data available through Yahoo is available through yfinance.
github.com
Data for stocks (historic, intraday, fundamental), FX, crypto, and options. Uses Yahoo Finance so any data available through Yahoo is available through yfinance.
github.com
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 others.
pandas-datareader.readthedocs.io
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 others.
pandas-datareader.readthedocs.io
IBApi
The official API for Interactive Brokers provides access to all the data available through IB. Replaces IBPy.
interactivebrokers.github.io
The official API for Interactive Brokers provides access to all the data available through IB. Replaces IBPy.
interactivebrokers.github.io
Alpha Vantage
Alpha Vantage delivers a free API for real-time financial data and most used finance indicators in a simple JSON or CSV format.
github.com
Alpha Vantage delivers a free API for real-time financial data and most used finance indicators in a simple JSON or CSV format.
github.com
Nasdaq Data Link (formerly Quandl)
Get millions of financial and economic datasets from hundreds of publishers directly into Python.
data.nasdaq.com
Get millions of financial and economic datasets from hundreds of publishers directly into Python.
data.nasdaq.com
Twelve Data
Access 100,000+ symbols for stock, forex, index, and fundamental data from global markets.
github.com
Access 100,000+ symbols for stock, forex, index, and fundamental data from global markets.
github.com
marketstack
Real-time intraday and historical market data with 30+ years of history and 170,000+ tickers.
marketstack.com
Real-time intraday and historical market data with 30+ years of history and 170,000+ tickers.
marketstack.com
Tiingo
End-of-day stock price data API that emphasizes redundancy, transparency, and completeness
api.tiingo.com
End-of-day stock price data API that emphasizes redundancy, transparency, and completeness
api.tiingo.com
Here's what we covered:
IBApi
Tiingo
Tradier
Alpaca
Finnhub
yfinance
Polygon .io
Theta Data
marketstack
Twelve Data
Alpha Vantage
Nasdaq Data Link
pandas-datareader
IBApi
Tiingo
Tradier
Alpaca
Finnhub
yfinance
Polygon .io
Theta Data
marketstack
Twelve Data
Alpha Vantage
Nasdaq Data Link
pandas-datareader
Looking to start using Python for market data analysis?
Here's a free Ultimate Guide with everything you need to get started.
Join the 1,000s of people who finally started with Python after reading it:
links.pyquantnews.com
Here's a free Ultimate Guide with everything you need to get started.
Join the 1,000s of people who finally started with Python after reading it:
links.pyquantnews.com
Loading suggestions...