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-07-10 USD 1.1709
#> 2: 2025-07-10 JPY 171.3300
#> 3: 2025-07-10 BGN 1.9558
#> 4: 2025-07-10 CZK 24.6390
#> 5: 2025-07-10 DKK 7.4611
#> 6: 2025-07-10 GBP 0.8627
#> 7: 2025-07-10 HUF 398.9300
#> 8: 2025-07-10 PLN 4.2475
#> 9: 2025-07-10 RON 5.0775
#> 10: 2025-07-10 SEK 11.1520
#> 11: 2025-07-10 CHF 0.9320
#> 12: 2025-07-10 ISK 143.0000
#> 13: 2025-07-10 NOK 11.8030
#> 14: 2025-07-10 TRY 46.8571
#> 15: 2025-07-10 AUD 1.7873
#> 16: 2025-07-10 BRL 6.5690
#> 17: 2025-07-10 CAD 1.6028
#> 18: 2025-07-10 CNY 8.4010
#> 19: 2025-07-10 HKD 9.1915
#> 20: 2025-07-10 IDR 19012.2000
#> 21: 2025-07-10 ILS 3.8715
#> 22: 2025-07-10 INR 100.4195
#> 23: 2025-07-10 KRW 1607.9400
#> 24: 2025-07-10 MXN 21.8420
#> 25: 2025-07-10 MYR 4.9734
#> 26: 2025-07-10 NZD 1.9476
#> 27: 2025-07-10 PHP 66.1960
#> 28: 2025-07-10 SGD 1.4989
#> 29: 2025-07-10 THB 38.1890
#> 30: 2025-07-10 ZAR 20.8105
#> date currency rate
# }