TrenchersAIDocs

Bots

Stopping a Bot

Pause, close or archive, and what each one does to open positions.

There are three ways to stop a bot, and each one treats its open positions differently.

Pause, close positions or archive

ActionNew buysOpen positions
PauseStop at onceNot managed. No take-profit, stop or sell runs until you press Resume.
Close positionsContinueSold now with Sell on Open Positions. This needs the bot running.
ArchiveStopPaper: closed for accounting, and the SOL returns to your paper pool. Live: refused while any are open. Once none are, the wallet's SOL returns to your main wallet.

A paused bot does not protect its positions

While a bot is paused, nothing sells: no take-profit, stop, trailing stop or time limit, and no manual sell. If you hold positions you care about, close them first or keep the bot running.

In an emergency

  1. Sell what it holds

    On the bot's Open Positions, press Sell on each position you want out of, while the bot is still running.

  2. Pause it

    Press Pause on the bot's dashboard, or PAUSE on its Fleet card. Buying stops at once.

  3. Archive it if you are done

    Press Archive. A live bot's SOL goes back to your main wallet.

If new buys are the problem and you cannot wait, pause first. You can resume later to sell.

From an AI app

There is no instant stop through the Agent API. A pause sent from an AI app can wait for your approval and takes a few seconds to land. When a live bot must stop now, pause it in the Trenchers app.

Restart or delete

Archived bots stay under the Fleet Archived filter. Restart brings one back, and Delete removes it for good. A restarted live bot needs SOL in its wallet again before it can trade.