[Python] yfinance Download Failing (JSONDecodeError) [closed]

Discussão em 'Python' iniciado por Stack, Março 12, 2025.

  1. Stack

    Stack Membro Participativo

    When running data = yf.download("SPY", period = "1y", progress = False) I am met with the error message 1 Failed download: ['SPY']: JSONDecodeError('Expecting value: line 1 column 1 (char 0)').

    When running data = yf.Ticker("SPY").history(period="10y") I am met with a separate error message $SPY: possibly delisted; No price data found (period=10y).

    Note: I have tried uninstalling and redownloading yfinance as well as updating yfinance.

    Continue reading...

Compartilhe esta Página