liveBook · Manning

Periodic rebalancing

As explained in Build a Robo-Advisor with Python (From Scratch)

A rebalancing strategy that generates trades when the current date appears in a specified list of rebalancing dates.

Periodic rebalancing trades a portfolio back to its target allocation when the current date matches a predefined schedule. Between scheduled dates, market movements allow portfolio weights to drift. section 13.2.1 section 1.1.1

A fixed schedule

A strategy might rebalance at the end of every week or quarter. Shorter intervals correct drift more frequently but generate more trading; longer intervals reduce trading while allowing greater deviation from target weights and potentially greater unwanted risk. section 13.2.1

An implementation follows a small set of inputs and decisions:

  • Accept the current date, portfolio holdings, and the investment value as inputs to rebalance(). section 13.4.1
  • Select tax-optimized lots when selling, if tax-aware implementation is enabled. section 13.4.1

How Build a Robo-Advisor with Python (From Scratch) covers it

How deep it goes
Implements date-set membership, complete target restoration, and tax-lot selection without evaluating interval performance empirically.
Examples
Uses weekly or quarterly schedules and a Python rebalancer that returns empty or complete trade dictionaries.
What it assumes
Assumes target weights, portfolio holdings, investment value, dates, and basic tax parameters are available.
What you can do after
Operate/configure a scheduled rebalancer using target weights, holdings, investment value, dates, and tax parameters.
How it connects
Connects portfolio drift, target portfolios, threshold-based rebalancing, and tax-aware rebalancing.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Build a Robo-Advisor with Python (From Scratch). The section links point to the parts of the book it draws on.