Exercises of computational methods in finance

Slides:



Advertisements
Similar presentations
Hedging with Black and scholes Analytical Finance I Ellen Bjarnadóttir, Helga Daníelsdóttir and Koorosh Feizi.
Advertisements

E(X 2 ) = Var (X) = E(X 2 ) – [E(X)] 2 E(X) = The Mean and Variance of a Continuous Random Variable In order to calculate the mean or expected value of.
Black-Scholes Equation April 15, Contents Options Black Scholes PDE Solution Method.
MGT 821/ECON 873 Volatility Smiles & Extension of Models
Value-at-Risk on a portfolio of Options, Futures and Equities Radhesh Agarwal (Ral13001) Shashank Agarwal (Sal13003) Sumit Jalan (Sjn13024)
Session 9b. Decision Models -- Prof. Juran2 Overview Finance Simulation Models Securities Pricing –Black-Scholes –Electricity Option Miscellaneous –Monte.
1 16-Option Valuation. 2 Pricing Options Simple example of no arbitrage pricing: Stock with known price: S 0 =$3 Consider a derivative contract on S:
1 (of 31) IBUS 302: International Finance Topic 11-Options Contracts Lawrence Schrenk, Instructor.
Chapter 20 Basic Numerical Procedures
Options and Speculative Markets Introduction to option pricing André Farber Solvay Business School University of Brussels.
CHAPTER 21 Option Valuation. Intrinsic value - profit that could be made if the option was immediately exercised – Call: stock price - exercise price.
Numerical Methods for Option Pricing
CF-3 Bank Hapoalim Jun-2001 Zvi Wiener Computational Finance.
Continuous Random Variables and Probability Distributions
Pricing an Option Monte Carlo Simulation. We will explore a technique, called Monte Carlo simulation, to numerically derive the price of an option or.
The Lognormal Distribution MGT 4850 Spring 2008 University of Lethbridge.
Price an Asian option by PDE approach 5/ PDE & the pricing of an option The advantages of the PDE approach are that it is generally faster than.
Binnenlandse Francqui Leerstoel VUB Black Scholes and beyond André Farber Solvay Business School University of Brussels.
University of Minnesota, Jan. 21, 2011 Equity Derivatives Dave Engebretson Quantitative Analyst Citigroup Derivative Markets, Inc. January 21, 2011.
Derivatives Introduction to option pricing André Farber Solvay Business School University of Brussels.
Hedge with an Edge An Introduction to the Mathematics of Finance Riaz Ahmed & Adnan Khan Lahore Uviersity of Management Sciences Monte Carlo Methods.
Lecture 11 Implementation Issues – Part 2. Monte Carlo Simulation An alternative approach to valuing embedded options is simulation Underlying model “simulates”
Chapter 20 Option Valuation and Strategies. Portfolio 1 – Buy a call option – Write a put option (same x and t as the call option) n What is the potential.
Lecture 7: Simulations.
Ewa Lukasik - Jakub Lawik - Juan Mojica - Xiaodong Xu.
Advanced Risk Management I Lecture 6 Non-linear portfolios.
The Black-Scholes Model for Option Pricing - 2 -Mahantesh Halappanavar -Meeting-3,
18.1 Options, Futures, and Other Derivatives, 5th edition © 2002 by John C. Hull Numerical Procedures Chapter 18.
The Oxford Guide to Financial Modeling by Ho & Lee Chapter 15. Risk Management The Oxford Guide to Financial Modeling Thomas S. Y. Ho and Sang Bin Lee.
McGraw-Hill/Irwin © 2007 The McGraw-Hill Companies, Inc., All Rights Reserved. Option Valuation CHAPTER 15.
Simulating the value of Asian Options Vladimir Kozak.
Chapter 14 Monte Carlo Simulation Introduction Find several parameters Parameter follow the specific probability distribution Generate parameter.
RNGs in options pricing Presented by Yu Zhang. Outline Options  What is option?  Kinds of options  Why options? Options pricing Models Monte Carlo.
More on Models and Numerical Procedures Chapter :13.
Smart Monte Carlo: Various Tricks Using Malliavin Calculus Quantitative Finance, NY, Nov 2002 Eric Benhamou Goldman Sachs International.
Chapter 26 More on Models and Numerical Procedures Options, Futures, and Other Derivatives, 8th Edition, Copyright © John C. Hull
1 MGT 821/ECON 873 Numerical Procedures. 2 Approaches to Derivatives Valuation How to find the value of an option?  Black-Scholes partial differential.
1 Chapter 19 Monte Carlo Valuation. 2 Simulation of future stock prices and using these simulated prices to compute the discounted expected payoff of.
Valuation of Asian Option Qi An Jingjing Guo. CONTENT Asian option Pricing Monte Carlo simulation Conclusion.
Basic Numerical Procedures Chapter 19 1 Options, Futures, and Other Derivatives, 7th Edition, Copyright © John C. Hull 2008.
Basic Numerical Procedure
Functional Ito Calculus and PDE for Path-Dependent Options Bruno Dupire Bloomberg L.P. PDE and Mathematical Finance KTH, Stockholm, August 19, 2009.
Lecture 1: Introduction to QF4102 Financial Modeling
Monte-Carlo Simulation. Mathematical basis The discounted price is a martingale (MA4257 and MA5248).
© The MathWorks, Inc. ® ® Monte Carlo Simulations using MATLAB Vincent Leclercq, Application engineer
Functional Itô Calculus and Volatility Risk Management
© K.Cuthbertson, D. Nitzsche FINANCIAL ENGINEERING: DERIVATIVES AND RISK MANAGEMENT (J. Wiley, 2001) K. Cuthbertson and D. Nitzsche Lecture Asset Price.
Non-Uniform Adaptive Meshing for One-Asset Problems in Finance
Chapter 21 Principles of Corporate Finance Tenth Edition Valuing Options Slides by Matthew Will McGraw-Hill/Irwin Copyright © 2011 by the McGraw-Hill Companies,
Monte-Carlo Simulations Seminar Project. Task  To Build an application in Excel/VBA to solve option prices.  Use a stochastic volatility in the model.
Chapter 19 Monte Carlo Valuation. Copyright © 2006 Pearson Addison-Wesley. All rights reserved Monte Carlo Valuation Simulation of future stock.
MAT 4830 Mathematical Modeling 04 Monte Carlo Integrations
Lecture 3 Types of Probability Distributions Dr Peter Wheale.
OPTIONS PRICING AND HEDGING WITH GARCH.THE PRICING KERNEL.HULL AND WHITE.THE PLUG-IN ESTIMATOR AND GARCH GAMMA.ENGLE-MUSTAFA – IMPLIED GARCH.DUAN AND EXTENSIONS.ENGLE.
Numerical Analysis -Applications to SIR epidemic model and Computational Finance - with MATLAB Jaepil LEE.
Numerical Methods for derivatives pricing. 2 American Monte Carlo It’s difficult to price an option with early exercise using Monte Carlo But some options.
Chapter 19 Monte Carlo Valuation. © 2013 Pearson Education, Inc., publishing as Prentice Hall. All rights reserved.19-2 Monte Carlo Valuation Simulation.
Primbs, MS&E Applications of the Linear Functional Form: Pricing Exotics.
Computer Simulation Henry C. Co Technology and Operations Management,
Chapter 19 Monte Carlo Valuation.
DERIVATIVES: Valuation Methods and Some Extra Stuff
CS 179 Lecture 17 Options Pricing.
Mathematical Finance An Introduction
Pricing Barrier Options Using Monte Carlo Simulation
Equity Option Introduction and Valuation
Lectures 3 – Monte Carlo method in finance: Lab
American Equity Option Valuation Practical Guide
Monte Carlo Simulation
Monte Carlo Valuation Bahattin Buyuksahin, Celso Brunetti 12/8/2018.
Numerical Methods in Finance
Presentation transcript:

