> ## Documentation Index
> Fetch the complete documentation index at: https://docs-d0.donutbrowser.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Risk Controls

> When D0 asks before it acts, the checks that can't be switched off, and the risk alerts you can set on losses, drawdown, and leverage.

Nothing moves your money without your say-so. Two things control that: the permission level that decides when D0 asks before acting, and the risk alerts you set to flag when a position runs past your comfort line.

## Permission levels

| Level | Covers | Behavior |
| - | - | - |
| View only (L0) | Market data, analysis, backtests, balance checks, reading your preferences | Runs freely, no confirmation |
| Confirm first (L1) | Buying and selling, opening or closing positions, withdrawals, changing risk settings | Shows a preview and waits for your approval |
| Auto-execute (L2) | The same actions, run without asking | Only when you explicitly opt in: "just execute, don't ask me", or a strategy run with limits set in Position management |

### What needs confirming

| Action | Confirm? |
| - | - |
| Buy or sell, open or close a position | Yes, preview then you approve |
| Move funds between your own accounts (wallet → perps account) | No |
| Withdraw to an external address | Yes, and more strictly: re-check the chain, token, address, and amount |
| Check quotes, analysis, backtests | No, it's read-only |

> [!WARNING]
>
> Two things stay on no matter what, even with auto-execute: any trade that fails a safety validation stops and pings you, and withdrawals to an external address always confirm.

If a trade is blocked, D0 tells you why on the spot (insufficient balance, below the minimum size). With a running strategy, every blocked decision is logged to **D0 Activity**. Trade confirmations don't expire; the one exception is a cross-chain bridge quote, which carries a countdown because its price is time-sensitive.

## Risk alerts

Thresholds that tell D0 when to flag you. They notify; they do not auto-close positions or halt trading, so when one fires you still reduce or close the position yourself.

| Alert | How you set it | Resets |
| - | - | - |
| Daily realized loss | Any amount above 0 USDT | Daily at 00:00 UTC |
| Max daily drawdown | A percentage from your peak equity, e.g. 5% | Daily at 00:00 UTC |
| Max leverage | A multiple of notional to equity, e.g. 5x | Clears once you reduce below it |

As a rough reference, 5x is conservative, 15x balanced, 50x aggressive. Set them before you size up, not after a bad day.

The one real brake is the **Daily loss cap** on a running strategy: once hit, that strategy stops opening new positions for the day. See [Run a Strategy: Position Management](https://docs-d0.donutbrowser.ai/strategies/position-management.md).

## Related

* [Automated Trading](https://docs-d0.donutbrowser.ai/features/automated-trading.md)
* [Agentic Trading Disclosures](https://docs-d0.donutbrowser.ai/legal/agentic-trading-disclosures.md)
* [Your Wallet](https://docs-d0.donutbrowser.ai/getting-started/your-wallet.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.