Skip to main content
Strategy configuration has two parts: a mode that controls whether the vault may enter or exit each source, and target weights that guide rebalancing.

Prerequisites

  • An active MicroVault VAULT_ID
  • Its MicroVault account CUSTOMER_ID
  • A target allocation that totals no more than 10000 basis points; the remainder stays in idle USDC

1. Discover admitted sources

Use sourceId values from this response. Fetch the catalog at runtime because source availability and APYs can change.

2. Set each source mode

Choose the mode based on the movement you want to allow: Prepare one authorization for each changed source:
Authorize the returned payload and wait for confirmation before relying on the new mode.

3. Set target allocations

This example targets 60% in one source and 30% in another. The unlisted 10% becomes the idle-USDC target.
The arrays are positional: each targetBps value applies to the source at the same index. Omit zero-weight sources. No more than eight sources may have non-zero targets.

4. Wait for the rebalance

The confirmed target update changes the desired portfolio. Ground then moves idle assets and existing positions toward those targets, subject to source modes and source settlement times.
Do not treat authorization confirmation as rebalance completion. Track the rebalance activity and source positions until the activity is confirmed and in-flight source amounts have cleared.

Confirm the strategy

Verify that the vault detail reports the intended allocation targets, each source reports the intended mode, and the latest rebalance has completed. If a rebalance cannot enter or exit a source, check its vault-level mode and current global availability before changing the target again.