Tutorials Get the App

Home · Agents · Strategies · Rebalancing

Rebalancing Agent: Keep a Target Mix With a Drift Rule

Updated November 21, 2026 · By Moby

Rebalancing sells what grew and buys what lagged so a pair goes back toward a target mix. On Moby an agent can do that with two swaps, and a drift rule limits how often you pay. You get one agent per user, with its own wallet, separate from the wallet you use by hand. Whether you can buy a tokenized stock depends on where you live and on the issuer's rules.

What rebalancing is

You pick weights, such as 60% in one tokenized ETF and 40% in another. Prices move, and the weights move with them. Rebalancing trades back toward the weights. It is not a view that the mix will help you. It is a rule for when the mix has drifted. Tokenized stocks track a stock price. They are not shares and do not carry shareholder rights. The pair in the example is SPYx and QQQx, both listed xStocks. Match the mints on the broad market page.

Drift rule versus a calendar

A calendar rule trades on a date. A small drift still pays the minimum fee. A drift rule waits until a name is a set number of percentage points away from its target. You pay the same fee on a given trade size, and you pay it less often if the threshold is wide enough to matter. This page does not tell you which threshold to use. The example uses 5 percentage points so the arithmetic is easy to read.

Worked example: 50/50 to 60/40 on SPYx and QQQx

Illustrative numbers, not an expected result. These are the same settings as the broad market page so the two pages do not disagree. You have $300 of SPYx and $300 of QQQx, $600 together, and you want 60/40. Target $360 and $240. Sell $60 of QQQx and buy $60 of SPYx. Each leg is under $120, so each pays the $0.90 minimum. Fees are $1.80, which is 3.00% of the $60 moved and 0.30% of the $600. The sell skips the market-cap and safety checks.

CaseWhat movesFeesShare
$600 pair, 50/50 to 60/40Sell $60 QQQx, buy $60 SPYx$0.90 plus $0.90 is $1.803.00% of the $60, 0.30% of the $600
$2,000 pair, 5 points of driftAbout $100 moves$0.90 plus $0.90 is $1.801.80% of the $100 moved

On the $2,000 pair, 5 percentage points is about $100. Two market swaps of $100 still pay $0.90 each, because $100 is under about $120. The fee is still $1.80. Waiting does not shrink the fee. It means you pay it on fewer dates. The fee is certain in this arithmetic. Any benefit from being closer to 60/40 is not.

What this does not show: that the mix helps you, that the tokens track the funds during closed hours, or a fill. Off hours, the token price can sit away from the last fund print.

Fee drag and the minimum

Under about $120, the $0.90 minimum sets the cost of each market swap. A rebalance is two swaps, so the minimum can apply twice. That is why a $60 move costs $1.80, not 0.75% of $60. If the amount you need to trade is small, the drift rule is how you avoid paying $1.80 for a gap that does not matter to you.

A wider list of names is the tech stocks page. A timer of new buys is the DCA page. Mint checks and the SPYX name mixup are on the broad market page. Tokenized stocks explains the issuer and the custodian. The strategies index lists the other plans.

Example, not a recommendation.
I hold SPYx and QQQx. If either name is 5 percentage points away from a 60/40 mix, show me the sell and the buy, the mints, and the fees, and wait for my yes. Do not add a third ticker.

Orders and limits

Rate limits protect against runaway loops and scale with the fees your agent pays; you set the spend limits.

Your AI asks you first when the prompt says to wait. Moby does not enforce that line.

You can keep multiple resting orders.

Trailing stop is an order type. The trail can be 0.5% to 50%, with an optional activation price. It does not work on SOL positions, and a fill is not promised.

Your orders keep working around the clock even if your app is closed. Your AI agent trades on its own schedule when it runs somewhere always-on, like Grok Bot.

Frequently asked questions

What is portfolio rebalancing?

Trading back toward target weights after prices have moved them. You sell some of what grew and buy some of what lagged. The target mix is a setting you chose, not a result.

Should I use a drift rule or a calendar?

A drift rule pays fees only when a name is far enough from its target. A calendar pays on a date even when the mix barely moved. This page uses the drift rule in the example.

How much does one rebalance cost in fees?

Two market swaps. At $60 each, the $0.90 minimum applies to both, so the fee is $1.80 before onchain fees. That is 3% of the $60 that moved.

Can a Moby Agent rebalance a pair?

Yes, by instruction, on listed Solana tokenized stocks, paid in USDC. Whether you can buy a tokenized stock depends on where you live and on the issuer's rules. There is no separate rebalancing product.

Do rebalancing sells use my buy limits?

No. Sells skip the market-cap and safety checks. The buy that follows is checked against the limits you set. Write the sell size into the prompt.

Is rebalancing the same as a DCA?

No. A DCA adds equal slices on a timer. Rebalancing sells one name and buys another to restore a mix. The DCA page is the timer. This page is the mix.

Try it with a Moby Agent

  1. Download Moby. AI Trading and copy trading need an access pass on Moby today. Download Moby to get started. The setup guide is Moby Agents.
  2. Set your limits. You set your agent's per-trade and daily spending limits and market-cap range; Moby blocks red-rated tokens. Limits apply to buys. Sells and exits skip the market-cap and safety checks, and tokens with no safety rating are not blocked.
  3. Connect a host. Use the agent key from the app. Supported hosts and ChatGPT are linked under this list.
  4. Paste the prompt. Use the example on this page and change the sizes before you spend.

Supported hosts: Codex, Claude Code (CLI), Gemini CLI (with a paid Gemini API key or enterprise access) and Grok CLI. ChatGPT: works on Business, Enterprise and Edu workspaces that allow custom MCP servers (web).

No subscription. Pay only a 0.75% swap fee ($0.90 minimum), plus onchain fees.

Limit, take-profit, stop-loss and DCA fills are 0.75%. Those fills have no $0.90 minimum.

Copy trading is 2% ($1 minimum) on copy buys. Automatic copy take-profit and stop-loss exits are 0.75% on fill.

Moby Agents trade Solana tokens, paid in USDC. Agent trading on Base, BNB Chain and Robinhood Chain is coming soon. The Moby app supports Solana, Robinhood Chain, BNB Chain, and Base.

Whether you can buy a tokenized stock depends on where you live and on the issuer's rules.

Tokenized stocks track a stock price. They are not shares and do not carry shareholder rights.

Trading crypto and tokenized stocks is risky and you can lose money. Nothing on this page is investment advice.

Read agentic trading, AI trading bot, how to set up agentic trading, AI agent guardrails, and AI trading risk management.

Updated November 21, 2026