Stocks course · Section 6: Pro
Building a Rules-Based Stock Portfolio and Rebalancing It
Design a portfolio where every decision follows written rules, from allocation and slots to exits, and rebalance it by calendar, by bands or with new cash.
Pro5 min read·6:32 video·Lesson 24 of 26·quiz: 4 questions
▶ Video lesson · 6:32Watch on YouTube ↗
On this page +
A rules-based portfolio is one where every decision follows written rules: what to own, how much, when to buy, when to sell and when to rebalance. Rebalancing means trading back to your target weights after markets have moved them, either on a calendar (for example every quarter) or when a weight drifts outside a band. Done well, it keeps your risk at the level you chose and removes most of the emotional decisions covered in trading psychology.
The seven decisions to write down
- Allocation: how much in the core, the satellite strategy and cash.
- Universe: which stocks the satellite may buy.
- Selection rule: the exact signal that makes a stock eligible.
- Slots and weighting: how many positions, and how much each gets.
- Exits: stops, trailing stops, exit signals and time limits.
- Rebalancing: when and how weights are brought back to target.
- Review and kill-switch: when you stop and re-examine the whole system.
A worked blueprint
Example
A $30,000 portfolio.
- Core, 60% ($18,000): a low-cost S&P 500 index fund (see ETFs and index funds).
- Satellite, 35% ($10,500): a trend strategy with 7 slots of $1,500 each.
- Cash, 5% ($1,500): for costs, opportunities and peace of mind.
Universe: the 100 largest companies listed on the NYSE or Nasdaq. Entry: a golden cross confirmed on a daily close, bought at the next open (see moving averages). If more signals than free slots: take the stocks with the strongest 6-month return. Exit: a death cross or a close below a trailing stop of 3 x ATR under the highest close, whichever comes first. Empty slot: stays in cash until the next signal. Earnings: holdings are kept through earnings, so slot size is small enough that a 20% gap in one stock costs about 1% of the portfolio ($1,500 x 20% = $300).
Every one of these choices is testable and every one could be different. What matters is that they are written down and that you have tested them, as in backtesting stock strategies.
Why weights drift
Different parts of the portfolio earn different returns, so their weights drift.
Example
After a strong year, the core is up 25% to $22,500 and the satellite is up 5% to $11,025, with cash unchanged at $1,500. The total is $35,025, and the weights are now 64.2% core, 31.5% satellite, 4.3% cash. To return to 60/35/5 you would sell about $1,485 of the core and add about $1,234 to the satellite and $251 to cash.
If you never rebalance, the best-performing part keeps growing until it dominates, and your risk becomes whatever the market made it, not what you chose.
Three ways to rebalance
| Method | How it works | Pros | Cons |
|---|---|---|---|
| Calendar | Trade back to target every quarter or year | Simple, easy to follow | Trades even when drift is tiny |
| Bands (thresholds) | Trade only when a part is more than, say, 5 percentage points from target | Fewer trades, lower costs | Needs regular checking |
| Cash flow | Send new deposits and dividends to the underweight part | Few or no sales, so lower costs and often no taxable gains | Slow if deposits are small |
A common hybrid: check every quarter, and trade only if something is outside its band. With a 5-point band, the 60% core above is left alone between 55% and 65%. At 64.2% it is still inside the band, so a band investor would simply direct new money to the satellite.
Pro note
Rebalancing after a crash means buying the part that fell, which feels terrible and is exactly what written rules are for. In a deep bear market this often means adding to stocks when headlines are worst. If you know you could not do that, choose a calmer allocation now.
Rules inside the satellite
- Slot sizes: decide whether winners are trimmed back to the slot size (an equal-weight approach) or allowed to run (a trend approach). Trend strategies usually let winners run but cap any position, for example at twice its starting size.
- Full slots: decide in advance whether a new signal is skipped, or replaces the weakest holding, and how "weakest" is measured.
- Empty slots: cash, or a temporary index fund holding? Holding cash lowers returns in rising markets; holding an index fund keeps you invested but blurs the strategy's results. Pick one and record it.
- Risk per slot: check that a stop-out in every slot at once would not exceed your maximum drawdown limit.
Monitoring and the kill-switch
Track the portfolio every month against three things: your targets, an S&P 500 index fund, and the backtest's expectations.
- If a drawdown goes well beyond the worst in your backtest (for example 1.5 times the worst), stop opening new positions and review: is the market different, or are you executing differently?
- If live trades look different from test trades (different holding times, much bigger slippage), find out why before adding money.
- Do not change rules in the middle of a drawdown because of the drawdown. Change them, if at all, after a review, and record the change.
A real example to study
The DanioX stocks page runs its live signals as a follow-it portfolio with a fixed number of slots and reports it next to the S&P 500, and the stocks backtest shows how such slot portfolios behaved for each tested rule. Studying how those pages handle slots, exits and benchmarks is a useful way to sharpen your own rules. Check the pages for current results rather than any number you have seen elsewhere.
Tip
Put your seven decisions on one page and date it. Keep it next to your journal. Every time you are tempted to act outside it, write down why. After a few months, those notes will show you whether the rules or the temptations deserve more trust.
Next: the numbers behind surviving bad years, in drawdowns and risk of ruin.
Key takeaways
- A rules-based portfolio writes down allocation, universe, selection, slots, exits, rebalancing and a kill-switch.
- Markets push weights away from your targets; rebalancing restores the risk you chose.
- Calendar rebalancing is simple; threshold bands trade only when drift is large; new cash can rebalance without selling.
- Slot rules must say what happens when signals exceed slots and when a slot is empty.
- Compare live results with the backtest and stop to review if drawdowns go well beyond it.
Quiz: check what you learned
0/4 answeredAnswer every question to finish the lesson. Wrong answers are fine: read the explanation and try again.
⚠ Not financial advice — educational signals only. Read the disclaimer.