
Description
downtrend-duration-analyzer is an agent skill that analyses historical downtrends and how long they last. It uses historical price data to find downtrend periods, measured peak to trough, and builds statistical distributions of correction durations. The output is interactive HTML histograms, segmented by sector and by market cap, so you can see typical correction lengths for each group. The skill is useful when a trader asks how long a correction usually lasts in a sector or market cap tier, when you want to understand historical drawdown recovery times, when you build mean reversion or pullback strategies that need realistic holding period estimates, or when you set stop-loss timeouts or position holding limits. It needs Python 3.9 or newer, an FMP API key set as the FMP_API_KEY environment variable or passed with --api-key, and the requests, pandas and numpy packages. The results describe past behaviour, so treat the distributions as a guide to expectations rather than a forecast.…
Highlights
- Peak-to-trough downtrend durations
- Interactive HTML histograms
- Segmented by sector and market cap
- For holding period and timeout planning
Ratings & Reviews
No ratings yet
Be the first to rate downtrend-duration-analyzer.
People also visit

stockbee-20pct-study
Build and maintain a Stockbee-style daily 20% mover study for US equities

earnings-trade-analyzer
Analyze recent post-earnings stocks using a 5-factor scoring system

stockbee-setup-fluency-trainer
Build a Stockbee-style setup model book from momentum-burst screener candidates
downtrend-duration-analyzer FAQ
What does it produce?
Statistical distributions of correction durations, shown as interactive HTML histograms by sector and market cap.
What do I need to run it?
Python 3.9 or newer, an FMP API key in FMP_API_KEY or passed with --api-key, and the requests, pandas and numpy packages.
What is it useful for?
Setting realistic holding periods, stop-loss timeouts and expectations for mean reversion or pullback strategies.
Does it forecast future downtrends?
No. It describes historical durations, so the distributions are a guide to expectations.
How do I install it?
Run npx skills add https://github.com/tradermonty/claude-trading-skills --skill downtrend-duration-analyzer.
What do the security audits show?
Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best downtrend-duration-analyzer alternatives?
Popular alternatives to downtrend-duration-analyzer include uptrend-analyzer, market-top-detector and stockbee-20pct-study. See all downtrend-duration-analyzer alternatives




