Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.79k stars 144 forks source link

Qalculate is getting wrong currency exchange rates on Windows. #290

Open ezxpro opened 3 years ago

ezxpro commented 3 years ago

Simply put, it fetches the exchange rates but none of them seem to match the values of today.

I suppose it is somehow fetching outdated data, since it's only missing the conversions by a few cents for the most important currencies (like the dollar or the Euro);

hanna-kn commented 3 years ago

The exchanges rates data are retrieved from the ECB (https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml) and https://www.mycurrency.net.

The ECB data are updated at the end of each weekday. The other data source seem to be updated more often. The exchange rates in the ECB data are however relatively stable.

Further inaccuracies are introduced when converting between the two data sets.

ezxpro commented 3 years ago

Ok, so this is expected behavior. Ok then, thanks for the clarification. Do you think I should close this issue then?

kontell commented 6 months ago

Where does the bitcoin rate come from and how often is it updated, I thought it came from Coinbase?

Right now Qalculate is showing BTC=$51k and coinbase is showing 56k.

hanna-kn commented 6 months ago

Where does the bitcoin rate come from and how often is it updated, I thought it came from Coinbase?

Right now Qalculate is showing BTC=$51k and coinbase is showing 56k.

After exchange rates update (before restart), the bitcoin rate from another source (with rate from yesterday) were used. This has now been fixed.

kontell commented 6 months ago

Ok, thanks for the rapid fix.