Aperiodic
MarketsLive
Pricing
Get Started

Metrics library · Order flow

Returns & volatility

Get the data

Realized volatility, 5m, BTC perps, last 24 hours

DELAYED 15 MIN…Updates by itself every 5 minutes

Loading…

Realized volatility, 5m, latest

Binance
—
OKX
—
Hyperliquid
—

Volatility clusters: a spike is usually followed by more high readings before it decays.

How it's builtBTC, May 2025Perps rankedFieldsDownloadFAQ

Volatility from the trades inside each bar, split into its continuous part and its jumps.

Log-return based metrics: variance, realized volatility, bipower variation, jump ratio, autocorrelation, and trendiness.

Built from
Trades
Fields
6
Intervals
1m to 1d; 15s and 30s on Prime
Plan
Pro
Venues
Binance, OKX, Hyperliquid
Live
Free 15 minutes behind; real time on paid plans

How it's built

One real minute of trades, field by field. Each value matches our pipeline's output.

All 11,692 trades from 14:38 to 14:39 UTC on 11 June 2025, Binance BTC-USDT perpetual, from the free raw-trades preview.

  1. Step 1

    Trade-to-trade log returns

    11,691 returns, one per trade after the first. 58% are zero, a trade at the same price as the one before, and they stay in the sums.

    Loading 11,692 trades…
  2. Step 2

    Realized variance and bipower variation

    realized_vol=√ Σ r²=0.122%
    bipower_variation=π/2 × Σ |rₜ| |rₜ₋₁|=8.63e-7
    jump_ratio=(Σ r² − bipower) / Σ r²=42.3%

    Bipower variation multiplies each absolute return by the one before it, so a single large jump adds little to it. The gap between the two lines is the variance from jumps. realized_vol covers this minute and is not annualised.

    Loading 11,692 trades…
  3. Step 3

    Autocorrelation and trendiness

    ret_autocorr_lag1=corr(rₜ, rₜ₋₁)=-0.318
    trendiness=|Σ r| / Σ |r|=0.090

    ret_autocorr_lag1 is negative, but by sign alone moves tend to continue. After a down move, the next trade moved down 50% of the time and up 8%. The signs correlate at +0.33.

    The correlation weights each move by its size. Of the 50 largest moves, 0.992 bps or more, 22 reversed on the next trade, 2 continued and the rest were followed by an unchanged price. They account for 80% of the covariance.

    trendiness is the net move as a share of the total distance the price travelled, 0.09 here.

    Loading 11,692 trades…
  4. Step 4

    The bar

    realized_vol
    0.001223
    logret_var
    1.28e-10
    bipower_variation
    8.63e-7
    jump_ratio
    0.423
    ret_autocorr_lag1
    -0.318
    trendiness
    0.090

Does BTC's volatility carry over from hour to hour?

BTC's hourly volatility correlated 0.39 with the hour before. Its hourly return correlated -0.02.

BTC-USDT perpetual on Binance, 5m bars, 1 to 31 May 2025, from the free preview.

Realized volatilityReturn
0.39
-0.02
0.22
-0.08
0.14
-0.05
0.10
0.03
0.09
-0.01
0.17
-0.00
1h2h3h6h12h24h

Autocorrelation at each lag, hourly bars.

Autocorrelation of hourly realized volatility and of hourly returns across May. Volatility still correlated 0.17 with itself a day later. Returns stayed within ±0.08 at every lag.

Recent volatility forecasts the next hour's volatility. Recent returns do not forecast the next hour's return.

The most volatile perps of the last 24 hours

Among the 100 most traded perps on Binance, OKX and Hyperliquid, by 24-hour volume.

DELAYED 15 MINto 14:45 UTCUpdates by itself every 5 minutes

Highest

#PerpRealized vol, 5m, 24h
  1. 1ELSA Binance · USDT6.46%
  2. 2CLANKER Binance · USDT6.41%
  3. 3AKE Binance · USDT5.84%
  4. 4AIN Binance · USDT4.94%
  5. 5JCT Binance · USDT4.06%

How to read it

realized_vol is the square root of the summed squared trade-to-trade log returns in the interval. It is not annualised: scale it by the number of intervals in a year.

bipower_variation estimates the continuous part of variance. jump_ratio is the share of variance that came from jumps: near 1, one large move made up most of the bar.

ret_autocorr_lag1 is the lag-1 autocorrelation of trade-to-trade returns in the bar: negative means moves tended to reverse. trendiness is the absolute net return divided by the sum of absolute returns, so 1 means the price moved one way only.

logret_var
Variance of log returns within the interval
realized_vol
Square root of the sum of squared log returns in the interval
bipower_variation
Jump-robust volatility estimate built from adjacent absolute log returns
jump_ratio
Share of realized variance not explained by bipower variation
ret_autocorr_lag1
Lag-one autocorrelation of log returns within the interval
trendiness
Absolute net log return divided by total absolute log return
The research behind itHide the research

Does price tend to continue or reverse? This is the most consequential question for any directional strategy. Rather than inferring the answer from backtests of momentum strategies (which conflate the signal with execution, risk management, and survivorship), you can measure it directly from the return series.

Return autocorrelation: the first-order test

The autocorrelation of returns at lag 1 is the most direct measure of short-horizon momentum or mean reversion. Lo & MacKinlay (1988) documented significant positive weekly return autocorrelation in US equities — evidence against the random walk hypothesis and the foundation for contrarian and momentum strategies.

