Individual skill
downtrend-duration-analyzer
Analyze historical downtrend durations and generate interactive HTML histograms showing typical correction lengths by sector and market cap.
skills/downtrend-duration-analyzer/SKILL.md
Source commit 62725813263394cdd1068d9c8ae29b96d6fa3910
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 3,787
- Repository last updated
- Nov 12, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 5,530 bytesSKILL.mdcore · 5,530 bytesSKILL.mdcore · 5,530 bytesreferences/downtrend_methodology.mddoc · 6,143 bytesrequirements.txtdoc · 243 bytesscripts/analyze_downtrends.pyruns · 17,487 bytesscripts/generate_histogram_html.pyruns · 13,237 bytesscripts/tests/conftest.pyruns · 240 bytesscripts/tests/test_analyze_downtrends.pyruns · 8,185 bytesscripts/tests/test_analyze_symbol_and_main.pyruns · 11,112 bytesscripts/tests/test_fetch_stock_list.pyruns · 1,873 bytesscripts/tests/test_generate_histogram_html.pyruns · 6,292 bytesscripts/tests/test_histogram_encoding.pyruns · 5,703 bytesscripts/tests/test_histogram_main.pyruns · 3,557 bytes
Read excerpt
# Downtrend Duration Analyzer
## Overview
Analyze historical price data to identify downtrend periods (peak-to-trough) and build statistical distributions of correction durations. Generate interactive HTML visualizations with histograms segmented by sector and market cap to help traders understand typical recovery timeframes and set realistic expectations for mean reversion strategies.
## When to Use
- Trader asks about typical correction lengths for a sector or market cap tier
- User wants to understand historical drawdown recovery times
- Building mean reversion or pullback strategies that need realistic holding period estimates
- Comparing correction behavior across different market segments
- Setting stop-loss timeouts or position holding period limits