Heston Model Version 1.0.9

Similar documents
Libor Market Model Version 1.0

Interest Rate Volatility

Stochastic Differential Equations in Finance and Monte Carlo Simulations

Numerical schemes for SDEs

AN ANALYTICALLY TRACTABLE UNCERTAIN VOLATILITY MODEL

Advanced Topics in Derivative Pricing Models. Topic 4 - Variance products and volatility derivatives

Implementing the HJM model by Monte Carlo Simulation

Counterparty Credit Risk Simulation

The Black-Scholes Model

Monte Carlo Simulations

IEOR E4703: Monte-Carlo Simulation

The Black-Scholes Model

MLEMVD: A R Package for Maximum Likelihood Estimation of Multivariate Diffusion Models

NEWCASTLE UNIVERSITY SCHOOL OF MATHEMATICS, STATISTICS & PHYSICS SEMESTER 1 SPECIMEN 2 MAS3904. Stochastic Financial Modelling. Time allowed: 2 hours

Stochastic Modelling in Finance

Pricing Variance Swaps under Stochastic Volatility Model with Regime Switching - Discrete Observations Case

Calibrating to Market Data Getting the Model into Shape

Lecture 17. The model is parametrized by the time period, δt, and three fixed constant parameters, v, σ and the riskless rate r.

1.1 Basic Financial Derivatives: Forward Contracts and Options

25857 Interest Rate Modelling

CALIBRATION OF THE HULL-WHITE TWO-FACTOR MODEL ISMAIL LAACHIR. Premia 14

Queens College, CUNY, Department of Computer Science Computational Finance CSCI 365 / 765 Fall 2017 Instructor: Dr. Sateesh Mane.

Conditional sampling for barrier option pricing under the Heston model

European call option with inflation-linked strike

Interest Rate Curves Calibration with Monte-Carlo Simulatio

Crashcourse Interest Rate Models

1 The continuous time limit

An Overview of Volatility Derivatives and Recent Developments

Dynamic Relative Valuation

16. Inflation-Indexed Swaps

The Black-Scholes Model

CONTINUOUS TIME PRICING AND TRADING: A REVIEW, WITH SOME EXTRA PIECES

Extended Libor Models and Their Calibration

Lecture Note 8 of Bus 41202, Spring 2017: Stochastic Diffusion Equation & Option Pricing

Risk Neutral Valuation

Spot/Futures coupled model for commodity pricing 1

On VIX Futures in the rough Bergomi model

A THREE-FACTOR CONVERGENCE MODEL OF INTEREST RATES

Market interest-rate models

Theoretical Problems in Credit Portfolio Modeling 2

Simulating more interesting stochastic processes

King s College London

The stochastic calculus

The University of Chicago, Booth School of Business Business 41202, Spring Quarter 2011, Mr. Ruey S. Tsay. Solutions to Final Exam.

Simulating Stochastic Differential Equations

Quadratic hedging in affine stochastic volatility models

Pricing and hedging with rough-heston models

Stochastic Processes and Stochastic Calculus - 9 Complete and Incomplete Market Models

Modelling Credit Spread Behaviour. FIRST Credit, Insurance and Risk. Angelo Arvanitis, Jon Gregory, Jean-Paul Laurent

Stochastic Processes and Brownian Motion

Continous time models and realized variance: Simulations

STEX s valuation analysis, version 0.0

2 f. f t S 2. Delta measures the sensitivityof the portfolio value to changes in the price of the underlying

Chapter 14. The Multi-Underlying Black-Scholes Model and Correlation

Continuous Time Finance. Tomas Björk

Computer Exercise 2 Simulation

Lecture on Interest Rates

25857 Interest Rate Modelling

arxiv:cond-mat/ v2 [cond-mat.str-el] 5 Nov 2002

Lattice (Binomial Trees) Version 1.2

Dynamic Replication of Non-Maturing Assets and Liabilities

Asset Pricing Models with Underlying Time-varying Lévy Processes

Modeling via Stochastic Processes in Finance

MC-Simulation for pathes in Heston's stochastic volatility model

Stochastic Volatility

Hedging under Arbitrage

Youngrok Lee and Jaesung Lee

AN Asian option is a kind of financial derivative whose

Subject CT8 Financial Economics

Lecture 1: Stochastic Volatility and Local Volatility

Interest rate models and Solvency II

LOGNORMAL MIXTURE SMILE CONSISTENT OPTION PRICING

Pricing Guarantee Option Contracts in a Monte Carlo Simulation Framework

Optimal Search for Parameters in Monte Carlo Simulation for Derivative Pricing

MSC FINANCIAL ENGINEERING PRICING I, AUTUMN LECTURE 6: EXTENSIONS OF BLACK AND SCHOLES RAYMOND BRUMMELHUIS DEPARTMENT EMS BIRKBECK

FINANCIAL OPTION ANALYSIS HANDOUTS

Option Pricing. 1 Introduction. Mrinal K. Ghosh

( ) since this is the benefit of buying the asset at the strike price rather

Empirical Approach to the Heston Model Parameters on the Exchange Rate USD / COP

Multi-factor Stochastic Volatility Models A practical approach

Credit Risk : Firm Value Model

Stochastic Volatility (Working Draft I)

Premia 14 HESTON MODEL CALIBRATION USING VARIANCE SWAPS PRICES

Reading: You should read Hull chapter 12 and perhaps the very first part of chapter 13.

STOCHASTIC CALCULUS AND BLACK-SCHOLES MODEL

"Pricing Exotic Options using Strong Convergence Properties

Change of Measure (Cameron-Martin-Girsanov Theorem)

Lecture 3. Sergei Fedotov Introduction to Financial Mathematics. Sergei Fedotov (University of Manchester) / 6

Locally risk-minimizing vs. -hedging in stochastic vola

Application of Stochastic Calculus to Price a Quanto Spread

Illiquidity, Credit risk and Merton s model

Stochastic Volatility and Jump Modeling in Finance

Fast Quantization of Stochastic Volatility Models

An Efficient Numerical Scheme for Simulation of Mean-reverting Square-root Diffusions

Graduate School of Business, University of Chicago Business 41202, Spring Quarter 2007, Mr. Ruey S. Tsay. Solutions to Final Exam

Optimal Hedging of Variance Derivatives. John Crosby. Centre for Economic and Financial Studies, Department of Economics, Glasgow University

Time-changed Brownian motion and option pricing

LIBOR models, multi-curve extensions, and the pricing of callable structured derivatives

Calibration of Interest Rates

Tutorial. Using Stochastic Processes

Transcription:

Heston Model Version 1.0.9 1 Introduction This plug-in implements the Heston model. Once installed the plug-in offers the possibility of using two new processes, the Heston process and the Heston time dependent drift process. The latter is a generalization of the former in which a parameter is made time dependent. For a general reference on the Heston model see [1]. 2 How to use the plug-in 2.1 Heston process In the Fairmat user interface when you create a new stochastic process you will find the additional option Heston. The stochastic process is defined by the parameters shown in table below: Fairmat Documentation notation notation S0 S 0 V0 V 0 r r q q theta θ sigma σ S 0 and V 0 are the starting values for the stoc process and the volatility process, the others are parameters regulating the model dynamic. You can edit the model values shown in the table above directly on the Parameters tab of the Heston process window by double clicing on them. To set the value of the correlation parameter (called ρ in the following) you have to select the Heston process in the Stochastic Process window and then clic on Correlation. 1

