Binomial Model: One Period

The one-period binomial model in a nutshell — stock goes up or down, we build a risk-free portfolio, and derive the hedge ratio Δ and call option price.

Now we’re right at the Binomial Model.

Why is it called “binomial,” you ask?

OK let me back up and tell the story first.

So: predicting stock prices is, by most accounts, completely impossible.

Like, how would you even do that? The whole idea just sounds absurd.

But people started thinking a little differently.

“Alright, fine — let’s say exact prediction is totally off the table. But couldn’t we at least know whether the price went up or down?!?!?!!!!”

“If we could just know that much, we could actually invest with some peace of mind!!!”

So that’s the model assumption: over each period we allow two specified stock-price outcomes, an ‘up’ state and a ‘down’ state, and use them to find the theoretical option price. It is a simplified pricing tree, not a way to predict which direction the real stock will move.

That’s why it’s called ‘binomial,’ apparently.

More specifically:

“There are only two possible outcomes for a stock price: it goes up, or it goes down. (Just like flipping a coin — discrete probability!)”

For now, we’re only going to study the ‘one-period’ model.

Equation from the original notes

Two points in time: right now, and the expiration date. That’s the whole setup. That’s what it means.

The baked-in assumptions: a European option, no dividends, frictionless no-arbitrage trading, and borrowing/lending at a common continuously compounded risk-free rate $r$. Require $d\lt e^{rT}\lt u$ so the pricing weights lie between zero and one.

Let’s calculate the present value of a Call option over one period.

Equation from the original notes

The underlying asset has a current price of $S$.

After one period, it can either go up to $S \times u$ (where $u > 1$), or down to $S \times d$ (where $0 < d < 1$).

And we’re going to construct a risk-free portfolio.

The construction: buy $\Delta$ shares of the underlying asset at price $S$, and sell one call option. We choose $\Delta$ to make the two terminal portfolio values equal.

The present value of the portfolio:

Equation from the original notes

is

Equation from the original notes

And after one period, the portfolio’s value becomes:

Equation from the original notes

<$c_u$, $c_d$ — from what we did before: if $S \geq K$ then $c = S - K$, if $S < K$ then $c = 0$. That’s that.>

Since this is a risk-free portfolio, the value must come out the same whether the price went up or down. So we get:

Equation from the original notes

And if we play around with that equation a bit —

Equation from the original notes

$\Delta$ is the number of shares we need to hold.

This $\Delta$ is called the ‘hedge ratio,’ apparently.

And here’s the other thing — its common terminal value must equal today’s portfolio value grown at the risk-free rate! Equivalently, discount that terminal amount by $e^{-rT}$ to get today’s value. Risk-free does not mean the same number at different dates.

Equation from the original notes

Equation from the original notes

So then —

Equation from the original notes

Equation from the original notes

That blue part!! — that’s the value before being discounted to present value. We can call this the risk-neutral expected terminal payoff of $c$. The weight $\rho$ is for no-arbitrage pricing, not a forecast of the real-world up probability.

One thing worth noticing: it’s in the form of a weighted sum. This is going to be an absolutely critical concept when we generalize later!!! The weighted sum! heh


OK let me code this up and wrap this post.

Check the code against a replicating portfolio

Before running anything, let’s finish the particular sample used below: $S=100$, $K=100$, $u=1.1$, $d=1/u$, $r=0.05$, and $T=1$ year, with continuous compounding and the assumptions stated above. These are the code’s illustrative inputs, not an estimate from market data.

The up-state call payoff is $c_u=\max(110-100,0)=10$; the down-state payoff is $c_d=\max(100/1.1-100,0)=0$. Hence

$$ \rho=\frac{e^{0.05}-1/1.1}{1.1-1/1.1}\approx0.744753, \qquad \Delta=\frac{10-0}{100(1.1-1/1.1)}\approx0.523810. $$

The hedge is still buy $\Delta$ shares and sell one call. Check its terminal value in both states:

Terminal state Stock price Call payoff Value of $\Delta$ shares $\Delta S_T-c_T$
Up 110.000000 10.000000 57.619048 47.619048
Down 90.909091 0.000000 47.619048 47.619048

The common terminal amount is 47.619048; its present value is $47.619048e^{-0.05}\approx45.296639$. Today’s shares cost $\Delta S\approx52.380952$, so the call premium that makes the initial hedge cost match that present value is

$$ C=52.380952-45.296639\approx7.084313. $$

