1 / 25

A Projection-Based Algorithm for the Calibration of Financial Market Models

A Projection-Based Algorithm for the Calibration of Financial Market Models . Conference on Numerical Methods in Finance. Jan H. Maruhn, Financial Engineering Equities, Commodities and Funds Joint with: F. Gerlich, A. Giese (UniCredit) and E. Sachs (University of Trier).

xexilia
Download Presentation

A Projection-Based Algorithm for the Calibration of Financial Market Models

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. A Projection-Based Algorithm for the Calibration of Financial Market Models Conference on Numerical Methods in Finance Jan H. Maruhn, Financial Engineering Equities, Commodities and Funds Joint with:F. Gerlich, A. Giese (UniCredit) and E. Sachs (University of Trier) Paris Tech, April 16th, 2009

  2. AGENDA • INTRODUCTION • DESCRIPTION OF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  3. AGENDA • INTRODUCTION • DESCRIPTION OF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  4. Selected approaches in the literature: Alos/Ewald (2005), Andersen/Andreasen (2000), Egger/Engl (2005), Hamida/Cont (2005), Mikhailov/Noegel (2003) Motivation Introduction • Model calibration is a key step before using any financial market model for pricing and hedging purposes • Large derivative houses frequently need to calibrate hundreds of underlyings to market data • If the model does not allow an analytic calibration, usually a least squares fit is computed with suitable optimization methods • Algorithm speed and robustness are necessary to obtain accurate and stable PnL and Greeks in a front office environment  Modern algorithms are needed for the solution of calibration problems

  5. AGENDA • INTRODUCTION • DESCRIPTION OF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  6. Example: Calibration of the Time-Dependent Heston Model Description of the Calibration Problem Goal: Choose the model parameters x such that the model matches the market prices Cjobs of n given standard calls with strikes Kj and maturities Tj s.t.

  7. Hence the calibration problem can be rephrased as a (deterministic) nonlinear least squares problem with residual function Formulation as a Standard Least Squares Problem Description of the Calibration Problem It is possible to derive a semi-closed form solution for the price of a standard call option C by solving the partial differential equation with suitable final and boundary conditions.

  8. AGENDA • INTRODUCTION • DESCRIPTIONOF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  9. Since the residuals Rj(x) in the optimal point are usually quite small, we can approximate the Hessian of f by  We get a very good approximation of the second derivative by solely making use of first order information (Gauss Newton approximation) Analysis of the Derivatives of the Objective Algorithmic Setup An analytic computation of the derivatives of yields where JR(x) denotes the Jacobian of R(x).

  10. To compute a stationary point the SQP algorithm successively solves x Feasible set where H is a Gauss-Newton-approximation of the Hessian of the Lagrangian Sketch of the Algorithm Algorithmic Setup Idea: Combine Gauss-Newton approximation of the Hessian with a feasible point trust region SQP algorithm developed by Wright and Tenny To preserve feasibility of the iterates we project the solution of (QP) onto the feasible set after each iteration.

  11. Furthermore, if additional lower and upper bounds are imposed on the parameters, we can solve the projection problem via the semidefinite program The Feasible Set of the Heston Calibration Problem Algorithmic Setup Projection Theorem: The set of Heston constraints is equivalent to with an explicit solution of the associated projection problem.

  12. Sketch of the FPSQP Algorithm (Based on Wright/Tenny, 2004) Algorithmic Setup While do • Solve (QP) to obtain search direction dk • Project xk+dk onto the feasible set by solving the SDP • Pursue a trust region step size strategy to achieve convergence • Update the Lagrange multipliers and the Hessian (via Gauss-Newton) End While Properties / Advantages: • Algorithm makes full use of the structure of the problem (Gauss Newton approximation of the Hessian / projections via SDPs) • Closed form is only evaluated for parameters inside the feasible set • Convergence to a Karush-Kuhn-Tucker point is guaranteed (if TOL=0) • Trust region strategy implicitely regularizes the ill-posed inverse problem

  13. AGENDA • INTRODUCTION • DESCRIPTIONOF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  14. Goals: • Analyze algorithm performance for Heston‘s model with const./TD parameters • Compare robustness/performance of algorithm to other methods • The algorithm is implemented in C++ on a standard PC with 3 GHz CPU Description of the Data Numerical Results Example: (taken from Andersen, Brotherton-Ratcliffe, 1998) • Risk-free interest rate r = 6% • Dividend yield = 2.62% • Implied volatilities for a set of 100 European call options on the S&P 500 index

  15. Sample Iteration Run Numerical Results Algorithm output for the calibration of the constant parameter Heston model to the dataset taken from Andersen and Brotherton (1997). Calibration error at optimal solution  The calibration usually takes less than one second on a desktop PC  A combination of nonlinear and semidefinite programming leads to a robust and rapidly converging algorithm

  16. In our experience Gauss-Newton methods are superior to Quasi Newton codes for the calibration of financial market models, because Sketch of an ill-conditioned function • The residuals Rj(x) are usually small • The Gauss-Newton approximation better captures the curvature of ill-conditioned objective functions Other Available Algorithms Numerical Results Other algorithms for the solution of general nonlinear least squares problems: • Quasi-Newton based nonlinear programming codes like SNOPT, IPOPT • Derivative-free methods like simulated annealing  But what about derivative-free algorithms?

  17. But Gauss-Newton methods may actually be more robust in finance applications: Benchmark: Direct search simul. annealing algorithm of Hedar and Fukushima Statistics of optimal solutions for 100 randomly chosen start points of the algorithms Comparison to Derivative-Free Algorithms Numerical Results Many practitioners apply derivative-free global optimization algorithms, because • They are easy to apply • Ill-conditioning and/or local minima can lead to instable parameters • The calibration results of the FPSQP code are much more stable, although the DSSA algorithm took 40 times longer (Ø 3100 calls of f) to solve the problem

  18. The time-dependent calibration problem is much more ill-conditioned and requires additional regularization, e.g. with Results for the regularized calibration with an increasing number m of parameters: Time-Dependent Parameters Numerical Results Calibration results for an increasing number m of model parameters:

  19. Solution of regularized problem Time-Dependent Parameters: Plot of Optimal Solutions Numerical Results In addition to improving the condition of the optimization problem the regularization term also leads to smoother optimal solutions: Solution of unregularized problem  The time-dependent parameters reflect the curvature of the volatility surface

  20. Example: Calibration of the Bates model where • (Nt)t is a Poisson process with jump intensity • Yi are iid, denoting the relative jump size • : jump mean, : jump vol • : Drift adjustment for jump part Possible Extensions Numerical Results The feasible point FPSQP algorithm can also be applied to • Calibration of other models (local volatility, jump diffusions etc.) • Minimization of other residuals like differences of implied volatilities

  21. Sample results for the dataset of Andersen and Brotherton (1997): Implied vol fit of Heston model with time-dependent parameters Implied vol fit of time-dependent Bates model Observations / Results for the Bates Model Numerical Results The additionally introduced jump parameters are constrained by lower/upper bounds The projection is a simple extension of the Heston projection Convergence results etc. are also applicable in the Bates case

  22. AGENDA • INTRODUCTION • DESCRIPTIONOF THE CALIBRATION PROBLEM • ALGORITHMIC SETUP • NUMERICAL RESULTS • CONCLUSIONS

  23. Summary and Conclusions Conclusions • For typical financial market models the algorithm outperforms Quasi-Newton codes and derivative-free methods • For most models of practical interest the projection onto the feasible set can either be derived analytically or computed numerically • In the Heston/Bates models, the projection can be computed by solving a semidefinite programming problem • The proposed feasible point trust region Gauss Newton SQP algorithm combines speed and robustness with an implicit regularization of the calibration problem • If model parameters are time-dependent, additional regularization is needed

  24. Contact UniCredit GroupMarkets & Investment BankingEquity Dr. Jan H. MaruhnFinancial Engineering Equities, Commodities and Funds (MME5EC)Tel. +49 89 378 13123 – Fax +49 89 378 3313123jan.maruhn@unicreditgroup.de Imprint Markets & Investment BankingHypoVereinsbank AG Financial Engineering Equities, Commodities and FundsArabellastrasse 581925 Munich, Germany

  25. Disclaimer The information in this publication is based on carefully selected sources believed to be reliable but we do not make any representation as to its accuracy or completeness. Any opinions herein reflect our judgement at the date hereof and are subject to change without notice. Any investments discussed or recommended in this report may be unsuitable for investors depending on their specific investment objectives and financial position. Any reports provided herein are provided for general information purposes only and cannot substitute the obtaining of independent financial advice. Private investors should obtain the advice of their banker/broker about any investments concerned prior to making them. Nothing in this publication is intended to create contractual obligations on any of the entities composing UniCredit Markets & Investment Banking Division which is composed of (the respective divisions of) Bayerische Hypo- und Vereinsbank AG, Munich, Bank Austria Creditanstalt AG, Vienna, and UniCredit S.p.A., Rome. Bayerische Hypo- und Vereinsbank AG is regulated by the German Financial Supervisory Authority (BaFin), Bank Austria Creditanstalt AG is regulated by the Austrian Financial Market Authority (FMA) and UniCredit S.p.A. is regulated by both the Banca d'Italia and the Commissione Nazionale per le Società e la Borsa (Consob). Note to UK Residents: In the United Kingdom, this publication is being communicated on a confidential basis only to clients of UniCredit Markets & Investment Banking Division (acting through Bayerische Hypo- und Vereinsbank, London Branch ("HVB London") and/or UniCredit CAIB Securities UK Ltd. and/or UniCredit CAIB UK Ltd.) who (i) have professional experience in matters relating to investments being investment professionals as defined in Article 19(5) of the Financial Services and Markets Act 2000 (Financial Promotion) Order 2005 ("FPO"); and/or (ii) are falling within Article 49(2) (a) – (d) ("high net worth companies, unincorporated associations etc.") of the FPO (or, to the extent that this publication relates to an unregulated collective scheme, to professional investors as defined in Article 14(5) of the Financial Services and Markets Act 2000 (Promotion of Collective Investment Schemes) (Exemptions) Order 2001 and/or (iii) to whom it may be lawful to communicate it, other than private investors (all such persons being referred to as "Relevant Persons"). This publication is only directed at Relevant Persons and any investment or investment activity to which this publication relates is only available to Relevant Persons or will be engaged in only with Relevant Persons. Solicitations resulting from this publication will only be responded to if the person concerned is a Relevant Person. Other persons should not rely or act upon this publication or any of its contents. The information provided herein (including any report set out herein) does not constitute a solicitation to buy or an offer to sell any securities. The information in this publication is based on carefully selected sources believed to be reliable but we do not make any representation as to its accuracy or completeness. Any opinions herein reflect our judgement at the date hereof and are subject to change without notice. We and/or any other entity of the UniCredit Markets & Investment Banking Division may from time to time with respect to securities mentioned in this publication (i) take a long or short position and buy or sell such securities; (ii) act as investment bankers and/or commercial bankers for issuers of such securities; (iii) be represented on the board of any issuers of such securities; (iv) engage in "market making" of such securities; (v) have a consulting relationship with any issuer. Any investments discussed or recommended in any report provided herein may be unsuitable for investors depending on their specific investment objectives and financial position. Any information provided herein is provided for general information purposes only and cannot substitute the obtaining of independent financial advice. HVB London is regulated by the Financial Services Authority for the conduct of investment business in the UK as well as by BaFIN, Germany. UniCredit CAIB Securities UK Ltd., London, and UniCredit CAIB UK Ltd., London, two subsidiaries of Bank Austria Creditanstalt AG, are authorised and regulated by the Financial Services Authority. Notwithstanding the above, if this publication relates to securities subject to the Prospectus Directive (2005) it is sent to you on the basis that you are a Qualified Investor for the purposes of the directive or any relevant implementing legislation of a European Economic Area ("EEA") Member State which has implemented the Prospectus Directive and it must not be given to any person who is not a Qualified Investor. By being in receipt of this publication you undertake that you will only offer or sell the securities described in this publication in circumstances which do not require the production of a prospectus under Article 3 of the Prospectus Directive or any relevant implementing legislation of an EEA Member State which has implemented the Prospectus Directive. Note to US Residents: The information provided herein or contained in any report provided herein is intended solely for institutional clients of UniCredit Markets & Investment Banking Division acting through Bayerische Hypo- und Vereinsbank AG, New York Branch and UniCredit Capital Markets, Inc. (together "HVB") in the United States, and may not be used or relied upon by any other person for any purpose. It does not constitute a solicitation to buy or an offer to sell any securities under the Securities Act of 1933, as amended, or under any other US federal or state securities laws, rules or regulations. Investments in securities discussed herein may be unsuitable for investors, depending on their specific investment objectives, risk tolerance and financial position. In jurisdictions where HVB is not registered or licensed to trade in securities, commodities or other financial products, any transaction may be effected only in accordance with applicable laws and legislation, which may vary from jurisdiction to jurisdiction and may require that a transaction be made in accordance with applicable exemptions from registration or licensing requirements. All information contained herein is based on carefully selected sources believed to be reliable, but HVB makes no representations as to its accuracy or completeness. Any opinions contained herein reflect HVB's judgement as of the original date of publication, without regard to the date on which you may receive such information, and are subject to change without notice. HVB may have issued other reports that are inconsistent with, and reach different conclusions from, the information presented in any report provided herein. Those reports reflect the different assumptions, views and analytical methods of the analysts who prepared them. Past performance should not be taken as an indication or guarantee of further performance, and no representation or warranty, express or implied, is made regarding future performance. HVB and/or any other entity of UniCredit Markets & Investment Banking Division may from time to time, with respect to any securities discussed herein: (i) take a long or short position and buy or sell such securities; (ii) act as investment and/or commercial bankers for issuers of such securities; (iii) be represented on the board of such issuers; (iv) engage in "market-making" of such securities; and (v) act as a paid consultant or adviser to any issuer. The information contained in any report provided herein may include forward-looking statements within the meaning of US federal securities laws that are subject to risks and uncertainties. Factors that could cause a company's actual results and financial condition to differ from its expectations include, without limitation: Political uncertainty, changes in economic conditions that adversely affect the level of demand for the company‘s products or services, changes in foreign exchange markets, changes in international and domestic financial markets, competitive environments and other factors relating to the foregoing. All forward-looking statements contained in this report are qualified in their entirety by this cautionary statement. UniCredit Markets & Investment Banking DivisionBayerische Hypo- und Vereinsbank AG, Munich; Bank Austria Creditanstalt AG, Vienna and UniCredit S.p.A., Rome as of 12 March 2014

More Related