Exercises of computational methods in finance Nikos Skantzos

Left: Call(K1) + Put(K2): Strangle Decompose the following strategies into simple Call and Put positions (short or long). Discuss advantages and disadvantages of each of the strategies Left: Call(K1) + Put(K2): Strangle Advantages: protection against volatility (profit for low spots, profit for high spots) Disadvantages: Expensive Middle: ½Call(K1) + ½ Put(K2)-Call(K)-Put(K): Butterfly Advantages: cheap Disadvantages: profit limited with the two strikes Right: Call(K1) - Put(K2): Risk reversal Advantages: cheaper than vanilla Disadvantages: gives risk for losses if spots is low

Integrate numerically the function exp(-x²/2) between –4 and +4, using an interval of dx=0.01.

Differentiate numerically and analytically the function exp(-x²/2).

Write a program in VBA that calculates the functions min(a,b) and max(a,b) using the min / max of two numbers.

Write a program in VBA to generate a brownian motion W(t) Write a program in VBA to generate a brownian motion W(t). The input parameters are: the number of time steps, the final time. As an output, the function should return the simulated trajectory.

Use the function of exercise 4 to calculate the variance of the final value of a brownian trajectory with dt=0.01, on the basis of 1000 realisations. Change the time-increment to dt=0.5 and explain why the variance increases.

Write a programe in VBA to compute a Black-Scholes price (analytic formula) for a Call option: Call(S, K, s, r, q, T).

Compare the price of a simple call option to the price call with a barrier where the barrier level H increases.

What is the value of a 3m call on EUR/USD, rEUR = 4%, rUSD = 5% vol=25%, K=1.3 for different values of the spot. For each point of the curve calculate the Delta using finite differences and the analytic formula. If S=1.27, what is the cost of an option on 1,000,000 EUR notional? And on an option on 1,000,000 USD notional?

Write a VBA program that generates variables of a normal distribution of mean μ and variance σ using the VBA uniform random number generator. Calculate the mean and the variance of the samples.

Write an Excel method that calculates the cumulative function of a normal density function e-x*x/2/√(2π)

Using Excel calculate Black-Scholes spotladder (price of a call option for various spot levels) for different values of (i) volatility, (ii) maturity, (iii) rates. What is the impact of each of these on the price of the option?

Calculate with Monte Carlo the value of an Asian put option and compare with the value of the corresponding vanilla put. How do you explain the difference in the prices?

Programm a VBA function allowing the pricing of a Call with Monte-Carlo: Call(S, K, s, r, q, T, Nsimu). Compare with the exact solution from Black-Scholes formula

Calculate the number p using a Monte-Carlo method

Write a VBA program that calculates the value of a digital option with Monte Carlo simulations. Compare with the analytic result.

Calculate the price of a knock-out option using Monte Carlo and the formula for the surviving probabilities

Price a call option using the explicit PDE method and compare the result to the Black-Scholes formula.

Write a VBA program that generates variables of a normal distribution of mean μ and variance σ using the VBA uniform random number generator. Calculate the mean and the variance of the samples.

Write an Excel method that calculates the cumulative function of a normal density function e-x*x/2/√(2π)