Sub topic 5
Threshold rebalancing: rebalance when drift is large
Calendar rebalancing trades on a date. Threshold rebalancing trades on a condition: you act only when the portfolio has moved far enough from its target to matter. This chapter covers how the rule works, how to set the tolerance, how to code it, and where it goes wrong.
Prerequisites
This chapter assumes you already know the following:
- Basic investing vocabulary: stocks, bonds, funds, and asset classes.
- A portfolio weight is an asset class's market value divided by total portfolio value.
- Drift is the current weight minus the target weight, as computed in the earlier chapter on measuring drift.
- Basic Python, if you want to run the examples.
The working model
A threshold rule (also called a band or tolerance rule) has three parts:
- A target weight for each asset class, such as 60% stocks and 40% bonds.
- A tolerance band around each target. The band is the range of weights you accept without acting.
- A monitoring routine that measures weights often enough to notice a breach.
If every weight is inside its band, you do nothing. If any weight is outside its band, you rebalance. The rule asks one question: "Is the portfolio far enough off target that fixing it is worth the cost?"
With a 60/40 portfolio and a band of plus or minus 5 percentage points, stocks may range from 55% to 65%. Bonds may range from 35% to 45%. In a two-asset portfolio the weights sum to 100%, so when stocks reach 65%, bonds are at 35%. Both breach at the same moment.
Why use a threshold instead of a schedule
A calendar rule trades whether or not the portfolio needs it. In a quiet year, a January rebalance might move 0.5% of the portfolio and still incur costs. In a violent quarter, the portfolio might drift far off target and sit there until the next scheduled date.
A threshold rule fixes both problems:
- It stays idle when markets are calm, which avoids pointless trades.
- It reacts when markets move sharply, so the portfolio does not stay far from target for months.
The cost is that you must monitor. The rule is only as good as how often you check.
Worked example
Take a 60/40 portfolio with a 5-point absolute band. It starts at 100,000: 60,000 in stocks and 40,000 in bonds.
After a strong stock market, the values are 72,000 in stocks and 38,000 in bonds. The total is 110,000.
- Stock weight: 72,000 / 110,000 = 65.45%. Drift is +5.45 points.
- Bond weight: 38,000 / 110,000 = 34.55%. Drift is -5.45 points.
Both drifts exceed 5 points, so the rule triggers. The code below measures the weights and flags the breach.
targets = {"stocks": 0.60, "bonds": 0.40}
values = {"stocks": 72000.0, "bonds": 38000.0}
total = sum(values.values())
weights = {a: values[a] / total for a in values}
drift = {a: weights[a] - targets[a] for a in targets}
for a in targets:
print(f"{a}: weight {weights[a]:.1%}, drift {drift[a]:+.1%}")
def breaches_band(weights, targets, abs_band=None, rel_band=None):
"""Return the asset classes outside their tolerance band.
abs_band: allowed drift in weight, e.g. 0.05 for 5 percentage points.
rel_band: allowed drift as a fraction of the target, e.g. 0.25 for 25%.
"""
out = []
for a, target in targets.items():
drift = abs(weights[a] - target)
if abs_band is not None and drift > abs_band:
out.append(a)
elif rel_band is not None and drift > rel_band * target:
out.append(a)
return out
print(breaches_band(weights, targets, abs_band=0.05))The output is:
stocks: weight 65.5%, drift +5.5%
bonds: weight 34.5%, drift -5.5%
['stocks', 'bonds']Note that the function compares the absolute value of drift to the band, so it catches both overweight and underweight positions.
Choosing the band width
The band width sets how often you trade. It is a trade-off between two costs.
- Narrow bands (for example 1 to 2 points) keep the portfolio close to target. They trigger often, so you pay more in trading costs and possibly taxes.
- Wide bands (for example 10 points) trade rarely. The portfolio can wander far from its intended risk level before you act.
No single width is correct. Three things push the choice:
| Factor | Pushes toward a narrower band | Pushes toward a wider band |
|---|---|---|
| Transaction costs and taxes | Low costs, tax-sheltered account | High costs, taxable account |
| Volatility of the asset | Low volatility, so drift is slow and a small breach is meaningful | High volatility, so a narrow band triggers constantly |
| Risk tolerance for drift | Low tolerance for straying from target | High tolerance |
A common starting point for a two-asset stock and bond portfolio is a band of 5 percentage points. You should test any choice against your own costs rather than copy it.
Absolute and relative bands
You can express a band in two ways. The breaches_band function above supports both.
An absolute band is a fixed number of percentage points. A 5-point band applies equally to every asset class: a 60% target may range from 55% to 65%, and a 10% target may range from 5% to 15%.
A relative band is a fraction of the target weight. A 25% relative band on a 60% target allows 15 points of drift (45% to 75%). On a 10% target it allows only 2.5 points (7.5% to 12.5%).
The difference matters most for small positions.
| Asset class | Target | Absolute band, 5 points | Relative band, 25% |
|---|---|---|---|
| Large-cap stocks | 50% | 45% to 55% | 37.5% to 62.5% |
| Bonds | 40% | 35% to 45% | 30% to 50% |
| Real estate | 10% | 5% to 15% | 7.5% to 12.5% |
A 5-point absolute band lets a 10% holding swing by half of its target before you act. That is loose for a small position. A relative band scales with the position size, so small holdings are watched more tightly and large holdings are given more room. Many practitioners use a relative band for portfolios with several asset classes of different sizes. A common starting range is 20% to 25% of the target.
A gotcha in the code
In breaches_band, the check is if ... elif .... If you pass both bands, a class is flagged when it breaches the absolute band. If it does not, the relative band is checked. The result is that a class is flagged when it breaches either band, so the tighter of the two controls. That is a deliberate choice. If you want the looser band to control, you must change the logic to require both breaches.
How often to monitor
A threshold rule has an implicit schedule: the monitoring frequency. If you check once a year, the rule is nearly a calendar rule. If you check every day, it reacts to short spikes.
- Daily monitoring catches every breach, but a breach might reverse the next day. You can end up trading on noise.
- Monthly or quarterly monitoring is a common compromise. It limits the work and filters out brief spikes.
- Continuous automatic monitoring is available at some brokers and robo-advisors. It reacts fastest and costs you no effort, but you should know whether the service rebalances to the target or only to the band edge (covered in a later chapter).
Your monitoring frequency, together with the band, defines the rule. Write both down.
Edge cases and failure modes
Breach and reversal. A portfolio may breach the band on Tuesday and return inside it by Friday. If you trade on Tuesday, you sold stocks that then recovered, and you paid costs for nothing. Less frequent monitoring reduces this. So does a rule that requires a breach to persist for a set number of days.
Trending markets. In a long, one-way rally, stocks keep rising. The rule sells winners again and again as each breach triggers. Each sale is correct under the rule, but the portfolio may underperform one that never rebalanced. Rebalancing controls risk. It does not promise higher returns.
Several asset classes. With three or more classes, a breach in one class forces trades in others. You must decide whether to trade only the breaching class or the whole portfolio. Trading the whole portfolio is the simpler and more common choice.
Cash flows can fix a breach. A contribution or withdrawal changes the weights. Check the weights after the cash flow is applied, since new money may already cure a breach without any selling.
Stale prices. Weights are only as accurate as your prices. A fund that prices once a day, or a holding that trades thinly, can give a false breach. Use consistent valuation times.
Ignoring the trade size. A breach by 0.1 point over the band is a valid trigger, but the trade may be too small to justify its cost. Some policies add a minimum trade size, such as "skip any trade under 250".
Threshold rules and the calendar rule together
Threshold rules and calendar rules are not exclusive. The next chapter combines them: you check on a schedule and trade only when a band is breached. That reduces monitoring work and avoids trading on short spikes. This chapter's rule is the building block for it.
Key points
- A threshold rule rebalances only when an asset class's weight leaves its tolerance band.
- Absolute bands use fixed percentage points. Relative bands scale with the target weight and suit small positions.
- Band width is a trade-off between tracking the target closely and paying trading costs.
- Monitoring frequency is part of the rule. Daily checks catch more breaches, and some are noise.
- Rebalancing controls risk. It does not reliably raise returns.
Exercise
A portfolio has targets of 70% stocks, 25% bonds and 5% gold. Current weights are 74% stocks, 22% bonds and 4% gold. Which asset classes breach (a) a 5-point absolute band and (b) a 20% relative band?
Show answer
Drifts are stocks +4 points, bonds -3 points, gold -1 point. (a) With a 5-point absolute band, none breach, because every drift is 5 points or less. (b) A 20% relative band allows 14 points for stocks (0.20 x 70), 5 points for bonds (0.20 x 25) and 1 point for gold (0.20 x 5). Stocks 4 is under 14, bonds 3 is under 5, and gold 1 equals 1, which is not greater than the limit. So none breach. Gold is at the edge, and a further 0.1 point of drift would trigger it under the relative band but not under the absolute band.
Exercise
Why can a threshold rule checked daily trade more often than the same rule checked monthly, even with identical bands?
Show answer
Daily checks see every temporary breach. A weight can exceed the band for a few days and then move back inside before the month-end check. The monthly rule never sees that breach, so it does not trade. The daily rule trades on it and may pay costs for a move that reverses.
Exercise
Using the code from this chapter, a 60/40 portfolio holds stocks worth 66,000 and bonds worth 34,000. With a 5-point absolute band, does the rule trigger?
Show answer
The total is 100,000. The stock weight is 66%, so drift is +6 points, which exceeds 5. The bond weight is 34%, so drift is -6 points, which also exceeds 5. Both asset classes breach, so breaches_band returns ['stocks', 'bonds'] and the rule triggers.