# Close trade

Closes everything remaining. Auto rent returns empty token-account rent to your live wallet after confirmed settlement. It never burns tokens or closes accounts another position uses. Refunds are not profit; network fees still count.

Node ID: `close-trade` · Category: Trade · Minimum plan: Free and above

Human page: https://docs.orbi.gg/nodes/close-trade

## How it works

Sell everything remaining and connect to End to finish the position path.

Auto rent, when live execution supports it, returns rent from an empty token account after confirmed settlement. It never burns dust or closes an account used by another position.

## Settings

| Setting | Config key | Initial value | Details |
| --- | --- | --- | --- |
| Auto rent · live only | `autoRent` | Enabled | After a confirmed full sale, return empty token-account rent to your own wallet. Never burns dust; retries settlement safely. Refunds are excluded from P&L. Options: Enabled (true); Disabled (false). |

### Stored defaults

```json
{
  "sellPercent": 100,
  "autoRent": true
}
```

## 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: [Setup failed](https://docs.orbi.gg/nodes/setup-failed), [Profit target](https://docs.orbi.gg/nodes/profit-target), [Stop loss](https://docs.orbi.gg/nodes/stop-loss), [Trailing stop](https://docs.orbi.gg/nodes/trailing-stop), [Time exit](https://docs.orbi.gg/nodes/time-exit), [Sell position](https://docs.orbi.gg/nodes/sell-position)

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

## Before you run

- A rent refund is not profit; network fees still count. An unresolved receipt must be reconciled rather than blindly repeated.

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