The risk-neutral route gives the same answer: $C=e^{-0.05}[\rho\times10+(1-\rho)\times0]\approx7.084313$. The table is a check on the replication argument, rather than a guess about which state is more likely.

In Excel’s VBA editor, run the macro and open the Immediate window to see the value printed by Debug.Print c. In the Python example, the function fixes $T=1$ and $d=1/u$ internally; it is not yet a function with arbitrary maturity and separate up/down inputs. Both examples should report a call value of about 7.084313. Small differences in the final floating-point digits are normal.

CFA Institute’s public one-period binomial reading connects the same two pricing routes: a risk-free hedge and a discounted risk-neutral payoff.

Sub Binomial_European_One_period()  'The name I write here is the name I'll use for what I'm about to do.

Dim S as double, K as double, up as double, dn as double, rf as double, t as double, n as double

Dim rho as double, r as double, df as double, dt as double, c as double, cu as double, cd as double  'Names of everything I'll be using.

S=100: K=100: up=1.1: dn = 1/up: rf = 0.05: t=1: n=1  'The relationship up×dn = 1 is the particular tree parametrization used here — more on that later.

dt = t / n

r = exp(rf * dt)

df = 1/exp(rf * dt)  'Seems handy to make a discount factor like this — just multiply by df whenever you need to discount to present value.

rho = (r-dn)/(up-dn)

'Initial conditions~~

cu = Application.WorkSheetFunction.Max(S*up - K, 0)

cd = Application.WorkSheetFunction.Max(S*dn - K, 0)

c = ((rho)*cu + (1-rho)*cd)*df

Debug.Print c  'Reference result: approximately 7.084313 in the Immediate window.

End Sub

That red Application.WorkSheetFunction.Max part — I wanted to use the Max() function from Excel inside VBA, so I had to attach Application.WorkSheetFunction. in front of it. Apparently you can also just write WorkSheetFunction.Max() on its own, or even just Application.Max() — they all do the same thing, apparently.

Though this might vary a little depending on your Excel version, so just take it as a reference. (crying)

The main point: you cannot just write cu = Max(S*up - K, 0) by itself!!!! Max() is not a built-in VBA function — it has to be pulled in from somewhere else!!!!!!

Hahahahaha.

I also tried writing up the put option pricing, but suddenly I have absolutely zero motivation to type it all out, and a few days ago someone showed me this really useful app….

So I’m planning to coast through the remaining posts of my life hahahahahahaha

Equation from the original notes

Equation from the original notes

Equation from the original notes

Equation from the original notes

The Python example saves its chart in the directory where you run it; the author’s private Desktop folder is not required.

import numpy as np
import math
import matplotlib.pyplot as plt
def Binomial_European_One_period(S, K, up, rf):
    dn = 1/up
    t = 1
    n = 1
    dt = t/n
    r = np.exp(rf * dt)                  # For exponential you can use math.exp(x), or np.exp(x) from numpy
    df = 1/math.exp(rf * dt)             # 'df' stands for Discount Factor
    rho = (r-dn)/(up-dn)
    cu = max(S*up - K, 0)                # max is a built-in function!
    cd = max(S*dn - K, 0)
    c = (rho*cu + (1-rho)*cd) * df
    return c

Binomial_European_One_periodd = Binomial_European_One_period(S=100, K=100, up=1.1, rf=0.05)
print(Binomial_European_One_periodd)

SS = np.linspace(0, 200, 1000)
YY = np.zeros(len(SS))
for i in range(len(SS)):
    YY[i] = Binomial_European_One_period(S=SS[i], K=100, up=1.1, rf=0.05)

plt.figure(figsize=(6, 4))
plt.plot(SS, YY)
plt.xlabel('S')
plt.ylabel('P')
plt.title('Binomial_European_One_period')
plt.savefig('Binomial_European_One_period.png', dpi=200)

Reference output for the printed sample (rounded):

7.084313

The plot then varies $S$ while keeping the other sample inputs fixed.


Heads-up. The figures here are the original notes, slips and all. A few things to watch for:

  • In the call-option derivation, the middle fraction on the third line should read (C_u·u − C_d·u)/(u − d), not C_d·d; the line after it already uses the right term.
  • In the put-option derivation, the red note should end with −(e^{rT} − u)/(u − d): 1 − p = (u − e^{rT})/(u − d).
  • In the worked example, 8.5 × e^{−0.12×0.25} is about 8.25, not 8.7.

Questions or corrections?

Did a step lose you, or does a number look off? Email me or use the contact page. Include the note title and the step or figure you mean.

Feedback goes to me privately by email; it is not posted as a public comment.