volatility

Generate volatility regime signals from historical returns for mean-reversion trades.

30.4k|4.9k|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/HKUDS/Vibe-Trading --skill volatility
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: volatility
Source: https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/volatility
Command: npx skills add https://github.com/HKUDS/Vibe-Trading --skill volatility

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill keeps traders from missing volatility regime swings by automatically spotting low or high volatility periods for mean-reversion strategies, eliminating manual percentile calculations and guesswork.

Core Features & Use Cases

  • HV Percentile Signals: Rolling historical volatility is annualized and ranked over the lookback window to expose low and high volatility regimes for clearer timing.
  • Mean-Reversion Actions: Low-percentile readings trigger longs, high-percentile readings trigger exits or shorts, and the middle range stays neutral to reduce whipsaws.
  • Use Case: Feed daily OHLCV data for equities or crypto to decide when to build positions in calm markets and when to hedge or short during turbulence.

Quick Start

Ask the trading agent to generate volatility signals for BTC-USDT using hv_window 20, lookback 120, and annualize 365.

Frequently Asked Questions about volatility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate volatility percentiles for mean-reversion trades?

To calculate volatility percentiles for mean-reversion trades, you annualize rolling historical volatility over a lookback window and rank it to identify low and high volatility regimes. Percentile ranking exposes regime swings to trigger long, short, or neutral trading signals.

What is a volatility regime signal and how does it guide crypto trading?

A volatility regime signal identifies market calm or turbulence using historical volatility percentiles. In crypto trading, low percentile readings trigger long entries, high readings trigger exits or shorts, and middle ranges stay neutral to reduce whipsaws.

Can I generate mean-reversion signals for equities using daily OHLCV data?

Yes, you can generate mean-reversion signals for equities by feeding daily OHLCV data into a volatility percentile calculator. The process annualizes historical returns and applies threshold logic to decide long, short, or neutral exposures based on volatility regimes.

When should I use historical volatility percentiles instead of standard deviation for trading?

Use historical volatility percentiles when you need to identify relative volatility regimes for mean-reversion timing. Percentile ranking clarifies whether current volatility is historically high or low, whereas standard deviation alone lacks regime context for entries and exits.

How do I set up hv_window and lookback periods for crypto volatility signals?

Set up crypto volatility signals by defining an hv_window for rolling historical volatility calculation, a lookback period for percentile ranking, and an annualize factor like 365 for crypto. These parameters process OHLCV data to expose low and high volatility periods.