pyth.py

Created by juliette-1

Created on February 13, 2025

1.13 KB


 Margin call : short ou long 
 Convenience Yield 
y = r + u/S  1/Tln(F/S) 
 Arbitrage profit per contract 
-  Calcul du prix théorique du contrat future à partir du prix Spot 
F0 = S0e^(r-q)*T
-  Calcul du prix du future 
-  On observe la différence pour savoir si le prix du future est sous évalué 
 Optimal hedge ratio 
h* = p*SDS/SDF
 Optimal number of futures contract 
N = h*xVs/Vc = BxVs/Vc 
N = (B*-B)*P/V
 Formula to calculate the forward price of a currency using continuous compounding 
F0 = S0*e^(r2-r1)T
 Forward price formula of a currency with discrete compounding
F0 = S0*(1+r2/m)^Tm/(1+r1/m)^Tm 
ATTENTION : T = m/T = T + bien être en % 
 Trouver la valeur dun forward 
-  Compounded continuously & Sans dividende 
F0 = S0e^rt
-  Compounded anually/ monthly & sans dividende 
F0 = S0(1+r/m)^m
-  Compounded continuously & Avec dividende continus
F0 = S0e^(r-q)T
-  Compounded anually/ monthly & Avec dividende continus 
S0 (1+r/m)^m/(1+q/m)^m
-  Compounded continuously & Avec dividendes ponctuels 
F0 = (S0  PV(D))e^rt
ATTENTION : Si on décide de mettre fin au contrat plus tôt 
Ft = (S0  PV(D))e^r(T-t) 

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.