At the microstructure level, return autocorrelation has a different character. Roll (1984) showed that the bid-ask bounce mechanically induces negative first-order autocorrelation in trade-to-trade returns: a buy at the ask is followed by either another buy (no price change) or a sell at the bid (negative return), creating a systematic negative serial correlation equal to the squared half-spread.

We compute lag-1 autocorrelation per interval from trade-to-trade log returns. The interpretation:

  • Positive autocorrelation → momentum regime. Price moves are self-reinforcing. Consistent with informed order flow creating persistent impact (Lillo & Farmer, 2004) or algorithmic trend-following amplifying directional moves.
  • Negative autocorrelation → mean-reversion regime. Price moves are self-correcting. Dominated by the bid-ask bounce (Roll, 1984) and market maker inventory management (Ho & Stoll, 1981). Positions based on recent direction face adverse selection.
  • Near-zero autocorrelation → the random walk benchmark. No exploitable short-horizon serial dependence.

Trendiness: measuring path efficiency

Trendiness=∣∑ri∣/∑∣ri∣\text{Trendiness} = \left|\sum r_i\right| / \sum |r_i|Trendiness=∣∑ri​∣/∑∣ri​∣

This ratio measures the efficiency of price movement — how much of the total distance traveled was "useful" (in the direction of the net move). It's related to the variance ratio test (Lo & MacKinlay, 1988) but operates on a single bar rather than across multiple horizons.

  • Trendiness = 1.0 — price moved in a straight line. Every individual trade-to-trade return pointed in the same direction. Perfect trend.
  • Trendiness near 0 — price ended roughly where it started despite substantial total movement. Pure oscillation.
  • Intermediate values — partial trend with noise.

Combined regime classification

The two metrics together provide a richer regime characterization than either alone:

| Autocorrelation | Trendiness | Regime | Strategy Implication | | --------------- | ---------- | -------------------------- | -------------------------------------------------------------- | | High positive | High | Sustained directional flow | Trend-following profitable | | Low/negative | Low | Choppy oscillation | Mean-reversion or market-neutral | | Low | High | Gap/jump regime | Price jumped rather than drifted — single large displacement | | High positive | Low | Oscillating drift | Momentum in micro-returns but frequent reversals — noisy trend |

This characterization captures within-bar price dynamics that OHLC completely discards. A bar with identical OHLC values can be a clean trend (high autocorrelation, high trendiness) or a choppy fight that happened to close at the high (low autocorrelation, moderate trendiness). The distinction matters for everything from volatility estimation to strategy selection.


References:

  • Lo, A.W. & MacKinlay, A.C. (1988). "Stock Market Prices Do Not Follow Random Walks: Evidence from a Simple Specification Test." Review of Financial Studies, 1(1), 41–66.
  • Roll, R. (1984). "A Simple Implicit Measure of the Effective Bid–Ask Spread in an Efficient Market." Journal of Finance, 39(4), 1127–1139.
  • Ho, T. & Stoll, H.R. (1981). "Optimal Dealer Pricing Under Transactions and Return Uncertainty." Journal of Financial Economics, 9(1), 47–73.
  • Lillo, F. & Farmer, J.D. (2004). "The Long Memory of the Efficient Market." Studies in Nonlinear Dynamics & Econometrics, 8(3).

Download the same month

No account needed. Pro adds every venue and perp, at 1-minute to daily bars.
# Install the Aperiodic CLI into ~/.local/bin
mkdir -p "$HOME/.local/bin"
curl -fsSL https://raw.githubusercontent.com/aperiodic-io/cli/main/install.sh | INSTALL_DIR="$HOME/.local/bin" bash
export PATH="$HOME/.local/bin:$PATH"

# Free preview — no API key required
aperiodic returns --preview \
  --exchange binance-futures \
  --symbol perpetual-BTC-USDT:USDT \
  --interval 5m \
  --timestamp exchange \
  --start-date 2025-05-01 \
  --end-date 2025-05-31 \
  --output-dir ./data && echo "Saved to $PWD/data"

Questions

Related

Price range & distributionHigh-low range and the shape inside the barImpactKyle's lambda, Amihud, and what size costsCandlesticksCandles and volume, built from every trade
Aperiodic

Built from hundreds of terabytes of raw data and distilled into point-in-time metrics you can pull as parquet files. Plus the raw trades, quotes and derivatives data behind them.

Use Cases
  • Improve your backtest
  • Find new alpha
  • Execute smarter
Indices
  • All indices
  • Aperiodic Cost Index
  • Aperiodic Depth Index
  • Aperiodic Impact Index
Metrics
  • Metrics library
  • Data Catalog
  • Live markets dashboard
  • Global Liquidity
  • Unusual activity
  • Order Flow
  • L1 & L2
  • Derivatives
  • RWA
  • Raw Data
Developers
  • API Docs
  • Live WebSocket Feed
  • MCP Server
  • Notebooks
  • For AI Agents
  • Atlas Security Master
  • Pre-flight
  • Changelog
  • Roadmap
  • llms.txt
Learn
  • Replays
  • Microstructure Guide
  • Architecture
  • Research Blog
  • FAQ
Compare
  • All vendors
  • vs. Tardis
  • vs. CoinGlass
  • vs. Kaiko
  • vs. Amberdata
Company
  • Pricing
  • Contact
  • Book a call
  • Terms of Service
  • Privacy Policy
  • Licensing
  • SLA

© Copyright 2026 Aperiodic. All Rights Reserved.

Aperiodic Limited · Registered in Ireland · Company No. 815273 ·
136 Capel Street, Dublin D01 T2C9, Ireland

Shown: minute closes of 847 perpetuals, 20:30–22:30 UTC on 10 Oct 2025, IOTX in orange · built with ohlcv 1m