> For the complete documentation index, see [llms.txt](https://basket-fund.gitbook.io/basket.fund-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://basket-fund.gitbook.io/basket.fund-docs/creators-and-rebalancing/rebalancing.md).

# Rebalancing

Markets change. A creator’s view can change too.

When that happens, the creator can submit a rebalance. A rebalance may add a new asset, remove an asset, change weights, or move the basket into a more defensive position such as USDC.

To reduce front-running, the new target weights are hidden before and during execution. The basket is temporarily locked, which means new buys and sells are paused until the rebalance finishes.

The execution flow is simple from the outside:

```
Creator submits new target weights
Basket locks
System executes the rebalance
New basket version is published
Basket unlocks
Users can see the update
```

The important part is timing. The target is private before execution, but the result becomes public after execution.

That keeps the creator’s action readable without exposing the basket to unnecessary execution risk.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://basket-fund.gitbook.io/basket.fund-docs/creators-and-rebalancing/rebalancing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
