1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] getting financial data from yahoo finance with yfinance python

Discussão em 'Python' iniciado por Stack, Setembro 16, 2025.

  1. Stack

    Stack Membro Participativo

    I was trying the yfinance package trying to get fianacials dataframe. Although, it worked nice getting info,history and actions, it didn't work with financials, balance_sheet and other methods even with different stocks

    INPUT

    import yfinance as yf
    msft = yf.Ticker("MSFT")
    print(msft.financials)


    OUTPUT

    Empty DataFrame
    Columns: [Open, High, Low, Close, Adj Close, Volume]
    Index: []`


    The columns are also wrong. I am searching for a way to fix the problem or another solution to get data.

    Continue reading...

Compartilhe esta Página