Get Exchange Rate
get_exchange_rateLatest (or last N) Norges Bank exchange rate for a currency against the Norwegian krone (NOK). The value is how many NOK one unit of the base currency buys (e.g. USD → ~9.25 NOK). Builds the EXR series key B.{CURRENCY}.NOK.SP (business-day spot). currency is the ISO 4217 code, e.g. "USD", "EUR", "GBP", "SEK", "JPY".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_n | No | Return only the last N observations (default 1). | |
| currency | Yes | ISO 4217 base currency code (USD, EUR, GBP, SEK, ...). | |
| end_period | No | End date (YYYY-MM-DD). | |
| start_period | No | Start date (YYYY-MM-DD). Overrides last_n if set. |