02Chapter 2: Why weights drift and how to measure itThis chapter assumes you know the basic vocabulary (stocks, bonds, funds, asset classes), can compute a portfolio weight as a share of total value, and can do percentage arithmetic. The Python examples use only the standard library. You can skip them and still follow the ideas.6 min read
03Chapter 3: What rebalancing is for: controlling risk, not chasing returnsThis chapter explains the purpose of rebalancing. It assumes you know what stocks, bonds, and asset classes are, that you can compute a portfolio weight as a share of total value, and that you have seen the idea of a target allocation and portfolio drift from the earlier chapters. The Python example8 min read
04Chapter 4: Calendar rebalancing: rebalance on a scheduleCalendar rebalancing returns a portfolio to its target weights at fixed dates, such as every January or every quarter. This chapter covers how to pick the interval and the review date, how to code the schedule, and where the rule goes wrong.6 min read
05Chapter 5: Threshold rebalancing: rebalance when drift is largeCalendar 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.7 min read
06Chapter 6: Absolute and relative bandsThis chapter assumes you can compute portfolio weights and drift (current weight minus target weight), and that you know why threshold rebalancing triggers a trade only when drift is large. Here we look at how to define "large". There are two common ways, absolute bands and relative bands, and they 6 min read
07Chapter 7: Hybrid rules: check on a schedule, trade only if a band is breachedThis chapter assumes you know what a target allocation is and how to compute portfolio weights and drift. It also assumes you have met calendar rebalancing (trade on a fixed schedule) and threshold rebalancing (trade when drift passes a band). The Python examples use only the standard library.6 min read
08Chapter 8: Turning weights into buy and sell amountsThis chapter assumes you can compute portfolio weights and drift from the earlier chapters, and that you can read short Python functions. A rule such as "rebalance when stocks drift 5 points" tells you when to act. It does not tell you what to trade. This chapter covers that second step: converting 6 min read
09Chapter 9: Rebalance fully to target or only back to the band edgeThis 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.6 min read
10Chapter 10: Using contributions and withdrawals to rebalanceThis chapter assumes you can compute portfolio weights and drift against a target allocation. It also assumes you know how calendar and threshold rules decide when to rebalance. The Python examples need only the standard library.7 min read
11Chapter 11: Transaction costs and taxesThis chapter covers what a rebalancing trade costs and how those costs change your rebalancing rule. It assumes you can compute weights, drift, and trade amounts as in the earlier chapters, and that you know the calendar, threshold, and hybrid rules. The Python is optional but runs as shown.6 min read
12Chapter 12: Choosing between the rules: trade-offsThis chapter assumes you already know how to compute portfolio weights and drift, and that you have seen calendar, threshold, and hybrid rebalancing rules. It does not teach those rules again. It compares them and shows how to pick one for a real portfolio.7 min read
13Chapter 13: Putting it together in a written policyThis chapter assumes you have read the earlier chapters. You should be able to compute weights and drift, know how calendar and threshold rules work, and be able to calculate rebalancing trades. A little Python helps for the code examples. The goal here is to combine those pieces into one short docu6 min read