Replies: 3 comments 1 reply
-
You're not missing anything. Only criticism of your method is it will fetch |
Beta Was this translation helpful? Give feedback.
0 replies
-
I reported an issue for it today. Just realize that it was discussed previously. Any progress? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi @ntigern, following #2041, you are now able to query
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I am hoping to add expense ratio to the data that I get from yfinance, but am unable to find it populated for ETFs. I forked it and found that if I add fundProfile module in quote.py on the _fetch_info call that it will populate
info['feesExpensesInvestment']['annualReportExpenseRatio']
.Am I missing some functionality that will already allow me to access expense ratio for ETFs, or is this the best approach?
The method I updated in my fork:
def _fetch_info(self, proxy): if self._already_fetched: return self._already_fetched = True modules = ['financialData', 'quoteType', 'defaultKeyStatistics', 'assetProfile', 'summaryDetail', 'fundProfile']
Beta Was this translation helpful? Give feedback.
All reactions