Closed aditya08 closed 1 month ago
'annualReportExpenseRatio' is working fine for mutual funds but not for ETFs.
Python 3.7.3 [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import yfinance as yf >>> vti = yf.Ticker('VTI') >>> vti.info['annualReportExpenseRatio'] >>> print(vti.info['annualReportExpenseRatio']) None >>> vtsax = yf.Ticker('VTSAX') >>> vtsax.info['annualReportExpenseRatio'] 0.0004
The issue code did not go to the fundProfile to find annualReportExpenseRatio.
fundProfile
annualReportExpenseRatio
'annualReportExpenseRatio' is working fine for mutual funds but not for ETFs.