Historical rate on a date
historical_rateFetch ECB reference exchange rates for a past date (YYYY-MM-DD) by base currency; weekends and holidays return the preceding business day's rates.
Instructions
Get ECB reference rates for a specific past date (YYYY-MM-DD). Weekends/holidays return the most recent prior business day. Example: historical_rate('2020-01-02', base='USD').
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| base | No | EUR | |
| symbols | No |