downtrend-duration-analyzer

Community

Quantify downtrends and visualize recoveries.

Authorpasie15
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Analyzes historical price data to identify downtrend periods (peak-to-trough) and measures their duration and depth, enabling more informed risk management and mean-reversion planning.

Core Features & Use Cases

  • Downtrend detection: Identify local peaks and troughs with configurable windows to define correction periods.
  • Duration & depth metrics: Compute trading-day duration and percentage drawdown for each downtrend, with sector and market-cap segmentation.
  • Reports & visuals: Generate JSON reports, Markdown summaries, and interactive visualizations of duration distributions by sector and market-cap tier.
  • Use Case: Compare recovery timelines between different sectors and market-cap tiers to tailor entry timing.

Quick Start

Run the downtrend-duration-analyzer against your universe to produce the initial downtrend duration report for your chosen sector(s).

Dependency Matrix

Required Modules

requestspandasnumpy

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: downtrend-duration-analyzer
Download link: https://github.com/pasie15/claude-trading-skills-marketplace/archive/main.zip#downtrend-duration-analyzer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.