# CPPI: rebalance exposure as the cushion changes

CPPI means Constant Proportion Portfolio Insurance. RADARA uses a strategy-driven version: it limits total exposure and can reduce positions as the cushion shrinks.

## Before you start

The maker chooses maximum total loss, an exposure multiplier and a reduction threshold, with permitted ranges. Despite the historical word Insurance, this implementation does not guarantee principal or a stop execution price.

## What to do

1. Set the floor from the fixed model-start basis and maximum total loss, as in the floor-budget model. A confirmed model change records settled trading capital after open-stop losses and pending-entry reserves, not the original deposit. That anchor stays fixed after later losses. Cushion = max(current marked package equity − floor, 0); marked equity excludes saved profits and requires fresh portfolio prices for exposure decisions. Computing the starting stop scenario itself does not require indicator output or a live market mark.

2. Target gross exposure = the smaller of cushion × multiplier and usable settled trading allocation. Gross exposure adds Long and Short underlying position values; it does not subtract Short from Long or substitute margin. The multiplier controls exposure; it is not an order to borrow or use that much leverage.

3. Example without costs: principal 100 dollars, maximum loss 5%, floor 95 and multiplier 2 give a target exposure of 10 dollars, if the trading allocation permits it. If a 10-dollar Long position falls 10%, it is worth 9; with 90 cash, marked equity is 99. The new cushion is 4 and target exposure 8, so a 1-dollar reduction is needed.

4. Reduction threshold is a percentage of current gross exposure. A reduction proceeds when excess exposure is greater than that threshold, subject to executable lots and exits. For 9 actual versus 8 target, excess is about 11.11%: a 5% threshold triggers a reduction; a 20% threshold waits. A zero target is not suppressed by this threshold.

5. The system reduces eligible CPPI positions proportionally through recorded exits and may act before a strategy stop. It respects higher-priority stop, customer-close, expiry and liquidation-protection actions. An unknown exchange outcome is reconciled before another exit is sent; a target is not a filled sale.

6. When the target rises, exposure can increase only through valid new strategy signals within available gross-exposure and aggregate stop-risk budgets. RADARA does not buy a benchmark continuously just because CPPI has room. Existing trades keep their accepted model parameters and floor anchor after a settings change.

## What to expect

### Automatic capital currency

Use an authorized supported Spot connection. Currency selection is part of the package behavior and has no separate on/off switch. A fixed single currency has no rotation; BTC-USD defines two possible capital assets, BTC and USD. Trading-universe filters are separate.

The assembly line selects the capital currency from the configured comparison cycle. BTC-USD can select BTC or USD; adding ETH-BTC allows ETH to become the selected asset when its comparison conditions win. The executor consumes that confirmed selection; it does not reproduce the indicator or crossover filters. The rule remains automatic across currency changes and service restarts. An unchanged target does not repeat a conversion. Paused or unauthorized packages do not start conversions; normal account and package-version authorization remains required.

An allocation change cancels pending entries and settles this package's open positions, then converts its current capital including settled gains and losses. “Allocation applied” requires exchange receipts. New entries need valid signals and compatible markets quoted in the selected currency, within the trading share. Other packages' money and saved profits are excluded.

The CPPI starting basis and floor retain their USD denomination. With a BTC wallet, fresh FX expresses the risk capacity and order sizes in BTC; falling BTC/USD reduces the cushion, while gains may increase it. A currency round trip is neither a new contribution nor a reset of earlier losses. The holding share remains exposed to the selected asset; reducing trading positions does not guarantee that holding's value.

Refresh the execution status and read its recorded reason. Missing prices, unsupported pairs, minimum sizes or an unresolved order can delay a transition. An unknown exchange outcome is reconciled before another order is sent. Futures and percentage-based automatic profit savings currently require fixed USD capital.

Unlike the remaining-budget model, which assigns a loss allowance to each entry from its stop, CPPI also actively adjusts existing exposure using marked portfolio value. Paper records simulated reductions; Real requires confirmed execution through the exchange path. Backtests use the maker defaults stored in the tested version snapshot.

For Real Spot positions with the accepted executable-sale policy, a CPPI reduction below the exchange minimum is rounded up to the smallest permitted sell quantity. If the residual cannot be sold at its recorded stop, it is included in the same sale. The requested amount, adjusted amount and reason are recorded. This uses only the position already owned, and a sale changes the position only after confirmed exchange fills. A separately pinned policy that disallows this adjustment is preserved.

## If it does not work

Gaps between checks, price jumps, costs and minimum lots can prevent a reduction at the target or protection of the floor. If prices or portfolio state cannot be verified, new risk waits; ordinary protection of existing positions remains active. Read the recorded action and its execution status.

## Related guides

- [Package capital & risk management](./capital-management.md)
- [Size entries from the remaining budget above a capital floor](./capital-management-floor.md)
- [Apply risk sizing to Long, Short and futures](./capital-management-short.md)
- [Read and manage an open position](./positions.md)
- [Run and interpret a backtest](./backtests.md)
- [Starting a new risk model with existing trades](./capital-management-baseline.md)
- [Automatic capital currency: from selection to execution](./automatic-capital-currency.md)

[All guides](./README.md)
