https://github.com/ranaroussi/yfinance
https://ranaroussi.github.io/yfinance/
import yfinance as yf
ticker = yf.Ticker("GOOG")
df = ticker.history(period="max")
df["Typical_Price"] = (df["High"] + df["Low"] + df["Close"]) / 3