Volatility-Based Momentum (VBM)

Calculate the Volatility-Based Momentum (VBM): the change of the price over a window in units of the Average True Range, which compares momentum across tickers of different volatility.

Volatility-Based Momentum is the change in the close over window periods in units of the Average True Range, instead of as a share of the earlier close as in the Rate of Change. A move of 3 average ranges is then large for any security, whatever its price or volatility, which makes the momentum comparable across securities and over time.

The formula is as follows:

\[\text{VBM} = \frac{\operatorname{Close}(t) - \operatorname{Close}(t - \text{window})}{\operatorname{ATR}(\text{atr\_window})}\]

with ATR Wilder’s Average True Range.

Also known as: VBM, volatility-based momentum, volatility adjusted momentum.

Example · AAPL, MSFT · 2024 to 2025

Install the Finance Toolkit with pip install financetoolkit -U, then call get_volatility_based_momentum:

from financetoolkit import Toolkit

toolkit = Toolkit(
    tickers=["AAPL", "MSFT"],
    api_key="FINANCIAL_MODELING_PREP_KEY",
    start_date="2024-01-01",
    end_date="2025-12-31",
)

toolkit.technicals.get_volatility_based_momentum()

Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:

How did the volatility-based momentum of Apple and Microsoft move in 2025?

Which returns:

Parameters

get_volatility_based_momentum accepts the following parameters.

ParameterTypeDescriptionExample
periodstrThe time period to consider for historical data. Options are: “intraday” (intraday prices), “daily” (daily prices), “weekly” (weekly prices), “monthly” (monthly prices), “quarterly” (quarterly prices), “yearly” (yearly prices). Defaults to “daily”."weekly"
close_columnstrThe column name for closing prices in the historical data. Defaults to “Adj Close”."Close"
windowintThe number of periods of the price change. Defaults to 12.20
atr_windowintThe number of periods of the Average True Range. Defaults to 26.10
roundingint | NoneThe number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise).2
growthboolWhether to calculate the growth of the VBM. Defaults to False.True
lagint | list[int]The lag to use for the growth calculation. Defaults to 1.4
standardizeboolWhether to standardize (Z-Score) the result. When combined with growth=True, standardizes the growth values instead of the raw values. Defaults to False.True
show_columnsstr | list[str] | NoneThe columns to keep, a name or a list of names, matched on every column level, or the rows when no column has those names (such as the line items of a financial statement). Names that do not exist are logged, and when none exist the result is returned in full. Defaults to None, which keeps every column.None, which keeps every column

References

  • Paper Pring, M.J. (1991). “Technical Analysis Explained.” 3rd ed. McGraw-Hill (momentum).
  • Paper Wilder, J.W. Jr. (1978). “New Concepts in Technical Trading Systems.” Trend Research (Average True Range).
  • Library Shares similar logic as finta’s VBM
Share