yfinance
yfinance copied to clipboard
New feature request - add "expense ratio"
It would be great if "expense ratio" from the Yahoo Finance Summary tab would be added to the info that can be obtained from .info
Since this feature has been long due and nothing is changing just fork the repo
Edit base.py file and add the following after self._info = {} is defined:
expenseRatio = (data
.get('fundProfile', {})
.get('feesExpensesInvestment', {})
.get('annualReportExpenseRatio', None))
try:
self._info['annualReportExpenseRatio'] = expenseRatio
except Exception:
pass
This should be implemented. it's very easy as well.
@moedi85 @carlos-ventura @Courvoisier13 Ran has granted me permissions to merge PRs etc, but help is appreciated in creating and/or reviewing PRs - anyone can do this.