Implementation of the black-scholes

Assignment Help C/C++ Programming
Reference no: EM131232252

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

Reference no: EM131232252

Questions Cloud

Explain the human resources needed for the project : Identify the human resources needed for the project. Assume you will need to hire people from the outside to fill these roles. Develop criteria for evaluating applicants responding to the ads.
How much does the system cost : How much does the system cost? Is there a base price for the server and then additional costs for clients? Consider the pricing model for the school district listed in the Final Project Document.
Develop supporting facts and arguments for each position : Prepare an essay of at least 1,500 words. The paper should be 12-point font, Times New Roman, and include a final source list.
Develop supporting facts and arguments for each position : Prepare an essay of at least 1,500 words. The paper should be 12-point font, Times New Roman, and include a final source list.
Implementation of the black-scholes : Sys-Computation Finance ISyE 6767 - 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
Three input cmos nand logic circuit : What is the optimum relation between the PMOS and NMOS width-to-length ratios for symmetrical switching speeds?
Make a program to transfer the same file from client side : In this project, you are required to make a program to transfer the same file from client side to server side for one hundred times with TCP/UDP protocol.
Identify the characteristics of the marketing plan : In developing a marketing plan, identify the characteristics of the marketing plan that P&G should implement to boost performance
Display current list contents using the enhanced for loop : Display the current list contents using the enhanced for loop along with appropriate output messages. Create a Listfterator object, iter, to be used in accessing the LinkedList contents.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Calculate and displays the number of slices of pizza

The manager of a pizza palace wants a program that calculate and displays the number of slices of pizza into which a circular pizza can be divided . The manager will enter the radius of the entire pizza.

  Repeat these questions by writing functions

Repeat these questions by writing functions that receive the arrays as constant reference parameters and return the appropriate values through the function name (via return statement). The function header could look like:

  Write a program that creates a binary file

Write a program that creates a binary file by reading the data for the students from the terminal .The data of each student consist of roll no. ,name ( a string of 30 or lesser no. of characters ) and marks.

  Determines and displays what the amount of his gross pay

Write a program that determines and displays what the amount of his gross pay will be for each pay period if he is paid twice a month (24 pay checks per year) and if he paid bi-weekly.

  Write a cgi script that will parse a program

Show that Merge Sort has an O(n lg n) running time by timing the code on the computer - Overview of the program for loop

  Write program which inputs number of winning coupons

Write a program which inputs number of coupons you win and outputs how many candy bars and gumballs you can get if you spend all off your coupons on candy bars first and remaining coupons on gumballs in c++.

  Program to produce a monthly sales report

As indicated, the report should also display the total number of automobiles sold by each salesperson and the total number of each model sold by all salespersons.

  Define a class called plot that has private members of lengt

Define a class called Plot that has private members of length and width. Include a constructor and a public function that calculates the area and the length of the boundary of the field.

  Write a program to simulate lines in a grocery store

Write a program to simulate lines in a grocery store. We want to determine what line configuration is best

  Create a program, using at least one for loop

Create a program, using at least one For loop, that displays the Sales Amounts made in each of 4 regions (North, South, East, and West) during a three month period.

  1 implement the tronomino tiling algorithm your program

1. implement the tronomino tiling algorithm. your program should take an arbitrary input positive integer k in the

  Hypothetical method lock over an object lock

Imagine a hypothetical version of Java where the object lock is replaced by a method lock. Under this system a call to a synchronised method would assign a lock for that method to the calling thread.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd