Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Currency rate for base currency seems wrong #15

Open
othenos opened this issue Jul 17, 2022 · 1 comment
Open

Currency rate for base currency seems wrong #15

othenos opened this issue Jul 17, 2022 · 1 comment

Comments

@othenos
Copy link

othenos commented Jul 17, 2022

I have just noticed that when I am getting a currency list with USD as the base, "USDUSD" is not 1.0 as expected but 1.0002680000. I do not know when this changed but it was brought to my attention recently. Can you explain why this could be? Here is a dump of the response.

{"terms":"https://currencylayer.com/terms","success":true,"privacy":"https://currencylayer.com/privacy","source":"USD","timestamp":1658071264,"quotes":{"USDEUR":0.99138,"USDGBP":0.843562,"USDCNY":6.757404,"USDAUD":1.471887,"USDSGD":1.399565,"USDCLP":1050.750396,"USDUSD":1.000268,"USDNZD":1.622982}}

@richardbiddle
Copy link

It looks like the fix to this issue was to remove the USDUSD (and all where source and destination currency was the same)
#16

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants