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

# Understanding Risk & Portfolio Management

> Essential risk management principles and tools to protect your capital while automated trading

## Risk Management Fundamentals

Successful automated trading starts with proper risk management. This guide covers essential concepts and tools to protect your capital.

## Core Risk Management Principles

### Position Sizing

Never risk more than you can afford to lose on any single trade or strategy.

> [card] Conservative Approach
>
> **Recommended for beginners:**
>
> * 1-2% of portfolio per trade
> * 5-10% maximum allocation per strategy
> * Diversify across multiple assets

> [card] Aggressive Approach
>
> **For experienced traders:**
>
> * 3-5% of portfolio per trade
> * 15-25% maximum per strategy
> * Higher leverage tolerance

### The 1% Rule

> [!NOTE]
>
> **Golden Rule**: Never risk more than 1% of your total portfolio on a single trade.
>
> **Example**: $10,000 portfolio = maximum $100 risk per trade

## Risk Controls in Nimbus

### Portfolio-Level Controls

> [accordion] Total Portfolio Limits
>
> Set maximum exposure across all your trading bots:
>
> * **Maximum daily loss**: Stop all bots if losses exceed threshold
> * **Maximum position size**: Limit total capital allocation
> * **Correlation limits**: Prevent over-concentration in similar assets

> [accordion] Time-Based Controls
>
> Manage trading frequency and duration:
>
> * **Daily trade limits**: Maximum number of trades per day
> * **Cool-down periods**: Minimum time between trades
> * **Session timeouts**: Automatic bot pause after set periods

### Strategy-Level Controls

> [accordion] Per-Bot Limits
>
> Configure individual bot risk parameters:
>
> * **Maximum position size per bot**
> * **Stop-loss levels** (percentage or dollar amount)
> * **Take-profit targets**
> * **Maximum drawdown limits**

> [accordion] Drawdown Protection
>
> Automatically pause bots during adverse conditions:
>
> * **Maximum drawdown**: 10-20% recommended
> * **Consecutive loss limits**: Stop after X losing trades
> * **Volatility filters**: Pause during extreme market conditions

## Risk Assessment Tools

### Portfolio Risk Score

Nimbus calculates a real-time risk score based on:

* Current position sizes
* Asset correlations
* Market volatility
* Strategy performance

Low Risk

Medium Risk

High Risk

### Correlation Matrix

Monitor how your assets move together:

| Asset | ETH | BTC | SOL | ARB |
| - | - | - | - | - |
| **ETH** | 1.0 | 0.8 | 0.9 | 0.7 |
| **BTC** | 0.8 | 1.0 | 0.7 | 0.6 |
| **SOL** | 0.9 | 0.7 | 1.0 | 0.8 |
| **ARB** | 0.7 | 0.6 | 0.8 | 1.0 |

> [!WARNING]
>
> High correlation (>0.8) between assets increases portfolio risk. Diversify
> into uncorrelated assets when possible.

## Setting Up Risk Controls

### Step 1: Portfolio Configuration

Navigate to **Settings → Risk Management** and configure:

```javascript theme={null}
Portfolio Settings:
├── Maximum Daily Loss: $100 (1% of $10k portfolio)
├── Maximum Position Size: $500 (5% allocation)
├── Correlation Limit: 0.8 (maximum between assets)
└── Emergency Stop: Enabled (pause all bots on 5% daily loss)
```

### Step 2: Individual Bot Limits

For each trading bot, set:

* Maximum position size (dollars or percentage) - Stop-loss percentage
  (recommended: 2-5%) - Take-profit target (recommended: 4-10%) - Maximum
  consecutive losses (recommended: 3-5)

### Step 3: Market Condition Filters

Enable automatic trading pauses during:

* **High volatility periods** (>50% daily price swings)
* **Low liquidity conditions** (thin orderbooks)
* **Major news events** (based on calendar integration)
* **Weekend trading** (optional, lower liquidity)

## Advanced Risk Management

### Dynamic Position Sizing

Automatically adjust position sizes based on:

* **Recent performance**: Reduce size after losses
* **Market volatility**: Smaller positions in volatile conditions
* **Strategy confidence**: Larger positions for high-probability setups

### Kelly Criterion Implementation

Optimize position sizing using the Kelly Criterion:

```
Position Size = (Win Rate × Average Win - Loss Rate × Average Loss) / Average Win
```

Example: 60% win rate, $10 average win, $5 average loss

```
Position Size = (0.6 × 10 - 0.4 × 5) / 10 = 0.4 or 40% of available capital
```

> [!WARNING]
>
> Kelly Criterion can suggest aggressive position sizes. Consider using 25-50%
> of the calculated amount for safety.

## Emergency Procedures

### Circuit Breakers

Nimbus includes automatic circuit breakers:

1. **5% daily loss**: Pause all bots for 1 hour
2. **10% daily loss**: Pause all bots until manual review
3. **Market crash detection**: Pause during >20% market drops

### Manual Override

Always maintain the ability to:

* **Emergency stop**: Instantly pause all trading activity
* **Close all positions**: Market orders to exit everything
* **Withdraw funds**: Move assets to cold storage if needed

### Crisis Communication

In emergency situations:

1. Check our [Status Page](https://status.nimbus.trade)
2. Join our [Discord](https://t.me/nimbustradetg) for real-time updates
3. Contact emergency support: [support@nimbus.trade](mailto:urgent@nimbus.trade)

## Risk Management Checklist

Before deploying any strategy:

* ✅ Portfolio limits configured and tested - ✅ Individual bot stop-losses
  set - ✅ Position sizes within risk tolerance - ✅ Emergency procedures
  understood - ✅ Diversification across assets/strategies - ✅ Performance
  monitoring alerts enabled

## Next Steps

> [card] [Deploy Your First Bot](https://docs.nimbus.trade/getting-started/first-bot.md)
>
> Set up your first trading bot with proper risk controls.

> [card] [Portfolio Dashboard](https://docs.nimbus.trade/portfolio/dashboard.md)
>
> Monitor your risk metrics in real-time.


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