代写Angewandte Finanzmathematik 2024: Introduction to the Black–Scholes World帮做Matlab编程

Angewandte Finanzmathematik 2024:

Introduction to the Black–Scholes World

1 Practicalities and background

Upon passing the exam, attending and solving the exercises give a bonus to the final grade.

We assume that the following concepts are familiar:

1. Probability space, random variables, expectation, convergence concepts.

2. Conditional expectations, martingales.

3. The fundamentals of discrete time financial mathematics.

For a remote graphical access to Matlab, you can login to the computers

❼ math12.math.lmu.de

❼ mathw0g.math.lmu.de

You will need

1. a program supporting X11-forwarding (e.g. Cygwin),

2. SSH program with rdp connections (e.g. Bitvise),

3. a VPN connection to LRZ (Anyconnect client, downloadable from LMU service portal).

Alternatively, you can use the online version of Matlab.

2 Introduction

2.1 Popular financial products

Throughout the course, St i denotes the market price of an asset i at time t.

Example 2.1 (Put and call options). A European call option on the asset i is a contract where the seller has the obligation to deliver the asset i at the given maturity time T for a given strike price K. At time T, the buyer has the possibility to exercise the option, that is, to buy the asset from the seller at price K. The gain for the buyer is

cC := (ST i − K) + := max{ST i − K, 0},

since he can get the asset from the option seller at price K and sell it immediately on the market with the market price ST i . We call cC the payoff of the call option.

A European put option on the asset i is a contract where the seller has the obligation to buy the asset i at the given maturity time T for a given strike price K. At time T, the buyer has the possibility the exercise the option, that is, to sell the asset to the seller at price K. The payoff for the buyer becomes

cP := (K − ST i ) + := max{K − ST i , 0}.

Put and call options are prototype examples of Vanilla options that depend only on the terminal price of the underlying asset. When this is not the case, the option is called path-dependent.

Example 2.2 (Asian options). An Asian call option with maturity T and strike K has the payof

cAC := (S¯ T i − K) +,

where S¯ T i is the ”average price” of the asset over the time interval [0, T]. The exact form. of the average price is part of the contract, e.g., it could be arithmetic mean of the prices at given time points t1, . . . , tN = T so that ¯ST i = N 1 P N k=1 St i k .

For a set A, we denote ✶A(s) = 1 if s ∈ A and ✶A(s) = 0 otherwise.

Example 2.3 (Down-and-out and other Barrier options). Given a strike K, ma-turity T and a barrier B > 0, the down-and-out call option has the payof

The payoff of an up-and-in call option with the same strike and maturity is

Barrier put options have similar payoffs. For example, down-and-in put options have payoffs of the form.

Options that depend on multiple underlying assets are called rainbow options.

Example 2.4 (Basket options). Given a set of assets indexed by i = 1, . . . , I and positive coefficients ai, i = 1, . . . I, the payoff of the corresponding basket call option is

Similarly, the basket put option has the payof

Example 2.5 (Spread options). Given two assets S1 and S2 , the payoff of the corresponding spread call option is

Similarly, the spread put option has the payof

Example 2.6 (Calls and puts on max and min). Given to assets S1 and S2, the payoff of the corresponding call-on-max option is

Similarly, the put-on-min option has the payof

Many options depend on quantities that are not tradable on markets.

Example 2.7 (Options on non-tradables). Let ξT be the temperature (somewhere of interest) at time T, and consider options with the payoffs

with a given strike K.

Example 2.8 (American options*). The holder of an American option may choose to exercise the option at any time before the terminal time T. For exam-ple, for an American call on S i with strike K, the payoff, if the holder chooses to exercises the option at time t, is

In contrast to all the above options, the holder of an American faces an opti-mization problem when to exercise the option.

2.2 Exercises

In all the exercises, examples in Matlab online help pages help you to write the actual code.

Exercise 2.2.1. Write Matlab functions (as .m-files) of the payoff functions in Examples 2.1–2.6. Write them as functions of the underlying asset prices and strikes.

Exercise 2.2.2. Using the plot-function, plot the European call option, for a fixed strike K, as a function of the underlying asset price ST . Plot the European call option as a function of the underlying asset price ST for two different strikes in the same figure.

Exercise 2.2.3. Using the mesh-function (or surf-function), draw a 3D-graph of the spread call option as a function of the underlying asset prices ST 1 and ST 2 .

2.3 Basic properties of Brownian motion

Let (Ω, F,(Ft) T t=0, P) be a filtered probability space. We consider continuous time stochastic processes only on the ”time interval” [0, T]. A family S := (St)t∈[0,T] of Rd–valued random variables St is called an R d–valued continuous time stochastic process. The process is called adapted if St is Ft-measurable for each t ∈ [0, T].

