/making-a-living-as-a-day-trader:trader-rebalance [band in points]from making-a-living-as-a-day-trader
Rebalances a stock portfolio back to target weights. Drift-check each holding and propose trades for positions outside a configurable band, writes sell-first orders to trader/orders.json.
Ships in making-a-living-as-a-day-trader. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The Rebalancer keeps the portfolio looking like the plan. Prices move, new money arrives and a new 13F changes the weights; this skill finds the stocks that drifted too far and proposes the trades that bring them back. It writes proposals only: trader-risk checks them and trader-broker asks the user yes or no for each one.
${CLAUDE_SKILL_DIR} below is this skill's folder (where this SKILL.md lives).
python3 "${CLAUDE_SKILL_DIR}/rebalance.py" # the drift table, no files written
python3 "${CLAUDE_SKILL_DIR}/rebalance.py" --band 5 --write # proposals -> trader/orders.json
python3 "${CLAUDE_SKILL_DIR}/rebalance.py" --sell-untracked # also sell holdings not in the targets
python3 "${CLAUDE_SKILL_DIR}/rebalance.py" --json
| file | what |
|---|---|
trader/portfolio.json | cash and positions (shares); same shape as trader-tax's portfolio.example.json |
trader/prices.json | a price for every holding and every target (trader-alerts writes it) |
trader/targets.json | the target weights (trader-copycat writes it) |
trader/config.json | cash buffer, cap, min and max order, rebalance_band_pct |
trader/orders.json | the proposals it writes with --write, sells first |
max_position_pct of the account. The
excess is shared out, the same way trader-budget does it, so a capped stock
is not bought back over the cap every month.min_order_usd are skipped. A trade over max_order_usd is
cut to the max with a note to run again after it fills.--sell-untracked.alerts.py quote --holdings --write.rebalance.py and show the drift table in plain words: which stocks
are over or under, by how many points, and what it would trade.lots.py sell TICKER SHARES) and show
what the sale would realize. Selling a winner can mean a tax bill.rebalance.py --write, then /trader-risk,
then /trader-broker, one yes per order.The copy portfolio bought on 2026-10-13 (AAPL $1,250 capped, AXP $1,119,
GOOGL $823, KO $708, BAC $600, $500 cash), valued at that day's closes, sits
on its targets: every drift is under 0.1 point, so rebalance.py says
"Nothing is outside the band" and exits 1. If the user adds $2,000 of cash,
the account is $7,000 and the cap becomes $1,750. AAPL is now 7.1 points under
its target and AXP 6.4, both outside the 5-point band, so it proposes buying
$499 of AAPL and $446 of AXP. GOOGL, KO and BAC are under target too, but
inside the band, so they wait. Add $5,000 instead and all five are outside
the band: five buys that leave the $1,000 buffer in cash.
It never places an order, never trades inside the band to chase small differences, never sells holdings outside the targets unless asked, and never says a rebalance will improve returns.
"paper": true). Going live is the user's own decision, in their own config.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub godnexusia-sketch/making-a-living-as-a-day-trader --plugin making-a-living-as-a-day-trader26 skills in this plugin
/backtest-expertExpert guidance for systematic backtesting of trading strategies. Use when developing, testing, stress-testing, or validating quantitative trading strategies. Covers "beating ideas to death" methodology, parameter robustness testing, slippage modeling, bias prevention, and interpreting backtest results. Applicable when user asks about backtesting, strategy validation, robustness testing, avoiding overfitting, or systematic trading development./backtesting-frameworksBuild robust backtesting systems for trading strategies with proper handling of look-ahead bias, survivorship bias, and transaction costs. Use when developing trading algorithms, validating strategies, or building backtesting infrastructure./2 plugins ship this exact skill · first indexed Oct 21, 2026
Other plugins' skills for the same job