360 Secure SkillHub
360 安全技能中心

Drawdown

这是一款金融领域的回撤分析参考工具,核心功能涵盖回撤概念科普、指标计算、历史案例解析、回撤管理与恢复分析等。适用于评估组合最大回撤、对比投资风险、设置止损、压力测试策略等场景。用户通过指定命令调用脚本,获取对应专业参考内容,辅助投资决策与风险管控。

bytesagain3
bytesagain3
热度 57.97
最近更新 2026-05-11 17:34:47
分类:数据依赖:代码执行 / 读写文件应用场景:财务 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add drawdown
Metadata
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

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 | hello@bytesagain.com