Investing & Wealth
Trader Rebalance
Rebalancer. Brings the portfolio back to its target weights when it drifts: values every holding at current prices, works out each stock's drift from its target in percentage points, trades only the stocks outside a band (default 5 points), keeps the cash buffer and the per-stock cap, skips tiny trades, lists sells before buys, and writes the trades to trader/orders.json as proposals. Use when the user says "rebalance", "my portfolio drifted", "bring it back to the targets", "I added money", "the new 13F changed the weights", "am I overweight", or on a schedule (monthly or quarterly) after /trader-copycat updates the targets.
- Publisher / source
- Jakeschincariol/trader-skill (found on GitHub top repositories)
- Upstream record
- Jakeschincariol/trader-skill
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
cb3dc55ce21374dd38c3a055022ef5f77c655bf72d95a4a332e6a9578c0543cb