[Python] Get historical stock data with delisted tickers

Discussão em 'Python' iniciado por Stack, Abril 17, 2025.

  1. Stack

    Stack Membro Participativo

    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&P_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?

    Continue reading...

Compartilhe esta Página