View source: R/getHistoricalExchangeRates.R
| get_historical_exchange_rates | R Documentation | 
Get historical exchange rates for a specific date for a single or multiple currencies.
get_historical_exchange_rates(date, base_currency = NULL, currencies = NULL)
date | 
 (required) Date to retrieve historical rates from (format: 2021-12-31)  | 
base_currency | 
 The base currency for the conversion (e.g., "USD")  | 
currencies | 
 A list of comma seperated currency codes which you want to get (EUR,USD,CAD) By default all available currencies will be shown  | 
Returns exchange rates for a given time range. Generally, we provide data going back to 1999.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.