Why the "volatility" of an exchange-rate dashboard can mislead
An ECB exchange-rate dashboard shows four currencies against the euro and, for each, a column called volatility. If that column is the standard deviation of the exchange rate levels, as in the tool described here, the yen looks more than a hundred times more agitated than EUR/USD just because one euro is worth about 177 yen and about 1.1 dollars. Measured on daily returns, the annual volatility of those two rates is practically the same, 5.9% over 30 observations. The rest of the article has you repeat the measurement on the official data, and tells you where the dashboard is reliable and where it is not.
The tool is available at Dashboard Forex EUR. It shows the ECB reference rates of the dollar, yen, pound and yuan, with a chart, a time range to choose (30 days, 1 year, 5 years), an alternative table and a CSV download.
What the ECB reference rates are
The euro foreign exchange reference rates are published by the ECB every working day, usually around 16:00 CET, except on TARGET closing days; they derive from a concertation procedure among central banks that normally takes place around 14:10 CET. The ECB specifies that they are published for information purposes and advises against using them for transactions. That is why they are not the rate your bank applies to you, which has its own spreads, and they are not intraday data: it is one snapshot per day.
The rate is expressed as units of foreign currency per one euro: 1.1081 for the dollar means that one euro is worth 1.1081 dollars. To find how many euros 100 dollars cost you divide, you do not multiply; it is the most common mistake when reading a table of exchange rates.
Downloading the data: a public request and a CSV
The ECB Data Portal offers a REST API without a key. The following command, which I ran on 2026-11-13, downloads in a single file the
four daily rates since 2020. The path EXR/D.USD+JPY+GBP+CNY.EUR.SP00.A is the series key: exchange rates
(EXR), daily frequency, the four currencies separated by a plus, euro as the denominator and the spot reference rate (SP00). The --compressed option is needed because the server answers with a compressed file: without it, the CSV is unreadable.
# ECB reference rates (EXR), daily, from 2020-01-01; public request without a key
# run on 2026-11-13. The API returns compressed CSV: --compressed decompresses it.
curl -s --compressed -o cambi.csv \
"https://data-api.ecb.europa.eu/service/data/EXR/D.USD+JPY+GBP+CNY.EUR.SP00.A?startPeriod=2020-01-01&format=csvdata"
wc -l cambi.csv
cut -d, -f3,7,8 cambi.csv | sed -n "1,3p"
# Output:
# 7041 cambi.csv
# CURRENCY,TIME_PERIOD,OBS_VALUE
# CNY,2020-01-02,7.7946
# CNY,2020-01-03,7.7712
The 7,041 rows are 4 currencies for 1,760 working days, plus the header. The columns that matter are three: CURRENCY,
TIME_PERIOD (the date) and OBS_VALUE (the rate). The others are SDMX metadata, which the tool discards and which
you can ignore. The series contains no weekends or TARGET closing days: in the chart the jumps from Friday to Monday are the
consequence of these gaps, not anomalies.
Lows, highs and what they really say
The first script reads the CSV with the csv module of the standard library, groups by currency and looks for the minimum and the maximum
with min and max on the second position of the (date, value) pair. It is the simplest check to refute or
confirm the sentences you read in commentaries on exchange rates.
import csv
from collections import defaultdict
series = defaultdict(list)
with open("cambi.csv", encoding="utf-8", newline="") as f:
for r in csv.DictReader(f):
series[r["CURRENCY"]].append((r["TIME_PERIOD"], float(r["OBS_VALUE"])))
for currency in ("USD", "JPY", "GBP", "CNY"):
data = sorted(series[currency])
low = min(data, key=lambda d: d[1])
high = max(data, key=lambda d: d[1])
print(f"{currency}: {len(data)} days, {data[0][0]} -> {data[-1][0]}")
print(f" low {low[1]} on {low[0]}, high {high[1]} on {high[0]}")
# Output:
# USD: 1760 days, 2020-01-02 -> 2026-11-12
# low 0.9565 on 2022-09-28, high 1.2338 on 2021-01-06
# JPY: 1760 days, 2020-01-02 -> 2026-11-12
# low 114.65 on 2020-05-06, high 187.72 on 2026-04-17
# GBP: 1760 days, 2020-01-02 -> 2026-11-12
# low 0.82388 on 2022-03-04, high 0.92985 on 2020-03-19
# CNY: 1760 days, 2020-01-02 -> 2026-11-12
# low 6.7518 on 2022-07-12, high 8.4584 on 2025-07-01
EUR/USD touched its low of 0.9565 on 28 September 2022; EUR/JPY exceeded 175 in 2024 (high of 175.39 on 11 July) and hit 187.72 on 17 April 2026, the high of the whole series; the yuan has oscillated between 6.75 and 8.46 since 2020. These are sentences you can verify in a few seconds with the script, and that is the reason why it is worth always reporting an extreme of a series with its date next to it.
The second script translates the rates into figures close to everyday life. It divides to get the euros that 100 dollars cost and multiplies to get the yen in 1,000 euros. In the last line it looks for the EUR/JPY maximum in 2024 alone with a condition on the date prefix.
import csv
rates = {}
with open("cambi.csv", encoding="utf-8", newline="") as f:
for r in csv.DictReader(f):
rates[(r["CURRENCY"], r["TIME_PERIOD"])] = float(r["OBS_VALUE"])
# The ECB rate is "units of foreign currency per 1 EUR": to find how many euros 100 USD cost, you divide.
for day in ("2021-01-06", "2022-09-28", "2026-11-12"):
print(f"{day}: 100 USD = {100 / rates[('USD', day)]:.2f} EUR")
# 1,000 EUR in yen, at the start of the series and today.
first, last = "2020-01-02", "2026-11-12"
yen_first, yen_last = 1000 * rates[("JPY", first)], 1000 * rates[("JPY", last)]
print(f"1000 EUR = {yen_first:,.0f} JPY on {first}; {yen_last:,.0f} JPY on {last} ({(yen_last / yen_first - 1) * 100:+.1f}%)")
# The EUR/JPY maximum within 2024 alone.
m = max(((v, g) for (c, g), v in rates.items() if c == "JPY" and g.startswith("2024")))
print(f"EUR/JPY maximum in 2024: {m[0]} on {m[1]}")
# Output:
# 2021-01-06: 100 USD = 81.05 EUR
# 2022-09-28: 100 USD = 104.55 EUR
# 2026-11-12: 100 USD = 90.24 EUR
# 1000 EUR = 121,750 JPY on 2020-01-02; 176,960 JPY on 2026-11-12 (+45.3%)
# EUR/JPY maximum in 2024: 175.39 on 2024-07-11
For anyone buying dollars, 100 USD cost 81.05 euros on 6 January 2021, 104.55 on 28 September 2022 and 90.24 today. For anyone travelling to Japan, 1,000 euros are worth 45.3% more yen than at the start of 2020, but the effect on the cost of a trip also depends on prices in Japan and not only on the exchange rate. These are measurements of a reference rate, not the price at which you actually exchanged currency.
Volatility: levels or returns
The code that feeds the tool, tool_dashboard_forex.py, computes for each day the sample standard deviation of the last
30 rates, not of their returns. On a series of levels the standard deviation depends on the currency's scale: a rate that
is worth 177 oscillates far more in absolute value than one worth 1.1, even if every day it moves by the same fraction. The third
script computes three measures over the last 30 days: the deviation on levels, the same as a percentage of the mean level, and the
annualised volatility of log returns (the deviation of daily returns, multiplied by the square root of 250 market days).
import csv
import math
from collections import defaultdict
series = defaultdict(list)
with open("cambi.csv", encoding="utf-8", newline="") as f:
for r in csv.DictReader(f):
series[r["CURRENCY"]].append((r["TIME_PERIOD"], float(r["OBS_VALUE"])))
def std_dev(values):
mean = sum(values) / len(values)
return math.sqrt(sum((v - mean) ** 2 for v in values) / (len(values) - 1))
print(f"{'currency':8} {'std on levels':>14} {'% of level':>12} {'annual vol. of returns':>23}")
for currency in ("USD", "JPY", "GBP", "CNY"):
levels = [v for _, v in sorted(series[currency])][-30:]
returns = [math.log(b / a) for a, b in zip(levels, levels[1:])]
print(f"{currency:8} {std_dev(levels):14.4f} {std_dev(levels) / (sum(levels) / 30) * 100:11.2f}% "
f"{std_dev(returns) * math.sqrt(250) * 100:22.1f}%")
# Output:
# currency std on levels % of level annual vol. of returns
# USD 0.0041 0.37% 5.9%
# JPY 0.7206 0.41% 5.9%
# GBP 0.0054 0.64% 2.9%
# CNY 0.0373 0.50% 5.7%
The first column is the one the dashboard uses and it compares incomparable things: 0.7206 for the yen and 0.0041 for the dollar. The second, as a percentage of the level, already reduces the difference to 0.41% against 0.37%. The third, the correct one for comparing currencies, gives 5.9% for both, 5.7% for the yuan and 2.9% for the pound. Over the last 30 days the least mobile rate is EUR/GBP. Comparison among currencies must be done on returns or on percentages, never on levels, unless the dashboard declares it in plain terms.
What the dashboard does and where it has limits
The changes (year to date, one year, five years) are simple percentages between the current rate and a reference rate, and they work. The weak point is the window: the script writes only the last 24 months of observations, by construction, and the "5 years" button filters the rows it finds. If the CSV loaded by the tool comes from that script, that button cannot show more than two years of history; this is a deduction from the code, not a measurement on the site in production.
- Four currencies: dollar, yen, pound and yuan; the ECB publishes many more.
- One value per day, no intraday data: volatility within the day is not observable.
- Volatility computed on levels, therefore not comparable across currencies with different scales.
- 24-month window in the aggregation: the 5-year change is computed but the history shown is shorter.
The second limit is structural, the third is the most important for whoever reads the numbers, and the other two concern the breadth of the tool. If you have to decide on an exchange, for example how much to change before a trip, the reference rate gives you the order of magnitude, and the quote from whoever changes your money gives you the real number.
Reusing the data under the right licence
The reuse policy for statistics of the European System of Central Banks allows free reuse at no charge, provided the source is cited (for example "Source: ECB statistics") and the data are not modified; if you compute changes or growth rates you must state explicitly that they are your own calculations. It is not the CC BY 4.0 licence that you hear cited for ECB data: that policy applies. For the site's datasets derived from these data, the practical rule is the same: name the ECB, and write that the calculations are yours.
The same method (download, recompute, compare with what the dashboard shows) you also apply to the ECB interest rates and a mortgage payment and to the harmonised Eurostat inflation. For the open files published by the site, start from the Italian museums registry.
Frequently asked questions
When does the ECB publish the reference exchange rates?
Normally around 16:00 CET on every working day, except on TARGET closing days. They are based on a concertation among central banks that takes place around 14:10 CET and are published for information purposes.
How do you work out how many euros 100 dollars cost from the ECB rate?
You divide 100 by the rate: the ECB rate is expressed as units of foreign currency per one euro. With 1.1081 dollars per euro, 100 USD cost 100 / 1.1081 = 90.24 euros (rate of 12 November 2026).
Why should you not compare the volatility of the yen and the dollar on levels?
Because the standard deviation of levels depends on scale: the euro is worth about 177 yen and about 1.1 dollars. Computed on daily returns and annualised, the volatility over the last 30 days is 5.9% for both, while on levels the difference is more than a hundredfold.
Are the ECB rates the ones my bank applies?
No. They are reference rates published for information purposes and the ECB advises against using them in transactions. The rate your bank applies includes a spread and depends on the time and the channel.
What you can do now
You can download the ECB reference rates with a public request and read them with Python's standard library. You can work out how many euros 100 dollars cost from the rate, find lows and highs with their date and compare the volatility of two currencies on returns instead of on levels. You also know under which licence to reuse ECB data and what to say about an exchange-rate figure without passing it off as a real price.
Sources
- ECB, Euro foreign exchange reference rates - publication time, concertation procedure and use for information purposes, consulted on 2026-11-13
- ECB, Data Portal - the EXR series downloaded via API (data-api.ecb.europa.eu) on 2026-11-13
- ECB, Policy regarding the reuse of ESCB statistics - free reuse with citation of the source and declaration of modifications, consulted on 2026-11-13
The scripts were run with Python 3 from the standard library on the cambi.csv file downloaded with the command shown (1,760 observations per currency, from 2020-01-02 to 2026-11-12); the outputs are identical across two runs. The commented code is ml-service/app/aggregations/tool_dashboard_forex.py.
Commenti
Caricamento commenti...
Sign in to comment