Where did the fee go?

Explore a one-rebalance, dollar-holding optimizer. The browser recomputes a linear-cost self-financing ledger: fees reduce investable cash and are also accounted for in after-cost expected gain. This is a synthetic teaching fixture, not a broker quote.

Controls

Scales the synthetic buy/sell rates; the horizon remains per-rebalance.

Step reveals validation, gradient, projection, and certification snapshots. It does not pretend that four labels are four solver iterations.

1 Validate2 Optimize3 Ledger4 Certify
—after-cost objective (USD)
—direct cost (USD)
—budget residual (USD)
Current and returned dollar holdingsGrouped horizontal bars show current and returned asset and cash balances.
CoordinateCurrent x⁰Returned xSigned trade