-
Notifications
You must be signed in to change notification settings - Fork 128
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
Exceptions since last Yahoo updates #104
Comments
In regards to
This looks to be an issue with change Yahoo made to its API. If you run the function from stock_info.py:
the I'm assuming Yahoo blocked this due to their rollout of Yahoo Finance Plus Essentials which is $30/mo |
@dancassin any luck for you?
in get_company_info |
I don't believe there's a way to resolve this since it is built on Yahoo! giving you the information for free. Now that the info isn't free, there's no data to extract. |
@dancassin thank you for replying quickly |
OS: Windows 10
Python version: 3.7
ticker: 'AAPL' when applicable
Exceptions per method call:
'function get_cash_flow -> Exception: "string indices must be integers"',
'function get_company_info -> Exception: "string indices must be integers"',
'function get_earnings_for_date -> Exception: "TypeError: string indices must be integers"', (case: get_earnings_for_date('02/08/2021'))
'function get_earnings_in_date_range -> returns emptyf (case: get_earnings_in_date_range('02/08/2021', '02/12/2021'))
'function get_earnings_history -> Exception: "string indices must be integers"',
'function get_financials -> Exception: "string indices must be integers"',
'function get_income_statement -> Exception: "string indices must be integers"',
'function get_next_earnings_date -> Exception: "string indices must be integers"',
'function get_top_crypto -> Exception: "KeyError: '1 Day Chart'"',
'function get_splits -> Exception: "'events'"',
'function get_stats_valuation -> Exception: "list index out of range"', , works with other tickers (e.g. NFLX)
'function tickers_ftse100 -> Exception: "AttributeError: 'DataFrame' object has no attribute 'EPIC'"',
'function tickers_ftse250 -> Exception: "ValueError: Length mismatch: Expected axis has 3 elements, new values have 2 elements"',
The text was updated successfully, but these errors were encountered: