January 2020
Beginner to intermediate
432 pages
11h 24m
English
In the previous steps, we showed you how to reuse the GBM simulation to calculate the European call option premium. However, we can make the calculations faster, as in the case of European options we are only interested in the terminal stock price. The intermediate steps do not matter. That is why we only need to simulate the price at time T and use these values to calculate the expected payoff. We show how to do this by using an example of a European put option with the same parameters as we used before.
We start by calculating the option premium using the analytical formula:
black_scholes_analytical(S_0=S_0, K=K, T=T, r=r, sigma=sigma, type='put')
The calculated option premium is 16.9155.
Then, we define the modified simulation ...
Read now
Unlock full access