ShijimaDocs
Open app
Your agent

Limits

Two limits your contract enforces on the chain, and four your agent keeps to on top.

Reviewed 2026-09-26

The two the chain holds

LimitStarts atWhat it means
Per trade$10The most one trade may move.
Per day$50The most all trades may move in one day.

Both are written into your agent's contract when you create it. A trade over either one is refused by the network, whoever sends it. Your agent's key cannot change them; only your wallet can.

The setup screen has per-trade and per-day limits and extra agent settings under More options.The setup screen has per-trade and per-day limits and extra agent settings under More options.
  1. Set the maximum per trade.
  2. Set the maximum per day.
  3. Open More options for the agent rules.
You set the hard limits when you create the agent.

A sale counts at the larger of what it really received and what the price feed says the tokens were worth. So a sale into a weak pool can never slip under the limit.

The day is a fixed 24-hour window. It starts with the first trade after the last window ended, and resets 24 hours later.

In dollars

Your per-day limit is $50. By Sunday afternoon your agent has bought $42 today. It wants to buy $10 more. Only $8 is left today, so the gate refuses that trade and the record says the daily limit stopped it. If it were sent anyway, the contract would refuse it too.

Changing them

In your agent's Settings, under Trading, open Limits on the chain. This is a transaction. Lowering a limit can be signed by your browser's session key if you set one up. Raising a limit always needs your wallet.

The four your agent keeps to

SettingStarts atWhat it means
Rebalance when a holding drifts by3%How far a holding may move from its target before your agent considers a trade.
Most in any one stock50%Buys stop at this share of your money. A one-fund strategy raises it to fit.
Stop everything after a loss of15%The loss stop, below.
Ask me first above$100In On its own, larger actions come to you as a request.

These are settings, not transactions. Change them under Edit what you told it, or in the chat.

A public agent page shows its spending today, room before the loss stop and the limits it currently uses.A public agent page shows its spending today, room before the loss stop and the limits it currently uses.
  1. Compare recent spending with the daily cap.
  2. Check room before the loss stop.
  3. Read All limits for the full mandate.
A live agent shows how much room remains inside its own limits.

The loss stop

Your agent measures your value against its starting value, moved by any money you add or withdraw, so a deposit or a withdrawal is never counted as a gain or a loss. It only judges a loss when it can price everything you hold.

  • The first time the loss passes your limit, your agent stops trading and alerts you.
  • If it is still past the limit on the next check, your agent also pauses your contract on the chain.

To go on, restart your agent from its page. Restarting after a loss stop counts from what it is worth now: you have seen the loss and chosen to go on from here.

The limits nobody sets

Some checks are fixed for every agent:

  • Your contract refuses your agent's trade if it would get a price more than 8% worse than the Chainlink feed. Only you can trade then.
  • It refuses a trade if the price feed is older than 6 days, or the token itself reports its price as paused.
  • The smallest trade is $0.20. Anything smaller is not worth the network fee.
  • A trade must be worth several times what it costs: a holding has to drift by more than five times the one-way trading cost before it counts.
Source notes

This page was checked against the code on 2026-09-26. These are the files it follows.

On this page