binomiale.py

Created by juliette-1

Created on June 23, 2025

1.24 KB


Calcul des paramètres u et d pour un arbre binomial 
u = e^volatility.sqrt(t)
d = 1/u 

Construire larbre des prix
Nœud 0 :  S0=5110 
Nœuds à 1 mois :
Su=S0×u  
Sd =S0×d
Nœuds à 2 mois : 
Suu = Su ×u
Sud = Su ×d = Sdu = retombe au spot 
Sdd = Sd ×d

Calcul de la proba neutre au risque
p = exp(rt)  d/ u-d 
Probabilité neutre au risque : 55,44% de hausse dans l'arbre

Calculate the risk-neutral probabilities associated with the 3 possible final 
S&P 500 index values.
On doit utiliser 
p^2
2p(1-p)
(1-p)^2

Remplir l’arbre binomial : 
-  En haut : la valeur de l’action à chaque période 
-  En bas : le prix du call ou du put 
Dernière colonne : payoff 
Payoff put=max(K−ST,0)
Payoff call = max(ST-K, 0)
Avant dernière : prix du call ou du put 
Ensuite, lorsqu’on cherche le prix du call on utilise la formule ci-joint et on 
remonte en l’utilisant. 
Valeur de l’option = exp(-rt)*(q*Vu + (1-q)*Vd) 
 
q = proba neutre au risque d’up
Vup = valeur de l’option si l’action monte

Why the price you have obtained is different from the one prevailing on the market
Wrong volatility input (estimate)
Only 2 steps in our binomial tree
Market is wrong
Dividends are not accounted for

Profit d’arbitrage = prix du put sur le marché – prix théorique 

During your visit to our site, NumWorks needs to install "cookies" or use other technologies to collect data about you in order to:

With the exception of Cookies essential to the operation of the site, NumWorks leaves you the choice: you can accept Cookies for audience measurement by clicking on the "Accept and continue" button, or refuse these Cookies by clicking on the "Continue without accepting" button or by continuing your browsing. You can update your choice at any time by clicking on the link "Manage my cookies" at the bottom of the page. For more information, please consult our cookies policy.