Expanding list of supported currencies: how to proceed? #553
-
Hello and thank for the great tool, first of all. Numbat already supports pretty long, but not exhaustive list of currencies, and I personally use several others on the daily basis. I looked through source code, PRs and issues, and it seems to me that the list is pretty arbitrary (which is fine), and adding more currencies to |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi, thank you for the feedback.
The list is not arbitrary, it's based on the currencies that are available in the ECB list that we use in Numbat: https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
We can add additional currencies, but the exchange rates will not be available. The With that in mind, I'm definitely in favor of adding even more currencies, even if the exchange rates are not (yet) available for them (the latter will be addressed in #438) |
Beta Was this translation helpful? Give feedback.
Hi, thank you for the feedback.
The list is not arbitrary, it's based on the currencies that are available in the ECB list that we use in Numbat:
https://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
We can add additional currencies, but the exchange rates will not be available. The
exchange_rate
function does not yield an error, but returnsNaN
instead. This is intentional to make currency units available even if there is no internet connection. If you add additional currencies that are not in the ECB list, they could be used as units.. and combined with other…