Skip to content
Back to skills

Drawdown

ASecurity

Drawdown analysis reference — maximum drawdown, peak-to-trough, recovery time, risk metrics. Use when evaluating portfolio risk, stress-testing strategies, or measuring downside exposure.

  • 12 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 7, 2026
businessgobashtestinggitperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill drawdown --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Drawdown?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Drawdown
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-drawdown/badge)](https://www.skillsdirectory.com/skills/bytesagain-drawdown)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "drawdown"
version: "1.0.0"
description: "Drawdown analysis reference — maximum drawdown, peak-to-trough, recovery time, risk metrics. Use when evaluating portfolio risk, stress-testing strategies, or measuring downside exposure."
author: "BytesAgain"
homepage: "https://bytesagain.com"
source: "https://github.com/bytesagain/ai-skills"
tags: [drawdown, risk, portfolio, maximum-drawdown, recovery, finance, volatility]
category: "finance"
---

# Drawdown — Drawdown Analysis & Risk Measurement Reference

Quick-reference skill for understanding, calculating, and applying drawdown metrics in portfolio management and risk analysis.

## When to Use

- Measuring maximum drawdown of a portfolio or strategy
- Comparing risk profiles of different investments
- Setting stop-loss levels based on historical drawdowns
- Stress-testing strategies against worst-case scenarios
- Evaluating fund manager performance through drawdown lens

## Commands

### `intro`

```bash
scripts/script.sh intro
```

Overview of drawdown — definition, significance, and types.

### `calculate`

```bash
scripts/script.sh calculate
```

How to calculate drawdown — formulas, step-by-step, and time series methods.

### `metrics`

```bash
scripts/script.sh metrics
```

Key drawdown metrics — MDD, Calmar ratio, Ulcer Index, pain index.

### `historical`

```bash
scripts/script.sh historical
```

Major historical drawdowns — market crashes, recovery timelines.

### `management`

```bash
scripts/script.sh management
```

Drawdown management — position sizing, stop-losses, risk budgeting.

### `recovery`

```bash
scripts/script.sh recovery
```

Recovery analysis — math of recovery, time to recover, asymmetry of losses.

### `comparison`

```bash
scripts/script.sh comparison
```

Drawdown vs other risk measures — volatility, VaR, CVaR, Sortino.

### `examples`

```bash
scripts/script.sh examples
```

Worked examples with calculations and strategy evaluation.

### `help`

```bash
scripts/script.sh help
```

### `version`

```bash
scripts/script.sh version
```

## Configuration

| Variable | Description |
|----------|-------------|
| `DRAWDOWN_DIR` | Data directory (default: ~/.drawdown/) |

---

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

Files in this skill

  • SKILL.md2.2 KB
  • scripts/script.sh13.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…