I’d like to get earning and ex-dividend date from yfinance. below code just gives historical dividend dates and earning is not working. Anyone know any other solutions?
msft.dividends -> historical dividends (no future)
msft.earnings_dates -> not working
dir(‘MSFT’) -> no earning or div info
yf.Ticker(‘MSFT’).info[‘exDividendDate’] -> no data in info