-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fix nasdaq top retail working without a key resulting in an error #5811
Conversation
Should we also add the catch around the datatable not found in the response? |
@the-praxs I get this. If the key is not being required by default that's would be a bug in the ![]() |
I discovered with James that if there's no API key (i.e. its We can implement this hack for this case or if you have a long-term solution, please let me know! |
If you check for ![]() |
I think we should put a custom exception in try-catch for the |
Without the api key,
equity.discovery.top_retail
will try to fetch the data but will run intoThis PR fixes this by raising an error if Nasdaq API key is not found.