Sub topic 9
Rebalance Fully to Target or Only Back to the Band Edge
This chapter assumes you can compute portfolio weights and drift, and that you know how a threshold (band) rule decides when to trade. If not, review the earlier chapters on drift and band types first. The Python is optional but runs as written.
A rule that says "trade" leaves one question open: how far do you trade? There are two common answers:
- Full rebalance to target. Every asset class returns to its target weight.
- Partial rebalance to the band edge. Only the classes that breached their band are moved, and only far enough to sit back on the edge of the allowed range.
The choice changes trade size, cost, tax bills, and how soon the next trade is triggered.
The two destinations in one example
Take a 60/40 stock/bond portfolio with an absolute band of ±5 percentage points. Stocks are worth 72,000 and bonds 38,000, so the total is 110,000.
- Stocks are 65.45% of the portfolio, which is 5.45 points above target. That is outside the band.
- Bonds are 34.55%, which is 5.45 points below target. That is also outside the band.
The two destinations give very different trades:
| Destination | Stocks end at | Bonds end at | Sell stocks | Buy bonds |
|---|---|---|---|---|
| Full to target (60/40) | 66,000 | 44,000 | 6,000 | 6,000 |
| Band edge (65/35) | 71,500 | 38,500 | 500 | 500 |
Going to the edge needs one twelfth of the trading. The portfolio is only just back inside tolerance, though.
What the destination changes
Trade size, costs, and taxes
Trading costs scale with the amount traded. Taxes depend on realized gains. Suppose the stocks you sell carry an unrealized gain of 40% of their current value, and gains are taxed at 15%:
- Selling 6,000 realizes 2,400 of gain and costs about 360 in tax.
- Selling 500 realizes 200 of gain and costs about 30 in tax.
If you hold the assets in a taxable account, the smaller sale is much cheaper. In a tax-deferred account only the transaction cost remains, and the difference is smaller.
How soon the next trigger fires
An asset that sits exactly on its band edge has no room left. Using the same portfolio, suppose stocks gain 1% after each rebalance and bonds are flat:
- After the edge rebalance, stocks are 71,500 and bonds 38,500. After the gain, stocks are 72,215 and the total is 110,715. The stock weight is 65.2%, which is outside the band again.
- After the full rebalance, stocks are 66,000 and bonds 44,000. After the gain, stocks are 66,660 and the total is 110,660. The stock weight is 60.2%, far inside the band.
Edge rebalancing therefore trades more often, in smaller pieces. Full rebalancing trades less often, in larger pieces. Total turnover over a long period can end up similar, but the pieces differ in cost. Fixed per-trade fees penalize many small trades. Percentage-based costs and taxes penalize large ones.
Risk after the trade
Full rebalancing puts the portfolio back at its intended risk level. Edge rebalancing leaves it at the riskiest weights you have said you accept. If the band is wide, such as ±5 points on a 60% target, you are choosing to run permanently near 65% stocks after each trade. Check that you are comfortable with that. The band should express tolerance for drift, not a second target.
A middle option: the halfway point
You are not limited to the two extremes. Some policies move a breached asset partway back, such as halfway between the edge and the target. In the example, stocks would end near 62.5%, which is 68,750. That needs a 3,250 sale. The halfway point keeps a buffer against immediate re-triggering, but costs more than the edge. The more of the drift you reverse, the more you pay now and the less often you pay later.
If you adopt a partial rule, state the fraction in the policy, for example "restore two thirds of the drift." Otherwise it will be applied inconsistently.
Computing band-edge trades
A full rebalance is simple: the target value of each class is its target weight times the total, and the trade is the target value minus the current value. The code in the earlier chapter on trade calculation does exactly this.
Band-edge rebalancing is harder with more than two asset classes. When you pull a breached asset back to its edge, the money moves somewhere. That money has to go into other classes, and you must decide which ones. The function below uses a simple convention:
- Move each breached class to its nearest band edge.
- Compute the leftover weight, which is what has to be absorbed elsewhere.
- Give the leftover to the classes that did not breach, in proportion to their targets. If every class breached, give it to the breached classes instead.
def trades_to_band_edge(values, targets, abs_band):
"""Return buy (+) and sell (-) amounts that move breached classes to the band edge."""
total = sum(values.values())
weights = {a: values[a] / total for a in values}
breached = [a for a in targets if abs(weights[a] - targets[a]) > abs_band]
if not breached:
return {a: 0.0 for a in values}
new = dict(weights)
for a in breached:
if weights[a] > targets[a]:
new[a] = targets[a] + abs_band
else:
new[a] = targets[a] - abs_band
residual = 1.0 - sum(new.values())
receivers = [a for a in targets if a not in breached] or breached
receiver_target = sum(targets[a] for a in receivers)
for a in receivers:
new[a] += residual * targets[a] / receiver_target
return {a: round(new[a] * total - values[a], 2) for a in values}
two = trades_to_band_edge(
{"stocks": 72000.0, "bonds": 38000.0},
{"stocks": 0.60, "bonds": 0.40},
abs_band=0.05,
)
print(two)
three = trades_to_band_edge(
{"A": 58000.0, "B": 26000.0, "C": 16000.0},
{"A": 0.50, "B": 0.30, "C": 0.20},
abs_band=0.05,
)
print(three)The output is:
{'stocks': -500.0, 'bonds': 500.0}
{'A': -3000.0, 'B': 1800.0, 'C': 1200.0}In the three-class case only A breached, at 58% against a 50% target. A is sold down to 55%. The 3,000 proceeds go to B and C in the ratio 30:20, which is 1,800 and 1,200. Both receivers were below target, so this also moves them in the right direction.
Edge cases and common errors
- A receiver can breach in turn. Pro-rata distribution by target can push a non-breached class past its own band, particularly when it was already close to the edge. Re-check the weights after computing the trades. If a receiver would breach, route the money to the most underweight class first, or fall back to a full rebalance.
- Mixed absolute and relative bands. Edges for a relative band are
target * (1 ± rel_band). The sum of the edges no longer works out neatly, so the leftover weight can be larger. The same re-check applies. - Exactly on the edge. The function treats a weight exactly on the edge as not breached. Floating-point rounding can move a value that is mathematically on the edge to either side. In a real system, add a small tolerance, such as 0.0001, and document it.
- Rounding to whole shares. Trades must be rounded to share lots or fund minimums. Round so that the portfolio stays inside the band, not just close to it. Rounding a sale down by a share can leave a class just outside.
- Treating the edge as the target. If you rebalance to the edge every time, the portfolio's average risk sits above the intended level. This is the error to watch for when the band is wide.
Interaction with other tools
New cash is the cheapest way to move toward a target, because it needs no sales. If a contribution can cover the whole gap or part of it, apply it first and only then compute what trades remain. This applies to either destination. In a portfolio receiving regular contributions, directing all of them to the most underweight class often keeps the weights inside the bands without any selling.
In a hybrid rule that checks on a schedule, the destination matters most at the review date. With calendar review you may check only twice a year. That gives drift time to grow, so a breach tends to be large. Going to the edge after a large breach still leaves a large trade, and a full rebalance may be justified. With frequent monitoring, breaches are caught early, so edge trades are small and the edge destination costs little.
Choosing a destination
| Situation | Better fit | Reason |
|---|---|---|
| Taxable account with large gains | Band edge | Realizes fewer gains now |
| Tax-deferred account, low fees | Full to target | Fewer future triggers, no tax penalty |
| Fixed fee per trade | Full to target | Fewer trades |
| Percentage cost per trade | Band edge | Less volume traded |
| Wide bands, risk-sensitive investor | Full to target | Avoids sitting at the riskiest permitted weights |
| Frequent monitoring | Either | Breaches are small either way |
Neither choice is correct in every case. The point is to match the destination to what is expensive for you: trades, taxes, or risk.
Exercise
A portfolio has a 70/30 stock/bond target with an absolute band of ±5 points. Stocks are worth 81,000 and bonds 29,000. (a) Is a band breached? (b) How much do you trade if you rebalance fully to target? (c) How much do you trade if you rebalance only to the band edge?
Show answer
The total is 110,000. Stocks are 81,000 / 110,000 = 73.64%, which is 3.64 points above target and inside the ±5 band. Bonds are 26.36%, which is 3.64 points below target and also inside the band. (a) No band is breached, so a threshold rule makes no trade. (b) If you trade anyway, for example at a scheduled review, the target stock value is 0.70 × 110,000 = 77,000, so sell 4,000 of stocks and buy 4,000 of bonds. (c) The band-edge rule does nothing here, because the portfolio is already inside its bands and has no edge to return to.