EquationDB

Volatility & regime trading

For volatility traders, options desks, risk-premia PMs

Find compression before the expansion, and condition on the volatility regime without look-ahead. Percentiles and regimes are computed from past bars only.

  • Financial markets
  • 7 steps
  • Runs on live data

How EquationDB answers it

Each step is one query on live data. Run them in order, or open any one and adapt it: change the symbol, the station, the dates or the filter.

  1. Volatility at a one-year low

    Normalized ATR at or below each stock's 2nd percentile of the year, candidates for long-gamma or breakout setups.

    GET top500 WHERE natr(14) IS EXTREME LOW SELECT symbol, sector, natr(14), bb_width(20,2) SORT natr(14)
    Try it →
  2. Squeeze with no trend

    Bollinger bands inside Keltner channels with a flat ADX: coiled names waiting for direction.

    GET top500 WHERE squeeze(20,2,1.5) = 1 AND adx(14) < 20 SELECT symbol, sector, bb_width(20,2), adx(14) SORT bb_width(20,2)
    Try it →
  3. Quiet, given the VIX regime

    Volatility at the 5th percentile of only those past days that shared today's VIX regime, a like-for-like comparison.

    GET top500 WHERE natr(14) < pctl(5, 3y GIVEN vix_regime) SELECT symbol, sector, natr(14)
    Try it →
  4. Realized-vol term structure

    Tesla's realized volatility from 5 days to a year, each with its percentile versus three years, to compare against implied.

    ANALYZE volatility TSLA
    Try it →
  5. Regime through five lenses

    Trend, volatility, momentum, mean-reversion and volume state of the S&P 500 in one table.

    ANALYZE regime SPY
    Try it →
  6. After the VIX crosses 30

    What index and sector ETFs did over one and three months after the VIX closed above 30.

    OUTCOMES AFTER $VIX@close CROSS ABOVE 30 IN refs FWD 20d, 60d
    Try it →
  7. VIX regime history

    Every VIX spike, stress-regime start and return to calm over five years, with dates and levels.

    EVENTS vix_spike, vix_regime_up, vix_calm LAST 5y
    Try it →

Run it on your own question

Sign in and press Try it on any step, or ask for a short demo on your data.

Request a trial

More financial markets use cases