Caps the maximum loss on any single position. Notifies or auto-closes when breached.
This rule monitors each open position in real-time and tracks its unrealized P&L. When any single trade's floating loss exceeds your configured maximum (as a percentage of balance or fixed dollar amount), PipsGuard can notify you or automatically close the position.
This prevents any single trade from doing catastrophic damage to your account. It is the enforcement layer for the widely-known "2% rule" — where no single trade should risk more than 2% of your account balance.
| Parameter | Default | Description |
|---|---|---|
| max_risk_percent | 2.0% | Maximum loss per trade as % of balance |
| max_risk_amount | 0 | Maximum loss in dollars (0 = use percentage) |
| risk_calc_mode | percentage | percentage or fixed_amount |
| auto_close_exceeded | false | Automatically close position on breach |