Update the strategy
| Field | Required | Description |
|---|---|---|
requestId | No | UUID v4 idempotency key (defaults to null if omitted) |
allocations | Yes | New allocation. Percentages must sum to 100. |
yieldSourceId (from the yield source catalog) and pct (integer, 0-100).
Response
The strategy update returns the full wallet object with the updated allocations applied:pct values in the positions array reflect the new allocations immediately. The valueUsd values represent the current position values before the rebalance executes.
What happens during a strategy update
Strategy updates are asynchronous. When you update the strategy:- The new allocations are saved immediately and reflected in each position’s
pctin the wallet response. - The system plans a rebalance to move holdings toward the new targets (sells, buys, and bridges as needed).
- The rebalance executes over time. For positions with longer unwind windows (e.g.
resolv-lpat up to 24 hours), the full rebalance can take hours.
valueUsd will gradually converge toward its pct. You can monitor progress by comparing these two fields.
Strategy webhook
Strategy updates emitportfolio_wallet.strategy.status_changed events as the update is applied.
See Webhooks for registration and payload details.