atreadw1492 / yahoo_fin

Scrape stock price history from new (Spring 2017) Yahoo Finance layout
MIT License
285 stars 125 forks source link

Fix no income statements availible with exception handling. #89

Closed mowoe closed 1 year ago

mowoe commented 1 year ago

Resolves #73

Some tickers dont have an income statements availible, as they do not represent companies but e.g. ETFs. Catching the resulting exception in the same way as in get_balance_sheet is much nicer.