-
Notifications
You must be signed in to change notification settings - Fork 216
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
No results #128
Comments
@trexthemullaman Going to attempt recreating this issue now. |
@trexthemullaman I'm able to replicate. I'll look into this, my initial suspicions are that Yahoo:
I'll post again when I know more. |
@trexthemullaman Yahoo Finance is now returning an ebit value of 0 unfortunately. For now you can use this function to get data from any of the fields below:
where the field key can be referenced in place of 'ebit'. Example data response from Citigroup: |
@trexthemullaman This issue has been resolved with v1.13. We are able to get ebit data again. Let me know if you keep having issues. |
Running the following, simple:
from yahoofinancials import YahooFinancials
tech_stocks = ['AAPL', 'MSFT', 'INTC']
bank_stocks = ['WFC', 'BAC', 'C']
yahoo_financials_tech = YahooFinancials(tech_stocks)
yahoo_financials_banks = YahooFinancials(bank_stocks)
banks_net_ebit = yahoo_financials_banks.get_ebit()
print(yahoo_financials_tech)
print(yahoo_financials_banks)
print(banks_net_ebit)
Results are:
<yahoofinancials.yf.YahooFinancials object at 0x7fc6a02c5070>
<yahoofinancials.yf.YahooFinancials object at 0x7fc6a02db040>
{'WFC': 0, 'BAC': 0, 'C': 0}
The text was updated successfully, but these errors were encountered: