alvarobartt / investpy

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

403 with USDEUR Data #621

Open Killpit opened 1 year ago

Killpit commented 1 year ago

Hi, I was working with investor currency_crosses function and while I follow the documentation from here , I just got an 403 error.

`import investpy

data = investpy.get_currency_cross_historical_data(currency_cross='USD/EUR', from_date='01/01/2022', to_date='25/01/2023') print(data.head())`

After I ran the code, this is the error:

Traceback (most recent call last): File "/Users/atatekeli/PycharmProjects/CurrencyPricePredictorAutoTS/USDEUR.py", line 3, in data = investpy.get_currency_cross_historical_data(currency_cross='USD/EUR', from_date='01/01/2022', to_date='25/01/2023') File "/Users/atatekeli/PycharmProjects/CurrencyPricePredictorAutoTS/venv/lib/python3.9/site-packages/investpy/currency_crosses.py", line 674, in get_currency_cross_historical_data raise ConnectionError( ConnectionError: ERR#0015: error 403, try again later.

oguzkirman commented 1 year ago

This library doesn't work after last Investing update.