-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when running fundlens #19
Comments
I think there was an error in my code, thanks for raising that :) Try to do
and
It'd install the new version and it should work. Keep me posted! |
Thanks for the help. Unfortunately this error now appears. ~\Anaconda3\lib\site-packages\empyrial.py in fundlens(my_portfolio, period) AttributeError: 'NoneType' object has no attribute 'iloc' |
Again this is my mistake 💀 Try to reinstall it now, hopefully, this should work. If you still get an error can you show me the tickers you try to pass through the fundlens, please? It'll help me to copy your code and see where the problem is. Have a good day =) |
Hi, Works great. Thanks for the help. |
Anaconda3\lib\site-packages\empyrial.py", line 610, in fundlens
['Dividend yield', yahoo_financials.get_dividend_yield()], ['Payout ratio', yahoo_financials.get_payout_ratio()], ['Controversy', controversy], ['Social score', social_score],
UnboundLocalError: local variable 'controversy' referenced before assignment
The text was updated successfully, but these errors were encountered: