The Claude Quant PlaybookDownload ebookDownload ebook

Implied volatility

intermediateOptions10 of 14

Implied volatility is the market's option price written as a volatility. There is no formula for it: you solve Black–Scholes backwards, usually by trial and error.

Build a trading system with Claude.Download ebook

01The formula

the volatility that makes Black–Scholes match the market price
the Black–Scholes call price as a function of σ
the price the option actually trades at

02See it move

03Where it is used

04Why traders use it

Price depends on strike, expiry and rates; implied volatility strips those out. It is the single number that tells you whether an option is cheap or expensive.

05Worked example

A call on a $100 stock, strike $100, 1.00 year, trading at $12.34, has an implied volatility of 25.01%.

06How it is built

  1. The call price rises steadily with , from its lowest possible value up to .
  2. So for any market price in that range there is exactly one that matches it.
  3. Find it numerically: bisection (halve the range each time) or Newton's method using vega as the slope.

07The common mistake

Assuming one implied volatility per stock. Each strike and expiry has its own; plotted together they form the volatility smile or skew, which Black–Scholes alone cannot explain.

08In Python and LaTeX

from scipy.optimize import brentq
from scipy.stats import norm
from math import log, sqrt, exp
def bs_call(S,K,r,s,T):
    d1=(log(S/K)+(r+s*s/2)*T)/(s*sqrt(T)); return S*norm.cdf(d1)-K*exp(-r*T)*norm.cdf(d1-s*sqrt(T))
iv = brentq(lambda s: bs_call(100,100,0.05,s,1)-12.34, 1e-4, 5)
print(round(iv, 4))
\sigma_{\text{imp}}:\quad C_{\text{BS}}(S, K, r, T, \sigma_{\text{imp}}) = C_{\text{market}}

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.