The Claude Quant PlaybookDownload ebookDownload ebook

Black–Scholes call price

advancedOptions3 of 14

The fair price of a European call if the stock follows geometric Brownian motion with constant volatility. It is the expected payoff in a risk-neutral world, discounted to today.

Build a trading system with Claude.Download ebook

01The formula

stock price today
strike
risk-free interest rate per year (continuous)
volatility: standard deviation of the log return per year
years to expiry
the standard normal CDF: the chance a bell-curve draw is below x

02See it move

03Where it is used

04Why traders use it

It turns an option price into one number traders can compare across strikes and expiries: implied volatility. Even desks that use richer models start from it and quote in its language.

05Worked example

Stock $100, strike $100, rate 5.0%, volatility 20%, 1.00 years: the call is worth $10.45. The chance it ends in the money under the pricing measure is 56.0%.

06How it is built

  1. Assume under the risk-neutral measure, so is normal with mean and variance .
  2. The call is worth .
  3. Split the expectation: and .
  4. Put it together: .

07The common mistake

Reading as the real-world chance of finishing in the money. It is the risk-neutral probability; the real chance depends on the stock's actual expected return, which the formula deliberately leaves out.

08In Python and LaTeX

from math import log, sqrt, exp
from scipy.stats import norm
S, K, r, sigma, T = 100, 100, 0.05, 0.2, 1.0
d1 = (log(S/K) + (r + sigma**2/2)*T) / (sigma*sqrt(T))
d2 = d1 - sigma*sqrt(T)
C = S*norm.cdf(d1) - K*exp(-r*T)*norm.cdf(d2)
print(round(C, 4))  # 10.4506
C = S\,N(d_1) - K e^{-rT} N(d_2), \quad d_{1,2} = \frac{\ln(S/K) + (r \pm \tfrac12\sigma^2)T}{\sigma\sqrt{T}}

09Where it fits

Rather not code the maths yourself? Describe your trading idea and let AI build the bot.

Build a bot with AgenKit

The worked example and the model run the same code, so every number matches. Models simplify markets on purpose. This is education, not financial advice.