portfolio_rebalance-plan
Generates trade list to rebalance portfolio from current holdings to target weights with transaction cost estimate.
Instructions
Generate trade list to rebalance from current holdings to target weights with transaction cost estimate.
Use when generating the exact trades needed to rebalance a portfolio from current holdings to target weights. Provide current_holdings (asset -> USD value), target_weights (asset -> weight, sum to 1), transaction_cost_bps. Returns: list of trades (buy/sell with amounts), total cost, drift before/after, and post-rebalance weights. PAID ONLY — no free tier.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min_trade_usd | No | Minimum trade size in USD (smaller drifts are ignored) | |
| target_weights | Yes | Asset symbol -> target weight (must sum to ~1.0) | |
| current_holdings | Yes | Asset symbol -> current dollar value | |
| transaction_cost_bps | No | One-way transaction cost in bps (incl. spread + commission) |