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
911 stars 215 forks source link

class yahoofinancials.ManagedException does not have __str__ #76

Open juanmf opened 4 years ago

juanmf commented 4 years ago

On this line: https://github.com/JECSand/yahoofinancials/blob/76fe4abe139edb20f5b9b1576645c7ad05b05031/yahoofinancials/__init__.py#L481

the actual error printed to STDOUT looks like:

Warning! Ticker: BLCN error - <class 'yahoofinancials.ManagedException'>
The process is still running...

Not helpful.