3 Implementation Details 2.2 Heston with time dependent drift In the Fairmat user interface when you create a new stochastic process you will find the additional option Heston time dependent drift. The stochastic process is defined by the parameters shown in table below: Fairmat Documentation notation notation S0 S 0 V0 V 0 theta θ sigma σ zero rate curve ZR(t) dividend yield curve q(t) S 0 and V 0 are the starting values for the stoc process and the volatility process, the others are parameters regulating the model dynamic. They are all scalar except the Drift Curve, for this parameter you have to insert a reference to a curve. You can edit the model values as in the Heston case. Remember that to specify a reference to a previous defined curve mu you have to use the notation @mu. 3 Implementation Details The Heston model is used to describe the evolution of a stoc price (or an index) with stochastic volatility. It is defined by the following stochastic differential equations ds(t) = µs(t)dt + V (t)s(t)dw 1 (t) (1) dv (t) = (θ V (t))dt + σ V (t)dw 2 (t) (2) E[dW 1 (t)dw 2 (t)] = ρdt (3) where S represents the price process, V represents the volatility process and dw 1, dw 2 are correlated Wiener processes with instantaneous correlation ρ. The price process follows a geometric brownian motion with a stochastic volatility while the volatility follows a square root mean reverting process. Usually ρ is negative, so that a lowering in the stoc price is correlated with an increase in the volatility. The parameters have the following interpretation: µ is the rate of return of the stoc price is the speed of mean reversion θ is the mean reversion level. As t grows to infinity, the expected value of V (t) tends to θ: 2

3 Implementation Details σ is the volatility of volatility, in other words it regulates the variance of V (t). Parameters, θ and σ have to satisfy the constrain 2θ > σ 2 (nown as the Feller condition) in order to exclude the possibility for V (t) to reach 0. In the case of Heston with constant drift µ is set equal to r q where r is the ris free rate and q is the dividend yield rate of the stoc. If you use this ind of model be careful to use a constant discount with ris free rate equal to the r parameter. The Heston model with time dependent drift is defined by the same stochastic differential equations with the only difference that the µ parameter is timedependent so that equation (1) becomes ds(t) = µ(t)s(t)dt + V (t)s(t)dw 1 (t). (4) In this case the function µ(t) is given by µ(t) = dzr(t) t + ZR(t) q(t) (5) dt Indeed if we have to fix a time dependent deterministic short rate r(t) coherent with an observed zero rate function ZR(t) we have to impose that prices of zero coupon bond are given by both expression equating the two exponents we have P (0, t) = e t 0 r(s)ds = e ZR(t)t (6) t and deriving this expression in t gives us 0 r(s)ds = ZR(t)t (7) r(t) = dzr(t) t + ZR(t). (8) dt Given that µ(t) = r(t) q(t) we have justified formula (5). 3.1 Simulation and discretization scheme Applying straight Euler-Maruyama method to simulate a Heston process, we obtain this formula for the volatility component V t+1 = V t + (θ V t ) t + σ V t tn(0, 1) (9) where t = t n+1 t n and N(0, 1) represents a realization of a standard normal random variable. Even if the parameters satisfy the Feller condition it is possible for the discretized version of V to reach negative values. 3

