Drawdown — Drawdown Analysis & Risk Measurement Reference
name: "drawdown"
by bytesagain3 · published 2026-04-01
$ claw add gh:bytesagain3/bytesagain3-drawdown---
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
Commands
`intro`
scripts/script.sh introOverview of drawdown — definition, significance, and types.
`calculate`
scripts/script.sh calculateHow to calculate drawdown — formulas, step-by-step, and time series methods.
`metrics`
scripts/script.sh metricsKey drawdown metrics — MDD, Calmar ratio, Ulcer Index, pain index.
`historical`
scripts/script.sh historicalMajor historical drawdowns — market crashes, recovery timelines.
`management`
scripts/script.sh managementDrawdown management — position sizing, stop-losses, risk budgeting.
`recovery`
scripts/script.sh recoveryRecovery analysis — math of recovery, time to recover, asymmetry of losses.
`comparison`
scripts/script.sh comparisonDrawdown vs other risk measures — volatility, VaR, CVaR, Sortino.
`examples`
scripts/script.sh examplesWorked examples with calculations and strategy evaluation.
`help`
scripts/script.sh help`version`
scripts/script.sh versionConfiguration
| Variable | Description |
|----------|-------------|
| `DRAWDOWN_DIR` | Data directory (default: ~/.drawdown/) |
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...