Skip to content
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

[FEATURE REQUEST] allow supression of "delisted" tickers #270

Closed
elibroftw opened this issue Apr 20, 2020 · 1 comment
Closed

[FEATURE REQUEST] allow supression of "delisted" tickers #270

elibroftw opened this issue Apr 20, 2020 · 1 comment

Comments

@elibroftw
Copy link
Contributor

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

@dmoklaf
Copy link

dmoklaf commented Apr 23, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants