Sys-computation finance isye 6767 - consider an option


1. Investigation of the near term behavior of option prices as S0 and σ vary.

Based on the implementation of the Black-Scholes option pricing model in the lab session, output a csv-file "problem1.csv" containing a table of Black-Scholes prices for a call option with fixed K = 100, τ = 0.5, r = 0.01, q = 0 and varying σ, S0. σ is from 0.1 to 0.6 with increment 0.05, while S0 is from 85 to 115 with increment 5.

The expected output table is like below:

S\σ

0.1

0.15

...

0.55

0.6

85

 

 

 

 

 

90

 

 

 

 

 

...

 

 

 

 

 

110

 

 

 

 

 

115

 

 

 

 

 

2. Consider an option portfolio consisting of a long position in the call option in problem 1 with τ = 0.5 and a short position in a call option with a different time to expiration τ' = 0.4. Both call options have the same strike and the same underlying. (This position is called a "Call Calendar Spread". )

Output a csv-file "problem2.csv" of the portfolio's value for varying σ and S0. All the other parameters remains the same as problem 1.

Attachment:- cpp.rar

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Sys-computation finance isye 6767 - consider an option
Reference No:- TGS01626275

Expected delivery within 24 Hours