Skip to content

๐ŸŽฏ Benchmark Selection

Every relative figure carries an invisible passenger: the thing it was measured against. "The portfolio beat the market by three points" is not a statement about the portfolio โ€” it is a statement about the portfolio and whatever was called "the market". Change the second term and the verdict changes with it, without a single position having moved.

This page is about that second term. The choice of comparison is not a display preference applied after the analysis: it is part of the result.


๐Ÿ”ข What "Relative" Means

Given a primary return series \(r_p\) and a comparison series \(r_b\) observed on the same dates, LibreFolio derives the relative figures from the pair.

Active return is the difference between the two holding-period returns, each compounded over the shared window:

\[\text{Active} = \left[ \prod_{t=1}^{N} (1 + r_{p,t}) - 1 \right] - \left[ \prod_{t=1}^{N} (1 + r_{b,t}) - 1 \right]\]

It is a difference of compounded returns over the window actually shared by the two series โ€” not an annualised figure, and not a ratio.

Beta measures how strongly the primary series responded to the comparison one:

\[\beta = \frac{\mathrm{Cov}(r_p, r_b)}{\mathrm{Var}(r_b)}\]

The denominator is the key to the whole page: beta is the covariance divided by the variance of the benchmark. Everything the benchmark does โ€” or fails to do โ€” propagates into the figure.

Correlation is computed with the same estimator as the correlation matrix, and answers whether the comparison is even relevant: a beta measured against something the portfolio does not track describes a relationship that is not there.


๐Ÿ’ก Interpretation

The three figures answer different questions and are meant to be read together.

Figure Question it answers
Active return Did the portfolio end the shared window ahead of or behind the comparison?
Beta How amplified was the portfolio's response to the comparison's movements?
Correlation Was the comparison a meaningful reference at all?

Correlation comes first in practice. Active return and beta remain arithmetically well-defined against a comparison the portfolio ignores completely, and they are meaningless there โ€” a low correlation is the signal that the benchmark was the wrong question, not that the portfolio was the wrong answer.

๐Ÿงญ Why the Choice Is Already Half the Verdict

A single global equity portfolio compared against a broad world index, against a domestic index, and against a bond fund will produce three different active returns, three different betas, and three different impressions โ€” from the same positions over the same dates. None of the three is a measurement error. They answer three different questions, and the question was chosen when the benchmark was chosen.

The practical consequence is a comparability rule: two relative figures can be compared with each other only if they were measured against the same benchmark. A beta is not a property of a portfolio; it is a property of a portfolio and a reference. LibreFolio records the comparison asset in the result's own metadata precisely so that a figure can never be separated from the reference that produced it.


๐Ÿงฎ What Can Serve as a Benchmark

The comparison is not free-form. The analysis takes a real asset that exists in your data as its reference, identified explicitly, and three things follow from that.

It must exist. A comparison against an unknown asset is not silently dropped or replaced by a default: the analytic returns no value, reporting invalid parameters and naming the asset that was requested.

It must have a usable price history. The benchmark's series is prepared exactly like the positions under analysis, on the same shared calendar and in the same target currency. If no usable series can be built for it, the result is unavailable rather than approximate.

The benchmark picker asks the engine which assets have a usable price history of their own over the analysis period and in the target currency, and lists the others apart, read-only, each with the engine's reasons. A benchmark chosen earlier that does not pass this check stays chosen and shown in the picker, but nothing is measured against it. If the check cannot be made, nothing is locked.

It must move. Beta divides by the variance of the comparison series, so a reference that never moves has no variance to divide by: beta comes back undefined, correlation with it, and both raise an explicit warning rather than a number. This is why a flat reference โ€” a constant, a hypothetical fixed rate of return โ€” cannot function as a benchmark here. The constraint is not a policy that could be waived; it is the arithmetic of the ratio.

A benchmark is not a threshold

The comparison answers "compared to what?", not "is this good?". A portfolio that lags a rising benchmark and one that falls less than a collapsing benchmark both produce a figure; neither figure knows whether the investor should be satisfied. That judgement needs the objective, which lives outside the metric.


๐Ÿ“ The Shared Window

Two series rarely cover exactly the same dates, so the comparison is computed on the intersection of the two calendars: on each shared date, each series contributes its returns since the previous shared date โ€” for the first, since the primary's previous date โ€” compounded into one. A benchmark quoted on days the primary skips โ€” a crypto-asset at the weekend, beside a portfolio read on its observation days โ€” keeps those moves.

Three consequences are published with the result.

A minimum applies. Below 20 shared observations the comparison is not computed at all: the result comes back unavailable with an insufficient-history reason carrying both the number of shared observations found and the number required. A benchmark that barely overlaps your history produces no figure instead of a fragile one.

Coverage is reported. The result records what fraction of the primary series' own dates survived the intersection โ€” that is, on how many of your dates the chosen reference had a return of its own. A benchmark launched halfway through your holding period does not silently compare half a period; it says so.

