alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

how to resolve ConnectionError: ERR#0015: error 429? #530

Open kth2 opened 2 years ago

kth2 commented 2 years ago

Hi @alvarobartt , I know the rootcause of this error 429, I accidentally running multiple request and exceeded the limitations of the Investing.com and caused getting blocked. Function: investpy.get_stock_historical_data country: Malaysia

May I know how to resolve it? or I need to wait until next day it get released from blocking? Please advise.

ymyke commented 2 years ago

You can either wait or use a VPN to change your IP address.

ymyke commented 2 years ago

I wrote the tessa package to help with issues such as these. See here: https://github.com/alvarobartt/investpy/issues/557