Allocation drift against targets, with the trades that would correct it

One command in the Portfolio pack, available in the CLI, as an MCP tool and as a JavaScript import: portfolio drift-monitor.

What it needs, and why

Every input is checked before anything is calculated. current, target and value are required; the rest refine the answer.

InputRequiredThe question it asksWhy it matters
currentyesWhat is the current allocation, as percentages by sleeve?Drift is measured against the targets sleeve by sleeve.
targetyesWhat is the target allocation?Needed to measure drift.
valueyesWhat is the total portfolio value?Trade sizes are a share of total value.

Requests it answers

An agent with this pack loaded picks the command from phrasing like that, asks for whatever input is missing, and reports the figures with the method that produced them.

Run it

node bin/wealth-skills.js portfolio drift-monitor --current '{"equity":68,"fixedIncome":32}' --target '{"equity":60,"fixedIncome":40}' --value 1000000 --band 5

Limits it inherits from wealth-portfolio

The full pack, its other 10 commands and what it deliberately leaves alone are on the Portfolio page.