volatility-mean-reversion
CommunityTrade volatility mean reversion with HV percentiles
Finance & Accounting#time series#quantitative finance#volatility#trading signals#mean reversion#portfolio strategy#percentile ranking
Authorloanntc
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you create a systematic trading signal that exploits volatility mean reversion by distinguishing low-volatility regimes from high-volatility regimes.
Core Features & Use Cases
- Historical volatility (HV) calculation: Computes annualized HV from rolling return standard deviation over a configurable window.
- HV percentile ranking: Converts HV into a 0–100 percentile using a rolling lookback so the signal adapts to changing market conditions.
- Regime-based signal logic: Generates long when HV is in the low-percentile tail, short/exit when HV is in the high-percentile tail, and neutral otherwise (supports crypto with 365 annualization).
Quick Start
Use the volatility-mean-reversion skill on your OHLCV DataFrame with a close-price column to output a signal series where 1 means long, -1 means short, and 0 means neutral.
Dependency Matrix
Required Modules
pandasnumpy
Components
scripts
💻 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: volatility-mean-reversion Download link: https://github.com/loanntc/Paave/archive/main.zip#volatility-mean-reversion Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.