MicroPyramid / forex-python

Foreign exchange rates, Bitcoin price index and currency conversion using ratesapi.io
http://forex-python.readthedocs.io/en/latest/usage.html
MIT License
661 stars 195 forks source link

get_rates and other functions return "Currency Rates Source Not Ready #126

Open jamenlong opened 1 year ago

jamenlong commented 1 year ago

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

YohanGrember commented 1 year ago

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

YohanGrember commented 1 year ago

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

luca-chara commented 1 year ago

I have this problem too:

Output: RatesNotAvailableError: Currency Rates Source Not Ready

narenkhatwani commented 1 year ago

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

htimmermann commented 1 year ago

I am facing the same output:

RatesNotAvailableError: Currency Rates Source Not Ready

DamienCentralTech commented 1 year ago

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

ShanePadellaro commented 1 year ago

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

himanshuk-dev commented 1 year ago

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 commented 1 year ago

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

Cruuncher commented 1 year ago

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