The annualisation factor is re-measured on the shared window. Because the intersection is generally shorter and sparser than the full analysis window, any annualised quantity in the comparison is scaled by a factor measured on the common sample rather than inherited from the wider analysis โ€” the same observed-factor logic described in Observed Annualization, applied to the overlap.


๐Ÿ“ˆ The Risk/Return Line

On the Risk tab of the Dashboard and of a broker's page, the level Am I being paid for this risk? draws a chart of risk against return โ€” annualised volatility across, average annual return up. It shows one dot per holding, sized by its weight in the portfolio; one for the portfolio itself, as composed today and replayed over the window; one for the benchmark, drawn as a diamond; and a straight dashed line.

The line starts on the vertical axis at the risk-free rate the page uses โ€” the same rate as its Sharpe and Sortino figures, which today is 0 on the Dashboard and on a broker's page โ€” and runs through the benchmark. In theory this is the Capital Market Line, which runs through the market portfolio; here the benchmark is what stands in for the market:

\[R = R_f + \frac{R_b - R_f}{\sigma_b}\,\sigma\]

where:

  • \(\sigma\) is an annualised volatility, and \(R\) the average annual return the line reaches at that volatility;
  • \(R_f\) is the risk-free rate the page uses;
  • \(R_b\) and \(\sigma_b\) are the benchmark's average annual return โ€” its mean return per period, scaled to a year โ€” and its annualised volatility.

Reading it. The slope, \((R_b - R_f)/\sigma_b\), is the benchmark's Sharpe ratio: its average return over the risk-free rate per unit of volatility. A dot above the line was better paid for its risk than the benchmark โ€” more average return over the risk-free rate per unit of volatility, a higher Sharpe ratio. A dot below it was paid less. Like every relative figure on this page, that is a comparison with the reference, not a grade.

Choosing the benchmark for it. Because the benchmark stands for "the market", a broad global index โ€” a tracker of a world equity index, for example โ€” is the most meaningful stand-in. A domestic index, a sector index or a bond fund still draws a line, but turns it into a comparison with that narrower reference: see Why the Choice Is Already Half the Verdict.

With no benchmark chosen โ€” or one that could not be measured over the window โ€” the line runs through your own portfolio instead. Above it then means better paid than the portfolio as a whole, and the slope is the portfolio's Sharpe ratio.

A benchmark you hold is drawn once, not as two dots: it is your holding's own dot, at its weight, in the benchmark's style, and the line runs through it.

On the Assets page. Its Correlation tab, which compares a selection of assets you put together, draws the same line when a benchmark is chosen and measured over the window: it starts at the risk-free rate the page uses โ€” 0 today, as on the Dashboard โ€” and runs through the benchmark's diamond, so its slope is the benchmark's Sharpe ratio and a dot above it was better paid for its risk than the benchmark. A benchmark that is one of the selected assets is drawn once, as that asset's own dot in the benchmark's style, and the line runs through it. With no benchmark, or one that could not be measured over the window, no line is drawn, because no portfolio can take the benchmark's place โ€” a selection has no weights and so no whole of its own to run a line through โ€” and the chart shows the trade-off and leaves the judgement to you.

What did each of these pay for its risk? on the Correlation tab, with S&P 500 as the benchmark: the table opened by its tinted row, and the chart with the asset circles, the benchmark's diamond and the dashed line from the risk-free rate through it

Prices only, for now

The returns on this chart come from price series alone: coupons and dividends are not included yet. A holding that pays out a large share of its return as income therefore sits lower than its total return would place it โ€” and when the benchmark does, the line tilts down with it.


โš ๏ธ Limitations

The benchmark is a choice, and the choice is not neutral

Because both the beta and the sign of the active return depend on the reference, a comparison chosen after seeing the results is not a measurement โ€” it is a narrative. The honest sequence is to decide what the portfolio is trying to track before asking how it performed against it.

Relative figures do not stack

Betas and active returns measured against different references belong to different scales. Comparing one asset's beta against a domestic index with another asset's beta against a world index produces a comparison of two unrelated numbers that happen to share a name.

The two sides are not always the same kind of return

The comparison asset always contributes the return of its own price series, while the primary side keeps the return basis of what is being analysed โ€” an asset or a whole portfolio. The result records which basis was used on the primary side, and it is worth checking before reading a small active return as meaningful.

A shared calendar hides what it discards

Only dates present in both series are compared. If the reference is missing precisely during the turbulent stretch that matters most, the comparison sees that stretch as a single compounded step โ€” or not at all, before the reference's first shared date โ€” rather than as it unfolded. The coverage figure is what makes that loss visible โ€” read it before reading the beta.


  • ๐Ÿ“ˆ Beta & Active Return โ€” the two figures this choice determines
  • ๐Ÿ”— Correlation โ€” whether the chosen reference is relevant at all
  • ๐Ÿ“… Observed Annualization โ€” why the factor is re-measured on the overlap
  • ๐Ÿงช Data Quality โ€” what the shared calendar drops, and how it is reported
  • ๐Ÿ“ Sharpe Ratio โ€” the slope of the risk/return line