Black-76 Model
Calculate the Black (1976) model: what European calls and puts on futures and forwards are worth, the Black-Scholes model with each ticker’s price taken as the futures price.
A futures price already contains the cost of carry of the underlying (interest, storage, dividends or the convenience yield of a commodity), so it grows at no rate under the risk-neutral measure and the option only discounts its payoff. Use it for tickers that quote futures prices, such as commodities (GCUSD for gold, CLUSD for crude oil) and index futures. It assumes the option expires with the futures contract, so the futures price of each expiration is the one quoted today; for an option that expires before its futures contract the price is the same with the time to the option’s expiration.
The formulas are as follows:
\[d_{1} = \frac{\ln\left(\frac{F}{K}\right) + \frac{\sigma^{2}}{2} \cdot t}{\sigma \cdot \sqrt{t}}\] \[d_{2} = d_{1} - \sigma \cdot \sqrt{t}\] \[\text{Call Option Price} = e^{- r \cdot t} \cdot (F \cdot N(d_{1}) - K \cdot N(d_{2}))\] \[\text{Put Option Price} = e^{- r \cdot t} \cdot (K \cdot N(- d_{2}) - F \cdot N(- d_{1}))\]Where F is the futures price (the traded close on the pricing date), K is the strike price, r is the continuously compounded risk-free rate, \(\sigma\) is the annualized volatility of the futures price (the standard deviation of the daily returns over the trailing 252 trading days times √252), t is the time to expiration in years (days / 365) and N is the standard normal distribution. At zero days to expiration the value is the exercise value. The implied volatility of a quoted option on a futures contract is black_scholes_model.get_black_76_implied_volatility.
See: Black, F. (1976), “The Pricing of Commodity Contracts”, Journal of Financial Economics, 3(1-2), 167-179.
Also known as: Black-76, Black’s model, options on futures, options on forwards, commodity options.
Example · GCUSD · 2025
Install the Finance Toolkit with pip install financetoolkit -U, then call get_black_76_model:
from financetoolkit import Toolkit
toolkit = Toolkit(
["GCUSD"],
api_key="FINANCIAL_MODELING_PREP_KEY",
start_date="2025-01-01",
end_date="2025-12-31",
)
black_76 = toolkit.options.get_black_76_model(
strike_price_range=0.1, strike_step_size=100, expiration_time_range=91
)
black_76.loc["GCUSD", ["2026-01-30", "2026-03-01", "2026-03-31"]]
Or, with the Finance Toolkit MCP set up, ask an AI assistant such as Claude or ChatGPT:
What were call options on gold worth under the Black (1976) model at the end of 2025, for the expiries of 30 January, 1 March and 31 March 2026 and strikes within 10% of the price in $100 steps?
Which returns:
| Strike Price | 2026-01-30 | 2026-03-01 | 2026-03-31 |
|---|---|---|---|
| 3900 | 442.9050 | 454.1050 | 468.1050 |
| 4000 | 349.1500 | 368.5350 | 388.0870 |
| 4100 | 262.1530 | 290.5850 | 315.3430 |
| 4200 | 185.6910 | 222.0110 | 250.8550 |
| 4300 | 123.0280 | 163.9970 | 195.2010 |
| 4400 | 75.7173 | 116.9390 | 148.4980 |
| 4500 | 43.0764 | 80.4062 | 110.4090 |
| 4600 | 22.5863 | 53.2835 | 80.2235 |
| 4700 | 10.9008 | 34.0278 | 56.9730 |
| 4800 | 4.8430 | 20.9478 | 39.5581 |
10 rows
Parameters
get_black_76_model accepts the following parameters.
| Parameter | Type | Description | Example |
|---|---|---|---|
start_date | str | None | The date whose price, volatility and rates the values start from; a date without prices (a weekend or a holiday) uses the last trading day before it, and a ticker without a price on that day is left out with a warning. Defaults to None, which uses the last date of the historical data. | "2021-01-01" |
put_option | bool | Whether to calculate the put option price. Defaults to False which means it will calculate the call option price. | True |
strike_price_range | float | The percentage range to use for the strike prices, between 0 and 1. Defaults to 0.25 which equals 25% and thus results in strike prices from 75 to 125 if the current futures price is 100. | 0.1 |
strike_step_size | float | The step size to use for the strike prices, above 0. Defaults to 5 which means that the strike prices will be 75, 80, 85, …, 120 and 125 if the current futures price is 100. | 1 |
expiration_time_range | int | The number of days to use for the time to expiration: the columns are the expirations 1 up to expiration_time_range - 1 days after the start date, so at least 2. Defaults to 30, which gives expirations of 1 to 29 days. | 90 |
risk_free_rate | float | The risk free rate to use for the calculation. Defaults to None, which uses the Toolkit’s risk-free rate on the pricing date: the 10-year Treasury yield unless the Toolkit’s risk_free_rate parameter selects ‘13w’, ‘5y’ or ‘30y’, converted from its semi-annual bond-equivalent quote to continuous compounding. A rate passed here is used as given, as a continuously compounded rate. | 0.04 |
show_input_info | bool | Whether to show the input information. Defaults to False. | True |
rounding | int | None | The number of decimals to round the results to. Defaults to None, which uses the rounding of the Toolkit (4 unless set otherwise). | 2 |
standardize | bool | Whether to standardize (Z-Score) the result across the time to expiration columns for each ticker and strike price. Defaults to False. | True |
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 |
References
- Library Referenced against QuantLib’s blackFormula
- Library Shares similar logic as FinancePy’s Black