Skip to content

Commit 7b76a79

Browse files
authored
Merge pull request #16 from gregwinther/master
Another update of Black-Scholes project
2 parents 25e5964 + 99f3b8d commit 7b76a79

2 files changed

Lines changed: 18 additions & 239 deletions

File tree

doc/src/Projects/2020/Project5/BlackScholes/BlackScholes.do.txt

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ the stock moves like a geometric Brownian motion,
6868
Explicit solutions for the Black-Scholes equation,
6969
called The Black-Scholes formulae, are known only for
7070
European call and put options. For other derivatives, such
71-
a formula doest not have to exist. However, a numberical solution is
71+
a formula doest not have to exist. However, a numerical solution is
7272
always possible.
7373

7474
=== 5a: Transformation to Heat Equation/Diffusion equation ===
@@ -135,8 +135,8 @@ can adapt the program to solve the Black-Scholes equation.
135135
Plot $V$ vs $S$ at different values for $t$ ($\tau$).
136136

137137
__Special considerations__
138-
The variable $x$ is unbounded, i,e. $s\in[-\infty, \infty]$. Numerically,
139-
we have to pick a bounded interval $[-L, L]$, wher $L$ is a sufficiently
138+
The variable $x$ is unbounded, i,e. $x\in[-\infty, \infty]$. Numerically,
139+
we have to pick a bounded interval $[-L, L]$, where $L$ is a sufficiently
140140
large number. This interval remain unchanged when considering an option with a
141141
different strike price.
142142

@@ -156,25 +156,33 @@ You should compare to the analytic solution, i.e. the Black-Scholes Formula:
156156

157157
!bt
158158
\begin{equation}
159-
C(S_t, t) = N(d_1) S_t - N(d_2) PV(K),
159+
C(S_t, t) = N(d_1) S_t - N(d_2) PV(E),
160160
\end{equation}
161161
!et
162-
where
162+
where the present value of the exercise price is
163+
given by
164+
!bt
165+
\begin{equation}
166+
PV(E) = Ee^{-rt},
167+
\end{equation}
168+
!et
169+
furthermore we have parameters $d_1$,
163170
!bt
164171
\begin{equation}
165172
d_1 = \frac{1}{\sigma \sqrt{T - t}}
166173
\left[
167-
\ln \left(\frac{S_t}{K} \right)
168-
+ \left(r + \frac{\sigma^2}{2} \right) (T - t)
174+
\ln \left(\frac{S_t}{E} \right)
175+
+ \left(r + \frac{\sigma^2}{2} \right) (T - t),
169176
\right]
170177
\end{equation}
171178
!et
172-
and
179+
and $d_2$,
173180
!bt
174181
\begin{equation}
175-
d_2 = d_1 - \sigma \sqrt{t}
182+
d_2 = d_1 - \sigma \sqrt{t},
176183
\end{equation}
177184
!et
185+
while $N$ is the cumulative normal distribution function.
178186

179187

180188
=== 5c: Compute values for first-order Greeks ===
@@ -209,7 +217,7 @@ of the larger listed companies such as Equinor, Norsk Hydro,
209217
Telenor, Mowi, Orkla etc. See for instance
210218
URL:"https://www.oslobors.no/markedsaktivitet/#/list/derivatives/quotelist/false"
211219

212-
Since there the marked already prices the options, one can use these options
220+
Since there the market already prices the options, one can use these options
213221
prices to derive the value of implicit variables. A common practice
214222
is to use the market-given prices of options to derive the
215223
implied volatility of the option.

doc/src/Projects/2020/Project5/BlackScholes/bsm.do.txt

Lines changed: 0 additions & 229 deletions
This file was deleted.

0 commit comments

Comments
 (0)