drawdown
Drawdown analysis reference — maximum drawdown, peak-to-trough, recovery time, risk metrics. Use when evaluating portfolio risk, stress-testing strategies, or measuring downside exposure.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bytesagain3/drawdownDrawdown — 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
scripts/script.sh intro
Overview of drawdown — definition, significance, and types.
calculate
scripts/script.sh calculate
How to calculate drawdown — formulas, step-by-step, and time series methods.
metrics
scripts/script.sh metrics
Key drawdown metrics — MDD, Calmar ratio, Ulcer Index, pain index.
historical
scripts/script.sh historical
Major historical drawdowns — market crashes, recovery timelines.
management
scripts/script.sh management
Drawdown management — position sizing, stop-losses, risk budgeting.
recovery
scripts/script.sh recovery
Recovery analysis — math of recovery, time to recover, asymmetry of losses.
comparison
scripts/script.sh comparison
Drawdown vs other risk measures — volatility, VaR, CVaR, Sortino.
examples
scripts/script.sh examples
Worked examples with calculations and strategy evaluation.
help
scripts/script.sh help
version
scripts/script.sh version
Configuration
| Variable | Description |
|---|---|
DRAWDOWN_DIR | Data directory (default: ~/.drawdown/) |
Powered by BytesAgain | bytesagain.com | [email protected]
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bytesagain3-drawdown": {
"enabled": true,
"auto_update": true
}
}
}Tags
Related Skills
vynn-backtester
Run trading strategy backtests with natural language — powered by Vynn
q-kdb-code-review
AI-powered code review for Q/kdb+ — catch bugs in the most terse language in finance
sbom-explainer
把依赖清单或 SBOM 翻译成非技术可读的风险说明,按影响面排序。;use for sbom, dependencies, risk workflows;do not use for 伪造 CVE 状态, 替代专业漏洞扫描.
olo-sec-scanner
SEC EDGAR filing analysis for M&A due diligence — extract financials, detect risks, and track corporate events from 10-K, 10-Q, and 8-K filings
auto-trading-strategy
Professional trading strategy guides for prediction markets and crypto. Risk management, trend analysis, and best practices.