Commodity Pricing, Part 3: Options & Spreads#
The options in commodity markets are of three kinds: options on a single futures price, options on the average of a price over a delivery period, and options on the difference between two prices, such as the margin of a plant or a refinery. Each has a standard formula that is exact or close to exact, and each depends on an input that is hard to observe: the volatility by delivery date, the volatility over the averaging period, and the correlation between two prices. This page sets out the Black-76 and Bachelier formulas, the way that the Samuelson effect enters the volatility of an option, the moment-matching price of an Asian option, and Kirk’s price of a spread option, and tests each against simulation or quadrature. It is the third of four pages on how commodities are priced.
Options on a futures price#
An option on a futures or forward price \(F\) is priced by the Black-76 formula. If \(F\) is a martingale with lognormal volatility \(\sigma\) over the life \(T\) of the option, the call price is
where the discount factor covers the time to the payment of the option, and the formula does not depend on the interest rate or the cost of carry, since the forward already contains them (Interest Rate Volatility, Part 1: Swaptions & Black-76). The formula needs a positive price. When the forward price can be zero or negative, as the front WTI futures contract was in April 2020, the lognormal model fails, and the Bachelier formula with a normal volatility \(\sigma_N\), in price units, is used instead:
The two agree for strikes close to the forward when \(\sigma_N \approx \sigma F\), and differ in the wings, because the normal model has symmetrical tails and the lognormal one has a skew.
Volatility and the Samuelson effect#
The volatility that goes into the formula is the average volatility of the futures price over the life of the option, and the futures volatility depends on the time to delivery (Commodity Pricing, Part 2: Price Models). For an option that expires at \(T_o\) on a futures contract that delivers at \(T_d\), with the one-factor volatility \(\sigma e^{-\kappa(T_d - t)}\),
so two options with the same expiry on futures with different delivery dates have different implied volatilities, and the far delivery has the lower. A volatility quoted for one expiry and one delivery date cannot be used for another without the model. In markets such as gas, where the options on monthly futures are quoted for each delivery month, there is a volatility by month, and a seasonal pattern in it.
Asian options#
Many commodity options pay on the average price over a month, or over the days of a delivery period, and not on the price on a single day. For the average of \(n\) prices observed at times \(t_1 < \dots < t_n\),
A sum of lognormal variables is not lognormal, and there is no exact formula. The standard approximation matches the first two moments of \(A\) to a lognormal variable and then applies Black-76. For forward prices \(f_i\) and a lognormal volatility \(\sigma\) with Brownian prices, \(\operatorname{Cov}(\ln F_i, \ln F_j) = \sigma^2 \min(t_i, t_j)\), so
and the option is priced as a Black-76 call on a forward \(m_1\) with volatility \(\sigma_A\). The volatility of the average is lower than that of the final price, because an average moves less than a single price, and so an Asian option is cheaper than the plain one.
Spread options#
A spread option pays on the difference of two prices, with a strike \(K\):
The spark spread of a gas-fired power plant is \(P - H G - K\) with the power price \(P\), the gas price \(G\), the heat rate \(H\) and the variable cost \(K\). The crack spread of a refinery and the crush spread of a soybean processor have the same form. With a zero strike this is an option to exchange one asset for another, and Margrabe’s formula is exact. With a non-zero strike there is no closed form, and Kirk’s approximation treats \(F_2 + K\) as if it were lognormal:
with \(d_{1,2} = \big( \ln \frac{F_1}{F_2 + K} \pm \tfrac12 \sigma_K^2 T \big) / (\sigma_K \sqrt{T})\). With \(K = 0\), \(b = 1\) and Kirk’s formula is Margrabe’s. The price falls as the correlation \(\rho\) rises, because the two legs then move together and the spread varies less, and it falls toward the intrinsic value, the value of the spread at the forwards, as \(\rho\) goes to one. The correlation between two commodity prices is not observable from an option market that is liquid, so it is an input that carries a reserve. The two-dimensional integral for the price can also be computed directly by the quadrature of Numerical Integration: Quadrature, which is a check on the approximation.
Worked example#
The example prices a Black-76 call and a Bachelier call, and a call on a forward at -5. It computes the Black volatility of options with the same expiry on futures with different delivery dates. It prices an Asian option on 21 daily prices by moment matching and by Monte Carlo, for three strikes, and prices a spark spread option by Kirk’s formula, by two-dimensional quadrature and by Monte Carlo, for correlations from 0 to 0.95.
Python code
"""Options on commodity futures: Black-76 and Bachelier, the Samuelson effect, Asian options by moment matching, and spread options."""
import numpy as np
from numpy.polynomial.hermite_e import hermegauss
from commodity_common import bachelier, black76, kirk
R = 0.04
def samuelson_vol(sigma, kappa, t_option, t_delivery):
"""Black volatility of an option on a future when the futures volatility is sigma * exp(-kappa * time to delivery)."""
a = t_delivery - t_option
return sigma * np.sqrt(np.exp(-2 * kappa * a) * (1 - np.exp(-2 * kappa * t_option)) / (2 * kappa * t_option))
def asian_moment_matching(fix_times, forward, strike, sigma, t_pay, r=R):
"""Lognormal approximation to the average of forwards, matching the first two moments."""
n = len(fix_times)
f = np.full(n, forward)
m1 = f.mean()
cov = np.exp(sigma**2 * np.minimum.outer(fix_times, fix_times))
m2 = np.sum(np.outer(f, f) * cov) / n**2
s_a = np.sqrt(np.log(m2 / m1**2) / fix_times[-1])
return black76(m1, strike, s_a, fix_times[-1], 0.0) * np.exp(-r * t_pay), s_a
def asian_mc(fix_times, forward, strike, sigma, t_pay, n_paths, rng, r=R):
"""Monte Carlo for the average of a martingale forward observed on the fixing dates."""
dt = np.diff(np.concatenate(([0.0], fix_times)))
z = rng.standard_normal((n_paths, len(fix_times)))
logf = np.cumsum(-0.5 * sigma**2 * dt + sigma * np.sqrt(dt) * z, axis=1)
pay = np.maximum(forward * np.exp(logf).mean(axis=1) - strike, 0)
pay_vanilla = np.maximum(forward * np.exp(logf[:, -1]) - strike, 0)
disc = np.exp(-r * t_pay)
return disc * pay.mean(), disc * pay.std() / np.sqrt(n_paths), disc * pay_vanilla.mean()
def spread_quadrature(f1, f2, k, s1, s2, rho, t, n=64):
"""Two-dimensional Gauss-Hermite price of a call on F1 - F2 - K."""
nodes, weights = hermegauss(n)
z1, z2 = np.meshgrid(nodes, nodes, indexing="ij")
w = np.outer(weights, weights) / (2 * np.pi)
a = f1 * np.exp(-0.5 * s1**2 * t + s1 * np.sqrt(t) * z1)
b = f2 * np.exp(-0.5 * s2**2 * t + s2 * np.sqrt(t) * (rho * z1 + np.sqrt(1 - rho**2) * z2))
return np.exp(-R * t) * np.sum(w * np.maximum(a - b - k, 0))
def spread_mc(f1, f2, k, s1, s2, rho, t, n, rng):
z1 = rng.standard_normal(n)
z2 = rng.standard_normal(n)
a = f1 * np.exp(-0.5 * s1**2 * t + s1 * np.sqrt(t) * z1)
b = f2 * np.exp(-0.5 * s2**2 * t + s2 * np.sqrt(t) * (rho * z1 + np.sqrt(1 - rho**2) * z2))
pay = np.exp(-R * t) * np.maximum(a - b - k, 0)
return pay.mean(), pay.std() / np.sqrt(n)
if __name__ == "__main__":
print("1. Black-76 and Bachelier: a one-year option on a forward of 100, normal volatility matched at the money (20 price units)")
f, t = 100.0, 1.0
sigma_n = 20.0
atm_black_vol = sigma_n / f
print(f" {'Strike':>7} {'Black-76':>10} {'Bachelier':>10} {'difference':>11} (Black volatility {atm_black_vol:.0%})")
for k in (60, 80, 100, 120, 140):
b, n = black76(f, k, atm_black_vol, t, R), bachelier(f, k, sigma_n, t, R)
print(f" {k:7d} {b:10.4f} {n:10.4f} {n - b:+11.4f}")
print(" A forward at -5 (a price that has gone negative), strike 0, normal volatility 20:")
print(f" Bachelier call {bachelier(-5.0, 0.0, 20.0, 0.25, R):.4f}, put {bachelier(-5.0, 0.0, 20.0, 0.25, R, call=False):.4f}; Black-76 is undefined for a negative forward")
print("\n2. The Samuelson effect: Black volatility of a 6-month option on futures with different delivery dates")
sigma, kappa, t_opt = 0.80, 1.5, 0.5
print(f" Futures volatility {sigma:.0%} at delivery, decaying with exp(-{kappa} x time to delivery); forward 3.50, strike 3.50")
print(f" {'Delivery (years)':>17} {'Black vol':>10} {'Call price':>11}")
for td in (0.5, 1.0, 2.0, 3.0):
v = samuelson_vol(sigma, kappa, t_opt, td)
print(f" {td:17.1f} {v:10.1%} {black76(3.5, 3.5, v, t_opt, R):11.4f}")
print("\n3. An Asian option on the average of 21 daily prices in a month that starts in 1 month; forward 3.50, strike 3.50, volatility 60%")
rng = np.random.default_rng(3)
fix = 1 / 12 + (np.arange(1, 22) / 21) / 12
mm, s_a = asian_moment_matching(fix, 3.5, 3.5, 0.60, fix[-1])
mc, se, vanilla = asian_mc(fix, 3.5, 3.5, 0.60, fix[-1], 1_000_000, rng)
print(f" Moment matching {mm:.4f} (volatility of the average {s_a:.1%}); Monte Carlo {mc:.4f} +/- {se:.4f}")
print(f" Plain option on the last day's price: Black-76 {black76(3.5, 3.5, 0.60, fix[-1], R):.4f}; the Asian option is {mc / black76(3.5, 3.5, 0.60, fix[-1], R):.0%} of it")
for k in (3.0, 4.0):
mmk, _ = asian_moment_matching(fix, 3.5, k, 0.60, fix[-1])
mck, sek, _ = asian_mc(fix, 3.5, k, 0.60, fix[-1], 1_000_000, rng)
print(f" Strike {k:.1f}: moment matching {mmk:.4f}, Monte Carlo {mck:.4f} +/- {sek:.4f}")
print("\n4. A spark spread option: power 60, gas 24 with a heat rate of 2 (so 48 of fuel cost), variable cost 2, 6 months, vols 55% and 45%")
f1, f2, k, s1, s2, t = 60.0, 48.0, 2.0, 0.55, 0.45, 0.5
print(f" Intrinsic value of the spread: {max(f1 - f2 - k, 0):.2f}")
print(f" {'Correlation':>12} {'Kirk':>9} {'Quadrature':>11} {'Monte Carlo':>13}")
for rho in (0.0, 0.3, 0.6, 0.8, 0.95):
q = spread_quadrature(f1, f2, k, s1, s2, rho, t)
m, se = spread_mc(f1, f2, k, s1, s2, rho, t, 2_000_000, rng)
print(f" {rho:12.2f} {kirk(f1, f2, k, s1, s2, rho, t, R):9.4f} {q:11.4f} {m:9.4f} +/- {se:.4f}")
print(f" With no variable cost Kirk's formula is Margrabe's exact formula: {kirk(f1, f2, 0.0, s1, s2, 0.6, t, R):.4f}; quadrature {spread_quadrature(f1, f2, 0.0, s1, s2, 0.6, t):.4f}")
print(" A larger variable cost makes the option more out of the money, and Kirk's approximation is less exact:")
for kk in (10.0, 20.0, 30.0):
print(f" variable cost {kk:5.1f}: Kirk {kirk(f1, f2, kk, s1, s2, 0.6, t, R):8.4f}, quadrature {spread_quadrature(f1, f2, kk, s1, s2, 0.6, t):8.4f}")
The output is:
1. Black-76 and Bachelier: a one-year option on a forward of 100, normal volatility matched at the money (20 price units)
Strike Black-76 Bachelier difference (Black volatility 20%)
60 38.4567 38.5947 +0.1381
80 20.3552 20.8168 +0.4615
100 7.6532 7.6660 +0.0128
120 2.0631 1.6010 -0.4621
140 0.4324 0.1632 -0.2692
A forward at -5 (a price that has gone negative), strike 0, normal volatility 20:
Bachelier call 1.9583, put 6.9085; Black-76 is undefined for a negative forward
2. The Samuelson effect: Black volatility of a 6-month option on futures with different delivery dates
Futures volatility 80% at delivery, decaying with exp(-1.5 x time to delivery); forward 3.50, strike 3.50
Delivery (years) Black vol Call price
0.5 57.6% 0.5534
1.0 27.2% 0.2628
2.0 6.1% 0.0587
3.0 1.4% 0.0131
3. An Asian option on the average of 21 daily prices in a month that starts in 1 month; forward 3.50, strike 3.50, volatility 60%
Moment matching 0.2795 (volatility of the average 49.4%); Monte Carlo 0.2795 +/- 0.0005
Plain option on the last day's price: Black-76 0.3389; the Asian option is 82% of it
Strike 3.0: moment matching 0.5797, Monte Carlo 0.5805 +/- 0.0006
Strike 4.0: moment matching 0.1140, Monte Carlo 0.1147 +/- 0.0003
4. A spark spread option: power 60, gas 24 with a heat rate of 2 (so 48 of fuel cost), variable cost 2, 6 months, vols 55% and 45%
Intrinsic value of the spread: 10.00
Correlation Kirk Quadrature Monte Carlo
0.00 16.1205 16.1246 16.1082 +/- 0.0151
0.30 14.6140 14.6328 14.6193 +/- 0.0135
0.60 12.8132 12.8141 12.8161 +/- 0.0113
0.80 11.3530 11.3536 11.3481 +/- 0.0094
0.95 10.1173 10.1189 10.1153 +/- 0.0072
With no variable cost Kirk's formula is Margrabe's exact formula: 14.2015; quadrature 14.2019
A larger variable cost makes the option more out of the money, and Kirk's approximation is less exact:
variable cost 10.0: Kirk 8.2043, quadrature 8.1884
variable cost 20.0: Kirk 4.4504, quadrature 4.4600
variable cost 30.0: Kirk 2.3473, quadrature 2.3486
Reading the output:
Black-76 and Bachelier agree at the money and differ in the wings. With the normal volatility set so that the two match at the forward, the prices differ by 0.01 at a strike of 100, and by up to 0.46 at 80 and 120. The normal model gives a higher price for the low strike and a lower price for the high one, which is a different skew. For a forward at -5 the Bachelier call is worth 1.96 and the put 6.91, and Black-76 has no answer.
The Samuelson effect changes the volatility by a large factor. For a six-month option, the Black volatility falls from 57.6% for delivery at six months to 27.2% for delivery at one year, 6.1% at two years and 1.4% at three. The at-the-money price falls from 0.553 to 0.013. A single volatility for the whole curve prices the far options very wrongly.
The moment-matching price of an Asian option is close to the simulation. At the money it is 0.2795, the same as Monte Carlo at 0.2795 with a standard error of 0.0005. For strikes of 3.0 and 4.0 it differs by 0.0008 and 0.0007, which is 1.3 and 2.3 standard errors and 0.1% and 0.6% of the price, so it is accurate to well under 1%. The volatility of the average is 49.4%, against 60% for the price, and the Asian option is worth 82% of the plain one.
Kirk’s approximation is accurate near the money and less so far from it. For the spark spread option at correlations from 0 to 0.95 it is within 0.02 of the quadrature price, and for the strikes of 10, 20 and 30, where the option is out of the money, within 0.016, 0.010 and 0.001 on prices of 8.2, 4.5 and 2.3. With a zero strike it is Margrabe’s formula, and agrees with quadrature to 0.0004. The check against quadrature is cheap, and an engine that uses the approximation should be tested against it across the range of strikes and correlations that it prices.
The correlation moves the price a long way. The spark spread option is worth 16.12 at a correlation of 0, 12.81 at 0.6 and 10.12 at 0.95, close to the intrinsic value of 10. A change of 0.1 in the correlation moves the price by 0.6 to 0.7 near the middle, so an uncertainty of 0.2 in the correlation is an uncertainty of about 1.3 in a price of 13, or 10%.
A valuation control view#
Check which model is used for the price and for the volatility: a Black-76 volatility is only meaningful with its expiry, its delivery date and its strike. Quotes for a single expiry used on the whole curve are wrong by the Samuelson effect.
Test for negative prices: a lognormal model fails when the forward can be zero or below. Confirm that there is a fallback, and that it is consistent with the quoting convention of the market. See Interest Rate Volatility, Part 2: The Bachelier (Normal) Model.
Use the right averaging dates: an Asian option averages over the days of delivery, with the weights of the contract. A different calendar, for weekdays or business days, changes the price, and a pricer that uses the wrong one cannot be seen from the output.
Test the approximations against a second method: Kirk’s formula and moment matching against quadrature or simulation, across strikes, correlations and maturities. An approximation that is good at the money can be poor in the wings.
Treat the correlation as a model input with a reserve: the price of a spread option depends on it, and it is rarely observable. A range of plausible correlations gives a range of prices, and the range is the basis of a reserve. See Prudent Valuation: Requirements.
Next, Commodity Pricing, Part 4: Storage, Swing & Plants prices the products whose value comes from flexibility: storage, swing contracts and power plants.