Given ω ∈ Ω, the function t 7→ St(ω) is called as a path, or a trajectory or a realization, of the process S. Instead of considering a stochastic process as an indexed family of R d -valued random variables, one may thus think of a stochastic process as a family of random paths, trajectories, etc. In some cases (less in this course), it is helpful to think of a stochastic process S as a function (ω, t) 7→ St(ω) from the product space Ω × [0, T] to R d . If the paths of a continuous time process are P-almost surely continuous, then the process is called a continuous stochastic process.

For a random variable η ∈ (Ω, F, P), we denote η ∼ N(µ, σ2 ) when η is a normally distributed random variable with mean µ and standard deviation σ.

Remark 2.9. We often use the property that for η ∼ N(0, σ2 ) and positive integer m, there is a constant L such that Eη2m = Lσ2m,

Definition 2.10. An adapted continuous stochastic process W is a Brownian motion, if it has independent increments in the sense that, for all 0 ≤ t0 < t1 < · · · < tn the random variables {Wti − Wti−1 | i = 1, . . . n} are independent, and Wt − Ws ∼ N(0, t − s) for all 0 ≤ s < t ≤ T,

From now on we assume, unless stated otherwise, that given a Brownian motion W, it starts at zero, that is, W0 = 0.

Exercise 2.3.1. Show that a Brownian motion W is a martingale, that is, for all s < t ≤ T, s > 0, we have E|Wt| < ∞ and

E[Wt | Fs] = Ws.

Here we assume that the increments of W are independent of the filtration in the sense that, for all s < t, the random variable Wt − Ws is indenpendent of Fs. This is the case, .e.g., when the filtration is generated by W.

In the definition of Brownian motion, it possible to omit the assumption that the paths are continuous. This follows from the famous Kolmogorov’s conti-nuity criterion. Recall that a continuous function f : [0, T] → R is α-H¨older continuous if there is L ∈ R such that

|ft − fs| ≤ L|t − s| α ∀ 0 ≤ s ≤ t ≤ T.

Theorem 2.11 (Kolmogorov’s continuity criterion). Let S be a stochastic pro-cesses with

E |St − Ss| a ≤ L|t − s| 1+b ∀ s < t              (2.1)

for some constants a ≥ 1, b, L > 0. Then there exists a continuous stochastic process S˜ that is a modification of S in the sense that P(S˜ t = St) = 1 for all t. Moreover, S˜ is α-H¨older continuous almost surely for any α ≤ b/a.

Exercise 2.3.2. Using Remark 2.9, show that, for any ϵ > 0, Brownian motion has (1/2 − ϵ)-H¨older continuous paths almost surely.

From the computational perspective, Brownian motion has the important prop-erty that it can be approximated by piece-wise constant ”discrete-time random walks” that have independent increments. Such random random walks are easy to simulate which is the basis of Monte Carlo methods that is the main topic of the course.

Recall that a sequence of random variables (η ν ) converges in distribution to the random variable η if

P(η ν ≤ x) → P(η ≤ x)

for all x ∈ R such that x 7→ P(η ≤ x) is continuous (i.e., for all x such that the cumulative distribution function of η is continuous at x). A sequence of vectors of random variables (η1 ν , . . . ηk ν ) converges in distribution to (η1, . . . , ηk) if

P((η1 ν , . . . , ηk ν ) ≤ x) → P((η1, . . . , ηk) ≤ x)

for all x ∈ R k such that x 7→ P((η1, . . . , ηk) ≤ x) is continuous.

Theorem 2.12 (The central limit theorem). Let

for an i.i.d. (ξk)∞ k=1 sequence of random variables with Eξk = 0 and E(ξk) 2 = 1.

We have

                       (2.2)

for a random variable η ∼ N(0, 1).

For continuous time stochastic processes S (n) , n = 1, 2, . . . and S, S (n) converges in finite dimensional distributions to S, denoted by

if, for all integers k and all 0 ≤ t0 < · · · < tk ≤ T,

Theorem 2.13. Let

for an i.i.d. (ξk)∞ k=1 sequence of random variables with Eξk = 0 and E(ξk) 2 = 1. Then

for a Brownian motion W.

Proof. Using the central limit theorem and ⌊nt n ⌋ → t when n → ∞, we get

as n → ∞. Let now t < u. The random variables Yu (n) − Yt (n) are independent from the variables Yt (n) , since

and the random variables ξk (n) are independent. Repeating the previous argu-ments we get

We observe that the variables ∆Yt (n)i:= Yt (n)i− Yt (n)i−1 are mutually independent for all 0 ≤ t0 < t1 < · · · < tN ≤ T. Thus the process Y (n) has independent increments, and so

The proof is finished by the next exercise.

Exercise 2.3.3. Recall the continuous mapping theorem: If (η0 ν , . . . , ηk ν ) −−→ d (η0, . . . , ηk), then f(η0 ν , . . . , ηk ν ) −−→ d f(η0, . . . , ηk) for any continuous function f : Rk → Rn.

Use the continuous mapping theorem to finish the proof of Theorem 2.13.




热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图