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

ERR#0015: error 403, try again later #1

Closed
optimvsjag opened this issue Jan 11, 2023 · 1 comment
Closed

ERR#0015: error 403, try again later #1

optimvsjag opened this issue Jan 11, 2023 · 1 comment

Comments

@optimvsjag
Copy link

optimvsjag commented Jan 11, 2023

Hi Javier,

Looks like investpy not runs ok for this import data. I've this error code "investpy\stocks.py", line 1495, in get_stocks_overview
raise ConnectionError(ConnectionError: ERR#0015: error 403, try again later."

Looking for I find this issue open in the investpy library but is not solved. So I can't test your great screener and apply some changes to make my screener. alvarobartt/investpy#600

In your youtube tutorial you used the yahoo finance import data, but in this code we have investpy. Should we change to yahoo finance again? How we can update this code to make it functional?

Thanks a lot for your great job to the community.

@JavierCastilloGuillen
Copy link
Owner

JavierCastilloGuillen commented Jan 16, 2023

This problem about data extraction has been discussed here.
Needs to get another datasource library. In the Investpy package recommends investiny, but any other will work, as long as it has the same data structure, the screener should work fine.

Bear in mind this was an example from time ago and the code might need updates and modifications to meet your needs. The example was just a structure for further development.

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

No branches or pull requests

2 participants