yfinance
yfinance copied to clipboard
[FEATURE REQUEST] allow supression of "delisted" tickers
when using yf.download, have a keyword parameter that will allow us to hide "symbol may be delisted" errors among other errors.
proposal
Using hide_errors=set() or suppress_errors=set() you should check if the error has been specified to be suppressed and then output only if it has not been suppressed
A complementary solution would be to have this exception have a specific type, e.g., TickerNotFoundError, to ease filtering. Currently it is an Exception which forces to perform some brittle string matching to filter these out.