Sub topic 5
Time-Weighted Return When Cash Moves In and Out
Assume you know percentage returns, compounding, and the difference between a portfolio value and an external cash flow. This chapter shows how to measure portfolio performance without letting the investor’s deposit or withdrawal timing distort the result.
Why cash flows create a measurement problem
Suppose a portfolio starts with $1,000 and grows to $1,100. The investor then deposits another $1,000. The portfolio later falls to $1,890.
The investor lost $110 compared with the $2,000 contributed. However, the portfolio manager did not control when the extra $1,000 arrived. A performance measure should separate the manager’s investment results from the investor’s cash-flow decision.
A time-weighted return (TWR) measures the compound investment return across each period between external cash flows. It gives each sub-period equal importance in sequence, regardless of how much money was invested during that period.
Splitting the measurement period
Record the portfolio value immediately before each external deposit or withdrawal. This divides the full measurement period into sub-periods.
For a contribution made at the start of a sub-period:
R_i = \frac{V_{i,\text{end}}}{V_{i,\text{start}} + C_i} - 1Here, \(C_i\) is a contribution. A withdrawal is represented as a negative contribution. The TWR is:
TWR = \left(\prod_{i=1}^{n}(1+R_i)\right)-1| Sub-period | Starting value | Cash flow before investing | Ending value | Return |
|---|---|---|---|---|
| 1 | $1,000 | $0 | $1,100 | 10% |
| 2 | $1,100 | $1,000 deposit | $1,890 | -10% |
The linked return is:
(1.10 \times 0.90)-1 = -1\%The portfolio’s TWR is therefore approximately -1%. The investor’s dollar result is different because most of the money was invested during the declining sub-period.
# Each tuple is (value at start of sub-period, value at end before the next cash flow).
# A 1000 deposit is made after the first sub-period.
subperiods = [(1000.0, 1100.0), (2100.0, 1890.0)]
growth = 1.0
for start, end in subperiods:
growth *= end / start
twr = growth - 1
print(round(twr, 4)) # -0.01: +10% then -10% links to about -1%
# Money actually put in: 2000. Value at the end: 1890.
print(1890.0 - 2000.0) # -110.0 loss in currency termsThe second sub-period starts at $2,100 because the $1,000 deposit is added to the $1,100 value at the end of the first sub-period.
A practical workflow
- Record the opening value.
- Record every external deposit and withdrawal.
- Obtain a portfolio value immediately before each cash flow, if possible.
- Calculate each sub-period return.
- Add one to every return.
- Multiply the growth factors.
- Subtract one from the product.
- State whether the values include dividends, fees, and other relevant returns.
When exact timing is unavailable
Daily valuation makes TWR more accurate. If a cash flow occurs during a day but no intraday value exists, a provider may assume the flow occurred at the beginning or end of that day. That assumption can materially affect results when markets move sharply.
A benchmark usually has no investor cash flows, so compare it over the same dates and with the same return basis. TWR makes the portfolio’s investment performance more comparable to that benchmark.
Exercise
A portfolio earns 5% before a $500 deposit and loses 5% afterward. What is its linked time-weighted return?
Show answer
Multiply the growth factors: 1.05 × 0.95 - 1 = -0.0025, or -0.25%.