Fetch the latest or historical Euro foreign exchange reference rates from the European Central Bank.
Usage
ecb_euro_rates(x = c("latest", "history"))
Value
A data.table::data.table()
with the reference rates.
Details
Note you can achieve the same by calling the ecb_data()
function with the right
parameters for each currency.
The reference rates are usually updated at around 16:00 CET every working day, except on TARGET closing days.
They are based on the daily concertation procedure between central banks across Europe, which normally takes place around 14:10 CET. The reference rates are published for information purposes only. Using the rates for transaction purposes is strongly discouraged.
Examples
# \donttest{
ecb_euro_rates()
#> date currency rate
#> <Date> <char> <num>
#> 1: 2025-05-30 USD 1.1339
#> 2: 2025-05-30 JPY 162.9600
#> 3: 2025-05-30 BGN 1.9558
#> 4: 2025-05-30 CZK 24.9180
#> 5: 2025-05-30 DKK 7.4587
#> 6: 2025-05-30 GBP 0.8412
#> 7: 2025-05-30 HUF 403.6000
#> 8: 2025-05-30 PLN 4.2498
#> 9: 2025-05-30 RON 5.0612
#> 10: 2025-05-30 SEK 10.8735
#> 11: 2025-05-30 CHF 0.9341
#> 12: 2025-05-30 ISK 144.2000
#> 13: 2025-05-30 NOK 11.5408
#> 14: 2025-05-30 TRY 44.4954
#> 15: 2025-05-30 AUD 1.7647
#> 16: 2025-05-30 BRL 6.4405
#> 17: 2025-05-30 CAD 1.5656
#> 18: 2025-05-30 CNY 8.1576
#> 19: 2025-05-30 HKD 8.8926
#> 20: 2025-05-30 IDR 18519.9300
#> 21: 2025-05-30 ILS 3.9761
#> 22: 2025-05-30 INR 97.0248
#> 23: 2025-05-30 KRW 1563.0900
#> 24: 2025-05-30 MXN 21.8766
#> 25: 2025-05-30 MYR 4.8264
#> 26: 2025-05-30 NZD 1.9017
#> 27: 2025-05-30 PHP 63.2090
#> 28: 2025-05-30 SGD 1.4633
#> 29: 2025-05-30 THB 37.2430
#> 30: 2025-05-30 ZAR 20.2939
#> date currency rate
# }