Install any skill in seconds. Free to start, no credit card required.
Get Started Free →aifinlab/a-share-drawdown-analysis
A股回撤分析/最大回撤量化/回撤统计。当用户说"回撤"、"drawdown"、"最大回撤"、"回撤分析"、"回撤统计"、"历史回撤"、"水下曲线"、"亏了多少"、"从高点跌了多少"、"回撤修复"、"回撤天数"时触发。MUST USE when user asks about drawdown metrics, max drawdown calculation, or historical drawdown analysis for stocks/indices/portfolios. 基于 cn-stock-data 获取K线数据,量化分析历史回撤特征(最大回撤、回撤持续期、回撤修复时间、水下曲线)。支持研报风格(formal)和快速分析风格(brief)。
Passed 17 of 20 test cases with the skill, and 12 of 20 without it.
and 4 more in the full report
7 fixed12 passed either way2 still failing2 broke
Tokens, turns and time describe resource use, not a dollar price.
The instructions your model reads when the skill loads.
SCRIPTS="$SKILLS_ROOT/cn-stock-data/scripts"
python "$SCRIPTS/cn_stock_data.py" kline --code [CODE] --freq daily --start [日期]
python "$SCRIPTS/cn_stock_data.py" quote --code [CODE]
python "$SCRIPTS/cn_stock_data.py" finance --code [CODE]
获取足够长的历史数据(建议 2 年以上)。
| 维度 | formal | brief |
|---|---|---|
| 回撤序列 | 完整回撤图表+事件表 | 最大回撤值 |
| 统计分析 | 回撤分布+恢复时间 | 关键统计 |
| 风险评估 | 压力测试情景 | 当前回撤状态 |
默认风格:brief。
test cases passed, vs 12 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.