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

ConnectionError: ERR#0015: error 403, try again later. #632

Open
jortiz12 opened this issue Nov 7, 2023 · 5 comments
Open

ConnectionError: ERR#0015: error 403, try again later. #632

jortiz12 opened this issue Nov 7, 2023 · 5 comments

Comments

@jortiz12
Copy link

jortiz12 commented Nov 7, 2023

Hello
After installing mosyt recent version, and running basic example, I continue to get a connection error.
Any advice would be much welcome.
Kind regards, Jose

!pip install git+https://github.com/alvarobartt/investpy.git@master

df = investpy.get_stock_historical_data(stock='AAPL', country='United States', from_date='01/01/2010', to_date='01/01/2020') print(df.head())

ConnectionError: ERR#0015: error 403, try again later.

@ymyke
Copy link
Contributor

ymyke commented Nov 7, 2023

investpy no longer works because investing.com disallows scraping. You could use https://github.com/ymyke/tessa/ instead.

@jortiz12
Copy link
Author

jortiz12 commented Nov 7, 2023

much appreciated @ymyke !!!

@jortiz12
Copy link
Author

jortiz12 commented Nov 7, 2023

Just a quick comment: I see that TESSA uses Yahoo Finance and Yahoo Finance (via yfinance) Coingecko.

However, I was looking at Investing.com data because some European Bond Futures (e.g. Euro Bund future) are not available in yahoo finance.

Is there any plans to also add Investing.com to TESSA?

Thanks in advance.

@ymyke
Copy link
Contributor

ymyke commented Nov 7, 2023

Unfortunately no, because investing.com doesn't allow it.

@djtech-dev
Copy link

I'm having the same problem.

What Python version are you using?

For me it work on Python 3.10 but not Python 3.11

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

3 participants