alvarobartt / investpy

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

IndexError: ERR#0033: information unavailable or not found. #491

Open sine-w opened 2 years ago

sine-w commented 2 years ago

start_date_str = '01/01/1950'

United States 1-Year Bond Yield

investpy_search_obj_dict['US01Y'] = investpy.search_quotes(text='US1YT=X', countries=['united states'], n_results=1) yield_df_dict['US01Y'] = investpy_search_obj_dict['US01Y'].retrieve_historical_data(from_date=start_date_str, to_date=GetCurrentDate(dtype='str', format_str='%d/%m/%Y')) timeSleep(5)

It generated the following error IndexError: ERR#0033: information unavailable or not found.

Actually yesterday I was successfully using the same piece of code to download the data, but today when I do the same thing, it failed.

sirinath commented 2 years ago

I have an issue for stocks. It was working and suddenly stopped working. Since then it is not getting data which previously downloaded about 5 minutes before.

crowisback commented 2 years ago

Same issue for no apparent reason for EUR/TRY. If you pick another date it works but for at least three starting it dates doesn't.

HJNVR commented 2 years ago

I got the same issue. It runs smoothly for nearly one whole month and it suddenly failed. Does anyone have solutions yet? I kind of need it urgently. Thx