4 Calibration This forces to use a different discretization scheme. In Fairmat simulations are carried out through Euler full truncation method described in [2], characterized by the equations log(s t+1 ) = log(s t ) + ( µ t V t + /2 ) t + V t + tn 1 (0, 1) (10) V t+1 = V t + ( θ V t + ) t + σ V t + tn 2 (0, 1) (11) where we have used the notation V + t = max{v t, 0} and where N 1 (0, 1), N 2 (0, 1) are realizations of two ρ-correlated standard normal random variable. Equation (11) can still generate negative values for V but when this happens the next simulation step will have the diffusion term suppressed letting the drift term tae the process toward positive values. This ind of discretization entails no discretization error in the stoc price process simulation (with the assumption that V t remains constant in every t) while it does introduce a small bias in the volatility process. To reduce bias error it is appropriate to simulate using small time steps, for example in [2] it is suggested to use at least 32 time steps per year. Both in [2] and in [3] it is stated that this discretization scheme, compared with other Euler-lie schemes, seems to produce the smallest bias. This algorithm is used for both Heston and Heston time dependent drift processes. 4 Calibration 4.1 Characteristic function and call price formula The characteristic function is defined as ] φ(u, t) = E [e iu log(s(t)) S0, V 0. (12) For the Heston model it is possible to obtain an explicit formula for the characteristic function where φ(u, t) = exp(iu(log S 0 + µt)) exp(θσ 2 (( ρσiu d)t 2 log((1 ge dt )/(1 g)))) exp(v 0 σ 2 ( ρσiu d)(1 e dt )/(1 ge dt )) (13) d = (ρσiu ) 2 + σ 2 (iu + u 2 ) (14) g = ρσiu d ρσiu + d. (15) The form of the φ function is not equal to that given in Heston original paper but it is an equivalent one which does not have the continuity problem when 4

4 Calibration integrated to find the price of an european call option. This issue is described in [4]. The price of an european call option with strie K and time to maturity T is given by the formula C(K, T ) = 1 2 [ S0 e qt Ke rt ] + e rt π 0 [f 1 (u) Kf 2 (u)] du (16) where the two functions f 1 and f 2 are [ ] exp( iu log K)φ(u i, T ) f 1 (u) = Re (17) iu [ ] exp( iu log K)φ(u, T ) f 2 (u) = Re. (18) iu 4.2 Dividend yield calculation To estimate the function µ(t) it is necessary to have the zero coupon curve and a curve describing the expected dividend yield at future dates. The zero coupon curve can be calculated from cash rates and swap rates observed in the maret and will be denoted with ZR(t). Expected dividend yields can be calculated through put-call parity relation. In the case of continuous constant dividend yield this relation states that p = c S t e qt + Ke rt (19) where p, c are prices for put and call options with maturity t and strie K, and q is the dividend yield. Solving for q we have q = 1 [ ] c p + Ke rt t ln. (20) S 0 Observing call and put prices for at the money options at different maturities we can calculate q(t) and use this values in formula (5). 4.3 Objective function Given a stoc (or index) with value S 0 at a certain date, the price of a call option with strie K and maturity T priced with the Heston model can be seen as a function C H (V 0, µ(t ),, θ, σ, K, T ). Given a matrix of call prices taen from the maret C M (i, j), where the indexes represent different maturities T i and strie K j, Fairmat fixes the parameters (V 0,, θ, σ) searching the minimum of the function f(v 0,, θ, σ) = ij [ C H (V 0, µ(t i ),, θ, σ, K j, T i ) C M (i, j)] 2. (21) 5

References Information necessary for the calibration is taen from two different xml files, one containing an InterestRateMaretData structure with data needed to calculate the function ZR(t) and one containing a CallPriceMaretData structure with data regarding option prices for the index. To calibrate the constant drift version you need the same maret data and you also have to specify a maturity on the calibration settings. If the maturity value is T then r and q are set to r = ZR(T ) and q = q(t ). The remaining parameters are found as before but calibration is performed with µ(t) constant and equal to r q. References [1] Steven L. Heston. A closed-form solution for options with stochastic volatility with applications to bond and currency options. The Review of Financial Studies, 6(2):327 343, 1993. [2] Alexander Van Haastrecht and Antoon Pelsser. Efficient, almost exact simulation of the Heston stochastic volatility model. Available at SSRN: http://ssrn.com/abstract=1131137, nov 2008. [3] Roger Lord, Remmert Koeoe, and Dic van Dij. A comparison of biased simulation schemes for stochastic volatility models. Available at SSRN: http://ssrn.com/abstract=903116, feb 2008. [4] Hansjorg Albrecher, Philipp Mayer, Wim Schoutens, and Jurgen Tistaert. The little Heston trap. Wilmott Magazine, pages 83 92, jan 2007. 6