# Setup failed

Closes the position when buying fades and net selling takes over, optionally requiring an observed sale from a confirming wallet. A price dip, elapsed time or missing data alone cannot trigger this exit. Emergency stop and time exit remain active.

Node ID: `setup-failed` · Category: Exits · Minimum plan: Tier 2 and above

Human page: https://docs.orbi.gg/nodes/setup-failed

## How it works

After a minimum hold, compare consecutive buying windows and require net selling in the latest window.

Optionally require an observed sale by a wallet that confirmed the entry. When the setup is demonstrably fading, the connected Close trade closes what remains.

## Settings

| Setting | Config key | Initial value | Details |
| --- | --- | --- | --- |
| Minimum hold (seconds) | `minimumHoldSeconds` | 10 | Earliest evaluation of this exit. This does not delay emergency stops. Editor range: 0 to 3600. Zero disables this threshold. |
| Each window (seconds) | `windowSeconds` | 3 | Compare buying in consecutive windows, and require net selling in the latest. Editor range: 1 to 10. |
| Buying remaining (ratio) | `maximumBuyRatio` | 0.5 | 0.5 means current buying is at most half the previous window; zero requires no new buys. Editor range: 0 to 1. |
| Net selling (SOL) | `minimumNetSellSol` | 0.02 | Sell SOL minus buy SOL must exceed this amount. Missing data is not selling. Editor range: 0 to 1000000. |
| Confirming wallet sold | `requireWalletSell` | Enabled | Require an observed sale from a wallet that confirmed your entry. Options: Required (true); Not required (false). |
| Maximum data age (seconds) | `maximumDataAgeSeconds` | 2 | Stale or incomplete data cannot trigger this exit. Editor range: 0.1 to 5. |

### Stored defaults

```json
{
  "minimumHoldSeconds": 10,
  "windowSeconds": 3,
  "maximumBuyRatio": 0.5,
  "minimumNetSellSol": 0.02,
  "requireWalletSell": true,
  "maximumDataAgeSeconds": 2
}
```

## Connections

These lists show compatible node types, not approval of every graph. Branch, position context, subscription, no-cycle and complete-exit rules also apply. A node cannot connect to itself.

Accepts from: [Open trade](https://docs.orbi.gg/nodes/open-trade)

Connects to: [Telegram notification](https://docs.orbi.gg/nodes/telegram-notify), [Discord notification](https://docs.orbi.gg/nodes/discord-notify), [Close trade](https://docs.orbi.gg/nodes/close-trade)

## Before you run

- Attach directly after Open trade, with exactly one Close trade action. A price dip, elapsed time or missing data alone cannot trigger this exit.

- Emergency stops and the Time exit remain active independently.

[Full graph rules](https://docs.orbi.gg/guides/graphs) · [Paper assumptions](https://docs.orbi.gg/guides/paper-trading)
