Risk-Neutral Moments
Calculate the risk-neutral (option-implied) volatility, skewness and kurtosis of the log return up to every expiry with the method of Bakshi, Kapadia and Madan (2003). Any payoff can be built from a position in the underlying and a strip of out-of-the-money options (Carr and Madan, 2001), so the prices of the quadratic, cubic and quartic contracts on the log return follow from the option prices, and with them the moments the market prices in, without a pricing model. A negative skewness means the options price a larger chance of a fall than of a rise of the same size; a kurtosis above 3 means fatter tails than a normal distribution.
The formula is as follows, with \(R = \ln (S_{T} / K_{0})\), \(y_{i} = \ln (K_{i} / K_{0})\) and the strikes \(K_{i}\), prices \(Q (K_{i})\) and intervals \(\Delta K_{i}\) of the VIX methodology:
\[V = \frac{\sum 2 (1 - y_{i}) Q(K_{i}) \Delta K_{i}}{K_{i}^{2}}\] \[W = \frac{\sum(6 y_{i} - 3 y_{i}^{2}) Q(K_{i}) \Delta K_{i}}{K_{i}^{2}}\] \[X = \frac{\sum(12 y_{i}^{2} - 4 y_{i}^{3}) Q(K_{i}) \Delta K_{i}}{K_{i}^{2}}\] \[\mu = \frac{F}{K_{0}} - 1 - \frac{e^{rT} V}{2} - \frac{e^{rT} W}{6} - \frac{e^{rT} X}{24}\] \[\text{Skewness} = \frac{e^{rT} W - 3 \mu e^{rT} V + 2 \mu^{3}}{(e^{rT} V - \mu^{2})^{\frac{3}{2}}}\] \[\text{Kurtosis} = \frac{e^{rT} X - 4 \mu e^{rT} W + 6 e^{rT} \mu^{2} V - 3 \mu^{4}}{(e^{rT} V - \mu^{2})^{2}}\] \[\text{Volatility} = \sqrt{\frac{e^{rT} V - \mu^{2}}{T}}\] \[\text{Expected Log Return} = E\left[\ln\left(\frac{S_{T}}{F}\right)\right] = \mu - \ln\left(\frac{F}{K_{0}}\right)\]The integrals of the paper are discretised as in the Cboe VIX methodology: the forward price F follows from put-call parity at the strike where call and put prices are closest, \(K_{0}\) is the first strike at or below it, \(Q (K_{i})\) is the put price below \(K_{0}\), the call price above and their average at \(K_{0}\), and \(\Delta K_{i}\) is half the distance between the neighbouring strikes (the distance to the one neighbour at the ends). Puts and calls are added away from \(K_{0}\) while they have a bid, up to two consecutive strikes without one. The paper expands around the spot price without dividends (\(F / S = e^{\text{rT}}\)); the expansion around \(K_{0}\) keeps the replication exact and takes in dividends through the forward price, and leaves the skewness and kurtosis unchanged. r is the continuously compounded risk free rate.
For more information, see the following papers:
- Bakshi, G., Kapadia, N. and Madan, D. (2003). “Stock Return Characteristics, Skew Laws, and the Differential Pricing of Individual Equity Options.” The Review of Financial Studies, 16(1), 101-143.
- Carr, P. and Madan, D. (2001). “Optimal Positioning in Derivative Securities.” Quantitative Finance, 1(1), 19-37.
- Cboe Global Markets (2023). “Cboe Volatility Index (VIX) White Paper.”
Also known as: option-implied moments, implied skewness, implied kurtosis, BKM moments.
Risk-Neutral Moments in Python or via the MCP
Install the Finance Toolkit with:
pip install financetoolkit -U
Then call get_risk_neutral_moments as shown below.
from financetoolkit import Toolkit
toolkit = Toolkit(["^SPX", "AAPL"], api_key="FINANCIAL_MODELING_PREP_KEY")
toolkit.options.get_risk_neutral_moments(
number_of_expirations=3, show_columns=["Volatility", "Skewness", "Kurtosis"]
)
Or, after setting up the Finance Toolkit MCP, ask:
What volatility, skewness and kurtosis do the option prices of the S&P 500 and Apple imply for their three nearest expirations?
Which returns:
| Item | Volatility | Skewness | Kurtosis |
|---|---|---|---|
| (‘^SPX’, ‘2026-11-19’) | 0.2852 | -0.9794 | 10.6888 |
| (‘^SPX’, ‘2026-11-20’) | 0.2745 | -2.5062 | 28.0073 |
| (‘^SPX’, ‘2026-11-23’) | 0.2381 | -3.069 | 41.0756 |
| (‘AAPL’, ‘2026-11-20’) | 0.3401 | -1.4245 | 12.0253 |
| (‘AAPL’, ‘2026-11-23’) | 0.2615 | -1.4104 | 9.5121 |
| (‘AAPL’, ‘2026-11-25’) | 0.2763 | -1.4946 | 8.8768 |
Parameters
get_risk_neutral_moments accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
expiration_dates | list[str] | None | The expiries to use. Defaults to None, the nearest number_of_expirations expiries. | ["2027-12-17", "2028-01-21"] |
number_of_expirations | int | The number of nearest expiries to use when no dates are given. Defaults to 4. | 4 |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the Toolkit’s rounding. | 2 |
show_columns | str | list[str] | None | The 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 |