pythonfinancestockyfinanceback-testing

Get historical stock data with delisted tickers


I need to get historical stock data of S&P 500 including delisted tickers for backtesting in Python.

I tried to parse wiki (https://en.wikipedia.org/wiki/List_of_S%26P_500_companies), then download data

yf.download(delisted_tickers)

but i can't get big part of data because of that error

No data found, symbol may be delisted

So, are there other methods to get all data?


Solution

  • "Only Premium Plus members can view delisted company data"

    Source : https://finance.yahoo.com/news/premium-plus-feature-historical-financial-201155209.html