# Exits (/task-settings/exits)

Sell positions automatically with take-profit levels, stop losses, timers and a sell on migration.

**Exits** sell your task's positions automatically: turn on the switch in the Exits card's header, then add
rules. Without exits, a task only buys; you sell from [Positions](/positions/selling) or the alert cards.

## How exits work
- **Each sell % is a share of what's left.** Holding 100 tokens, a 25% sell sells 25 and a second 18.75, leaving
  56.25. Only 100% sells everything.
- **Levels count from your entry**, not the previous level: +100% means double. The entry is the pool's price right
  after your buy (averaged over several buys), so you start at exactly 0% whatever your price impact, fees,
  slippage and tips.
- **Rules that fire together merge** into one sell: two 50% levels crossed by one spike sell 75%.
- **Rules are fixed when a position opens.** Only sell slippage, priority fee and tip changes reach open
  positions, at their next sell.

## Take profit
_Copy trading and dev whitelist · Default: None · Range: Up to 20 levels_

Sells as the price rises. Each level has:

| Field | Meaning | Range |
| --- | --- | --- |
| **Gain** | % above your entry, higher than the last level. | More than 0, up to 100,000% |
| **Sell** | % of what's left to sell. | More than 0, up to 100% |
| **Timeout** | Optional (Advanced): how long to wait for this level. | 1 second to 24 hours |
| **Then sell** | Optional (Advanced): % to sell if the timeout passes first; 0 sells nothing. | 0 to 100% |

- **One level is active at a time**, starting with the first. The next takes over when the price reaches the
  current one or its timeout passes. After the last level, take profit stops; it doesn't repeat.
- **Timeouts:** if the price misses the level in time, Crossbow sells the **Then sell** share and moves on. With no
  timeout, it waits indefinitely. Write times as `30s`, `2m` or `1h`.

## Stop loss
_Copy trading and dev whitelist · Default: None · Range: Up to 20 levels_

Sells as the price falls below your entry. Each level has a **Drop** (more than 0, up to 99%, deeper than the
last) and a **Sell** share. No timeouts: use timed sells. A sell that misses its slippage is retried **at any
price**.

## Timed sells
_Copy trading and dev whitelist · Advanced view · Default: None · Range: Up to 20 stages, 1 second to 7 days_

Sells a share at set times after the position opened (when your first buy landed), whatever the price. Each stage
has an **After** time, later than the last, and a **Sell** share: say, 50% after 30 seconds, the rest after 2
minutes.

## On migration
_Copy trading and dev whitelist · Advanced view · Default: Off · Range: Sell more than 0, up to 100%_

Sells once when a token bought on its bonding curve moves to its pool (PumpFun to PumpSwap, LaunchLab to CPMM),
for positions bought before then. Copy tasks need the PumpFun or Raydium LaunchLab venue. A sell that misses its
slippage is retried at any price.

## Copy sells and dev sells
Sell when the wallet you copied, or the token's developer, sells: see
[Copy and dev sells](/task-settings/copy-and-dev-sells).

## When a sell fails
- It's retried at once or after a short wait, depending on the cause.
- On slippage, **stop loss, migration, copy and dev sells** retry at any price; **take profit, its timeouts and
  timed sells** keep their slippage.
- After 10 failures (3 if the token can't be sold at all, such as a frozen account) or 2 minutes, it stops and
  your alerts get a **Sell stalled** card. It retries on the position's next trigger, or once you change the
  task's sell settings.

## Good to know
>
**Disabled tasks keep exiting.** Renaming, moving or deleting a task stops its exits
([Positions](/how-it-works/positions#disabled-renamed-moved-or-deleted-tasks)). Exits sell the wallet's whole
balance, hand-bought tokens included: keep execution wallets for Crossbow only.

- **Turning exits on** needs at least one rule. The task then briefly shows
  **Setting up** and won't buy until ready.
- **Turning exits off** leaves open positions on their exits; new buys get none.
- **Unreadable saved exits** show **Exits invalid**: no buys or sells until you fix
  or remove them.
- **Normal view** shows take profit (without timeouts) and stop loss; Advanced adds the rest, and **Text** edits a
  list as one line ([Exits text syntax](/task-settings/exits-text-syntax)).
- **On the Tasks page**, the Exits column summarises them ("3 TP, 2 SL, migration"); hover for every rule.

## Related
- [Sell Fees & Slippage](/task-settings/sell-fees)
- [Why Didn't It Sell?](/help/why-didnt-it-sell)
- [One-Click Sells](/positions/selling)