forex-python icon indicating copy to clipboard operation
forex-python copied to clipboard

get_rates and other functions return "Currency Rates Source Not Ready

Open jamenlong opened this issue 2 years ago • 11 comments

jamenlong avatar Feb 06 '23 16:02 jamenlong

Been using forex-python daily for several months. On Feb 2 an error began to be returned with each call.

from forex_python.converter import CurrencyRates
cr = CurrencyRates()
cr.get_rates('USD')

Output: RatesNotAvailableError: Currency Rates Source Not Ready

jamenlong avatar Feb 06 '23 16:02 jamenlong

I have the same issue, for fresh FX rates data but also for older data that should already be available

YohanGrember avatar Feb 07 '23 09:02 YohanGrember

Base provider https://theforexapi.com seems to be unavailable (I get a 502 when trying to access it)

YohanGrember avatar Feb 07 '23 09:02 YohanGrember

I have this problem too:

Output: RatesNotAvailableError: Currency Rates Source Not Ready

luca-chara avatar Feb 07 '23 14:02 luca-chara

I am facing the same issue, are there any other alternatives?

narenkhatwani avatar Feb 09 '23 00:02 narenkhatwani

I am facing the same output:

RatesNotAvailableError: Currency Rates Source Not Ready

htimmermann avatar Feb 09 '23 01:02 htimmermann

We're facing the same issue here. Any patch planned?

DamienCentralTech avatar Feb 09 '23 03:02 DamienCentralTech

theforexapi.com has been down for a few days now. I created a PR that switches to a new api (https://exchangerate.host) it's free as well. You can grab my branch if you need it quickly.

This PR fixes the issue #127

ShanePadellaro avatar Feb 09 '23 20:02 ShanePadellaro

theforexapi.com has been down for a few days now. I created a PR that switches to a new api (https://exchangerate.host) it's free as well. You can grab my branch if you need it quickly.

This PR fixes the issue #127

Hey @ShanePadellaro Thank you for posting this. I rather used https://exchangerate.host/#/#docs and its working absolutely fine.

himanshuk-dev avatar Feb 11 '23 23:02 himanshuk-dev

I'd appreciate if the API managers could confirm when the issue will be resolved? I am also getting error: RatesNotAvailableError: Currency Rates Source Not Ready

himanshuk-dev avatar Feb 11 '23 23:02 himanshuk-dev

Perhaps the real change here should be a configurable data source, or a fallback option on alternate data sources when the primary returns an error

Cruuncher avatar Aug 02 '23 19:08 Cruuncher