volatility
This strategy captures volatility mean reversion by computing annualized historical volatility and ranking it percentile-wise over a lookback period. Long signals trigger when volatility sits in the low percentile range, positioning for expansion; short or exit signals fire when volatility ranks high, betting on contraction. Works with any OHLCV data across equities and crypto.
Volatility trades mean reversion by ranking historical volatility percentiles to signal long entries in low-volatility regimes and exits in high-volatility regimes.
AI-generated summary based on this skill's SKILL.md
Decision gist · record as of 2026-07-27
Volatility trades mean reversion by ranking historical volatility percentiles to signal long entries in low-volatility regimes and exits in high-volatility regimes. This strategy captures volatility mean reversion by computing annualized historical volatility and ranking it percentile-wise over a lookback period. Long signals trigger when volatility sits in the low percentile range, positioning for expansion; short or exit signals fire when volatility ranks high, betting on contraction. Works with any OHLCV data across equities and crypto.
Use it when
- volatility ranks current historical volatility against its percentile distribution over the lookback window.
- Yes.
Verify before relying
Read SKILL.md below before installing (2 files). Open directory: indexed for reading, not audited.
Install
HKUDS/Vibe-Trading/volatility · repository language: Python
Open directory. Skills are indexed for reading, not audited. Review a skill's body before installing it.
Frequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What is volatility mean reversion strategy and how does it work?
volatility uses a mean reversion approach by computing annualized historical volatility and ranking it percentile-wise over a lookback period. When volatility sits in the low percentile range, long signals trigger to position for expansion; when volatility ranks high, short or exit signals fire to bet on contraction. This captures the tendency for extreme volatility to revert toward average levels.
How does volatility identify low and high volatility regimes?
volatility ranks current historical volatility against its percentile distribution over the lookback window. Low percentile readings indicate a low volatility regime suitable for long entry, while high percentile readings signal a high volatility regime for short positioning or exits. This percentile-based ranking automatically adapts to market conditions without fixed thresholds.
Can volatility generate trading signals from volatility expansion and contraction?
Yes. volatility generates signals by monitoring volatility expansion and contraction patterns. Long signals emerge when volatility expands from low percentile levels, capturing upside moves as markets become more active. Short or exit signals trigger when volatility contracts from high percentile levels, betting on mean reversion back to calmer conditions.
What data does volatility require and which markets does it support?
volatility works with any OHLCV (open, high, low, close, volume) data. It supports both equities and crypto markets, making it flexible across asset classes. The strategy computes annualized historical volatility from price bars, so any market with reliable OHLCV feeds can be backtested or traded live.
How can I backtest volatility-based strategy on historical OHLCV data?
volatility backtests by applying its percentile-ranked historical volatility logic to OHLCV bars over your chosen period. The strategy computes annualized volatility for each bar, ranks it against the lookback window, and generates entry/exit signals based on percentile thresholds. Results show how mean reversion signals would have performed on past data.
Does volatility capture volatility regime shifts across different markets?
volatility is designed to detect and adapt to volatility regime shifts across crypto and equity markets. By continuously ranking historical volatility percentile-wise, it responds to transitions between calm and turbulent market conditions. This regime-aware approach helps traders adjust positioning when volatility dynamics fundamentally change.
SKILL.md
Rendered from the published skill. Quoted content, verbatim.
Volatility Strategy
Purpose
Uses percentile ranking of historical volatility (HV) to capture volatility mean reversion: build positions in low-volatility regimes while waiting for volatility expansion, and exit or short in high-volatility regimes to capture contraction.
Signal Logic
- Compute HV: annualized standard deviation of returns over the past
hv_windowdays - Percentile ranking: percentile position of HV within the past
lookbackdays (0-100) - Signal generation:
- Percentile <
low_pct→ go long (volatility is low, waiting for expansion) - Percentile >
high_pct→ exit / go short (volatility is high, waiting for contraction) - Middle region → keep the current position
Key Implementation Details
- HV =
returns.rolling(hv_window).std() * sqrt(252)(annualized) - Percentile =
hv.rolling(lookback).rank(pct=True) * 100 - For cryptocurrencies, use 365 instead of 252 as the annualization factor
Parameters
| Parameter | Default | Description
(truncated - see the full file via the links below)
File tree — 2 files
agent/src/skills/volatility/SKILL.md
agent/src/skills/volatility/example_signal_engine.py
Let your AI agent find skills like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 56,283 agent skills by what they can do, searchable in plain language.
wish › “Trade volatility mean reversion using percentile-ranked historical volatility”
Give your agent the search over MCP, or paste the wish link into any chat. No install? Search from any chat →
Related skills
Quantify how risky an investment has been using historical price data. This skill computes annualized volatility, maximum drawdown, recovery time, historical VaR, downside deviation, and tracking error—supporting multiple volatility estimators including Parkinson and Yang-Zhang methods. Use it to analyze peak-to-trough losses and asymmetric downside risk.
Regime Detection classifies market conditions across volatility and trend axes to help you choose the right strategy for current conditions. It combines simple approaches like ATR percentiles and ADX with statistical methods including Hurst exponent and change-point detection, with tuning for crypto's faster regime shifts.
Volatility Modeling equips traders with methods to measure price fluctuations and predict future market swings using GARCH, EWMA, and realized volatility techniques. The skill covers regime classification, position sizing, and stop placement strategies tailored to crypto's 50–150% annualized volatility levels.
This skill models options strategies through theoretical pricing and Greeks analysis, helping traders evaluate covered calls, spreads, iron condors, and other positions without real-time market subscriptions. It calculates strategy profit/loss, position sizing, and risk exposure using Black-Scholes formulas and historical volatility data from FMP API. Built for learning and simulation, not live trading.
Correlation Analysis helps traders and portfolio managers understand how crypto assets move in tandem across different market conditions. It covers Pearson, Spearman, and Kendall correlation methods, rolling correlation windows for regime detection, hierarchical clustering to group similar assets, and tail dependence analysis to reveal crash co-movement that standard metrics miss. Use it to build diversified portfolios, generate pairs trading signals, and protect against concentration risk.
Correlation-Analysis discovers asset pairs with strong co-movement for pairs trading and hedging through multiple analytical modes: co-movement scanning, deep return correlation studies, sector clustering, and cointegration testing. It computes Pearson, Spearman, and Kendall correlations, rolling dynamics, and spread Z-scores to identify statistically significant relationships.
More skills hk-connect-flow (MIT) · macro-analysis (MIT) · earnings-revision (MIT) · perp-funding-basis (MIT)