JECSand / yahoofinancials

A powerful financial data module used for pulling data from Yahoo Finance. This module can pull fundamental and technical data for stocks, indexes, currencies, cryptos, ETFs, Mutual Funds, U.S. Treasuries, and commodity futures.
https://pypi.python.org/pypi/yahoofinancials
MIT License
896 stars 214 forks source link

"'NoneType' object has no attribute 'group' " when calling "get_financial_stmts" #83

Closed segelmache closed 1 year ago

segelmache commented 3 years ago

Hi JECSand,

I tried out your code examples:

>> from yahoofinancials import YahooFinancials as yfs
>> ticker = 'AAPL'
>> yahoo_financials = yfs(ticker)
>> balance_sheet_data_qt = yahoo_financials.get_financial_stmts('quarterly', 'balance')`

ERROR: NoneType' object has no attribute 'group' 

Is it just me? Thanks and regards

Jacques2101 commented 3 years ago

I have the same message...I just can download historical data with : yahoo_financials.get_historical_price_data('2017-09-15', '2018-09-15', 'weekly')

Help needed !

giteho commented 3 years ago

@segelmache @Jacques2101 Your issue sounds like a duplicate of #71. Did you do what @sylvandb says in this pull? https://github.com/JECSand/yahoofinancials/pull/72/files

xixiakl commented 3 years ago

I am getting the same error too :(.

sengwloke commented 3 years ago

ERROR: NoneType' object has no attribute 'group'

I am getting the same error

sengwloke commented 3 years ago

same error