Sub topic 2
Time-weighted return and chain-linking
This chapter assumes you already know holding period return, compounding, and the basic idea of a benchmark. It covers the time-weighted return (TWR). That is the standard way to measure a manager's skill when someone else controls the deposits and withdrawals.
Why we need a cash-flow-neutral return
A simple holding period return is the ending value divided by the beginning value, minus 1. It works only when no money enters or leaves the portfolio. Real portfolios receive contributions and pay out withdrawals. If you ignore those flows, a deposit looks like a gain and a withdrawal looks like a loss.
A manager usually cannot control when a client adds or removes money. If a sponsor deposits a large sum just before a market fall, the sponsor's dollar result is poor. The manager's skill did not cause that outcome. For evaluating the manager, we need a return that is not affected by the size and timing of external cash flows. The time-weighted return is that measure.
The idea: split, measure, link
The TWR works in three steps:
- Split the evaluation period into sub-periods. Every external cash flow marks a boundary between two sub-periods.
- Compute the holding period return of each sub-period. Within a sub-period no external money moves, so the simple formula is valid.
- Chain-link the sub-period returns by compounding them geometrically.
The formula is:
TWR = (1 + r1)(1 + r2)...(1 + rn) − 1
Each factor (1 + r) is a growth factor for one sub-period. Multiplying them gives the growth of one unit of currency that was invested at the start and left to compound. The result does not depend on how large the portfolio was in each sub-period, so the cash flows have no effect on it.
Chain-linking in code
If you already have the sub-period returns, chain-linking is a short loop.
def time_weighted_return(period_returns):
growth = 1.0
for r in period_returns:
growth *= 1.0 + r
return growth - 1.0
print(round(time_weighted_return([0.05, -0.02, 0.03]), 5)) # 0.05987The result is 5.987%, not the simple sum of 6%. Compounding makes the two differ.
Worked example with valuations and flows
In practice you start from portfolio valuations, not returns. Suppose a portfolio starts at 100,000.
- At the end of period 1 it is worth 105,000, and the client deposits 50,000.
- At the end of period 2 it is worth 151,900, and the client withdraws 20,000.
- At the end of period 3 it is worth 135,857.
Each sub-period return uses the value just before the flow as its ending value. The value just after the flow becomes the next beginning value.
| Sub-period | Beginning value | Ending value (before flow) | Flow at end | Return |
|---|---|---|---|---|
| 1 | 100,000 | 105,000 | +50,000 | 5% |
| 2 | 155,000 | 151,900 | −20,000 | −2% |
| 3 | 131,900 | 135,857 | 0 | 3% |
The code below does the same calculation.
def twr_from_valuations(start_value, periods):
# periods: list of (end_value_before_flow, flow_at_end)
growth = 1.0
begin = start_value
for end_before, flow in periods:
growth *= end_before / begin
begin = end_before + flow
return growth - 1.0
result = twr_from_valuations(
100_000,
[(105_000, 50_000), (151_900, -20_000), (135_857, 0)],
)
print(round(result, 5)) # 0.05987The answer matches the chain-linked example above. The 50,000 deposit and the 20,000 withdrawal change the dollar gain, but they do not change the TWR.
Why geometric linking, not averaging
Compounding is required because each sub-period's return applies to whatever the portfolio was worth at that point, which includes earlier gains and losses. Averaging the returns arithmetically gives the wrong answer. Take returns of +50% and −50%. The arithmetic mean is 0%. The geometric result is 1.5 × 0.5 − 1 = −25%. An investor who lost half the value after a 50% gain is clearly worse off than at the start.
Annualizing
A TWR over more than one year is usually quoted as an annual rate. The standard conversion is geometric:
annualized return = (1 + cumulative TWR)^(1 / years) − 1
If the cumulative TWR over two years is 21%, the annualized return is 1.21^(1/2) − 1 = 10%. For periods shorter than a year, GIPS does not allow annualizing, because it implies a result the portfolio did not achieve. Present the cumulative return for such periods. (GIPS is covered in a later chapter.)
How often must you value the portfolio?
The exact TWR needs a portfolio valuation on every date an external cash flow occurs. Daily valuation does this and is the most accurate method. Where valuation at each flow is not practical, an approximation is used.
| Method | Valuation needed | Accuracy | Typical use |
|---|---|---|---|
| Exact TWR | At every external cash flow | Highest | Liquid portfolios with daily pricing |
| Daily-valued TWR | Every day | Very high | Most institutional managers |
| Modified Dietz | Start and end of period, plus flow dates | An approximation of a money-weighted return | Monthly returns when flows are small |
The modified Dietz return weights each flow by the share of the period it was invested:
(EMV − BMV − CF) / (BMV + Σ wi × CFi), where wi = (CD − Di) / CD
Here EMV and BMV are the ending and beginning market values, CF is the net external flow, CD is the number of days in the period, and Di is the number of days from the start of the period to flow i. Modified Dietz is easy to compute, but it is not a true TWR. It is accurate only when the flows are small relative to portfolio size and returns do not swing widely within the period.
Common errors
- Using the post-flow value as the ending value. The ending value of a sub-period must be the value before the flow. Including the flow in it counts the deposit as a gain.
- Skipping the valuation on a flow date. If you link only month-end returns while large flows happen mid-month, the monthly return is contaminated by those flows.
- Averaging instead of compounding. Arithmetic averages of sub-period returns overstate the result whenever returns vary.
- Annualizing short periods. A 3-month return of 5.987% is not a 24% annual return.
- Comparing against a mismatched benchmark. The benchmark return must cover the same dates. When you compute a manager's TWR with sub-periods, link the benchmark over the same periods before comparing.
When TWR is the right choice
Use the TWR when evaluating a manager who has no control over the timing or size of client flows. This covers most public-market mandates. It lets you compare managers and benchmarks on equal terms, because everyone is judged on the same compounded growth of one unit of currency.
Do not use the TWR alone when the decision maker controls the flows, as in private equity or venture capital. In that case the timing of capital calls and distributions is part of the manager's skill, and a money-weighted measure captures it.
Exercise
A portfolio earned 8% in the first quarter, lost 4% in the second quarter, and earned 5% in the third quarter. The client made a large deposit at the start of the second quarter. What is the cumulative time-weighted return over the three quarters?
Show answer
Chain-link the growth factors: 1.08 × 0.96 × 1.05 = 1.08864. The cumulative TWR is 8.864%. The deposit does not change the result.
Exercise
A manager's cumulative TWR over two years is 44%. What is the annualized return, and why is it not 22%?
Show answer
Annualized return = 1.44^(1/2) − 1 = 1.20 − 1 = 20%. Dividing 44% by 2 ignores compounding. Earning 22% in each year would give 1.22² − 1 = 48.84%, which is more than the actual 44%.
Exercise
A portfolio is worth 200,000 at the start. It is worth 210,000 just before the client withdraws 60,000. At the end of the period it is worth 159,000. Compute the TWR.
Show answer
Sub-period 1: 210,000 / 200,000 − 1 = 5%. After the withdrawal the portfolio is worth 150,000. Sub-period 2: 159,000 / 150,000 − 1 = 6%. TWR = 1.05 × 1.06 − 1 = 11.3%.