Skip to main content

Rebalances

A rebalance is a set of trades AdviceCloud proposes for the accounts of one household. The console calls a rebalance a trade proposal.

After you create a rebalance, AdviceCloud builds its trades in the background. The rebalance starts with the status requested, and has the status proposed when its trades are ready. To check it, call Get a rebalance. You approve a rebalance and execute its trades in the console. An approved rebalance has the status approved, and an executed one complete.

To find rebalances by status and by an RQL query, call List rebalances. To see why AdviceCloud proposed the trades of a rebalance, call Get the explanation of a rebalance.

📄️Get a rebalance

Returns the rebalance with the given ID. Send `trades=true` for the trades of each account. With `metrics=true`, the rebalance's `riskAllocation.target` is the household target stored for the rebalance when one was stored, which is the risk allocation of the household's model under the `soft_completion` strategy, and otherwise the target of each account weighted by its balance; each account's own target is unchanged. If your firm has no rebalance with that ID, the response is `404`.

📄️Update a rebalance

Replaces the trades and the dollar-cost averaging fields of the rebalance with the given ID with the ones in the request body. Trades of the rebalance that the body does not list are deleted, and dollar-cost averaging fields you leave out are cleared. The status does not change. If your firm has no rebalance with that ID, nothing changes and the response is `404`. A proposal of a position swap is changed from its swap: for one, nothing changes and the response is `409`, naming the swap.