Highlights
1. Implied volatility
Sub bisecIVO extracts the implied volatility with a bisection convergence algorithm. Sub NewtonRaph son() does the same job but using a supposedly more efficient convergence algorithm.
• Explain how both codes function by commenting in the VBA
• Modify Newton-Raphson() so that it incorporates the tolerance parameter as an argument (input) instead of defining it in the code. - reports in the spreadsheet the number of iterations needed for convergence.
• Compare both algorithms.
2. Monte-Carlo pricing
Function MCVanilla() returns the Monte-Carlo estimate of a vanilla option. Modify this code such that it returns the x% interval of confidence for the option price as well as the running time.
Optional: If you feel like having fun with barrier option you can also do the following Function cuo() has been coded so that it returns the Rubinstein and Reiner (1991) closed-form solution for the value of an up-and-out call option in a continuous-time when the underlying follows a geometric Brownian motion.
Program function MCcuo() that returns the Monte Carlo estimate of up and outcall options that pay off at expiration max(ST - K;0) x 1s<h
2.1 Monte Carlo simulation of the performance of the strategies for vanilla options:
We shall now investigate how the dynamic strategy performs in a Monte Carlo simulation framework. The objective is to programme subroutines in VBasic that return the mean gain or loss with standard deviation to the writer of the call following a delta-neutral hedging scheme for a number of simulations nbSimul.Your VBA code should be organized as follows:
• Step 1: Extract the relevant information from the Excel spreadsheet, send it to VBA and initialize the hedging portfolio composition.
• Step 2: Programma first loop (inner loop) on the number of rebalancing steps that draws a random return for the period - calculates the hedge ratio updates the portfolio composition and value.
• Step 3: After the end of the loop, store the terminal gain or loss for this sample-path.
• Step 4: Programma second loop (outer loop) on the number of simulations that re-runs the whole hedging strategy for another sample-path.
• Step 5: Return in the Excel spreadsheet the relevant performance measures (mean, standard deviation, min, max, ...)
You need to:
• write VBasic functions that return the Black-Scholes price and the delta for both European call and put options on an underlying that pays dividends at a continuous rate q,
• simulate a random lognormal path for the stock price over the 20 weeks
• program the delta-hedging scheme and compute the total net gain or loss to the writer in each case.
In addition, you can add a button allowing to re-run the weekly rebalancing for a new trajectory.
This Accounting and Finance Assignment has been solved by our Accounting and Finance Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.
Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.