Home

Derivative Design: Computation and Optimization of the - IWI

image

Contents

1. 7 120 USD per barrel 110 Time to maturity PY Time to maturity 0 100 obra Chapter 5 This leads to the following conclusions Algorithm delivers fast and accurate results Constant A improves hedging significantly reduces risk Inclusion of assets with yield broadens application domain Easy to use thanks to user friendly graphical interface Figure 1 1 Steps towards derivative design 14 the proceeds of the sales in Dollars in say two months He can buy a derivative today to protect himself from a depreciating Dollar Itis also common for portfolio managers to hedge part of their investment If a portfolio manager holds e g a significant amount of IBM shares he could hedge this position If he thinks that IBM faces rough times in the following six months he would buy a derivative to equilibrate the adverse movement Speculation on the other hand arises when derivatives are bought for the purpose of amplifying the underlying s movement without actually holding the underlying in the portfolio Used this way derivatives offer the possibility to profit from very small changes in the underlying s value without the need to invest huge amounts of money to buy the underlying The generic term derivative actually comprehends three distinct types of finan cial instruments e forwards or futures e swaps e options or warrants In the thesis I concentrate on the third category and analyze the creation of customer tailored options Bu
2. o e eee 4 3 An Optimized OptiononOil o o o 4 4 An Optimized Option on the EUR USD Exchange Rate 4 5 A Combined Optom ar cia cd A a a AA AA 4 6 Derivative Hedging Considerations for the Option Issuer ARA a e a Se SMe al Ante 5 Conclusions and Outlook Bibliography Glossary Index 61 61 63 67 73 79 86 90 91 96 108 110 Abstract Derivatives are financial instruments which allow market participants to reduce risk This is called hedging Alternatively traders use derivatives for speculation The rate of change of the derivative s value with the underlying is called A It is an important measure when hedging with derivatives on the buy side On the side of the issuer A is equally important when the issuer wants to hedge his exposure Often a scheme called A hedging is used However A is not constant This means that the portfolio has to be rebalanced frequently to maintain the hedge This is costly and time consuming I present the software WARRANT PRO 2 which optimizes derivatives for a con stant A Additionally the user has the possibility to set boundary conditions The type of derivative under consideration is a two barrier option It expires when the upper or lower barrier is hit Optimization occurs by numerically solving the Black Scholes partial differential equation with the finite difference Crank Nicolson scheme Boundary conditions are optimized within the s
3. respect to A using a hedge and for get scheme Due to the constant nature of A he limits the risk to other factors like volatility time decay and interest rate changes However these risks are normally left unhedged For the optimization I use the WARRANT PRO 2 1 0 software Ongoing develop ment of this software is also part of the thesis I build upon the work of several authors before me Most of the important issues risen in 34 69 are now resolved These include e The input of the optimization region is now possible using values of the un derlying I e the values are units of the price of the underlying and time Until now input had to use grid points of the Crank Nicolson discretization The actual version is more intuitive e Users can freely choose where parameters are saved This reduces signifi cantly the risk of inadvertently overwriting parameters Conversely loading parameters is possible via files Meaningful names can now be chosen e The software runs on Windows and Linux without necessitating Matlab nei ther for development nor at runtime The GUI is realized with the open source 91 toolkit wxWidget which features native widgets on every platform This en hances the professional appearance of the software The wxWidget toolkit is in active development since 1992 Community support is available as well as professional consultancy and support GUIs can also be created by using Rapid Application Development tools
4. several alternatives The deb file should provide you with a painless setup But even if you choose to install by hand the dependencies are easily achievable and well documented see section 3 2 Assets with continuous yields are finally valued correctly Currently the user can choose between assets with a continuous yield and foreign currencies This makes the software more interesting also for the financial practitioner The corresponding text labels change automatically 92 e User guidance is enhanced via the new tab design A main tab allows for easy input of the most important parameters Optimization runs can be started at every moment with the run button No more annoying modal dialogs which pop up when you least expect them e The input of the boundary conditions is simplified significantly Instead of text fields which had to be traversed cumbersomely a grid input is provided The old line input menu is replaced by a context menu and not only allows the setting of single values but also of a complete set of boundary conditions e Tooltips help users to understand what a specific input field does Although the user manual is comprehensive I think that a quick in place help signifi cantly adds to the user experience There are also some aspects which could still be improved or simply developed further These include e An interface to data providers It is now cumbersome to perform volatility cal culations and to fetch the r
5. text 1 2 Black Scholes Model The Black Scholes model is very well described in various books See 59 for a detailed introduction I only present what is needed in the context of this thesis leaving out proofs The Black Scholes model is one of several possible alternatives to value an option Other valuation techniques include binomial trees or Monte Carlo simulations See the literature overview in section 1 6 for more information The Black Scholes model uses essentially no arbitrage arguments to arrive at the This being the only exception Did you notice how your attention was driven away from the main text wandering over to this footnote 18 5 Conclusions and Outlook This thesis addresses the question Can optimally designed derivatives help to im prove risk management for buyer and issuer To answer this question I first present the Black Scholes partial differential equation Then I solve the equation numeri cally with a Crank Nicolson scheme including yield The following chapter deals with the SOP method used and among others the technique of automatic differen tiation Finally in chapter 4 the question is answered Two A optimized option on oil and the EUR USD exchange rate are combined The combined option pro vides a very good hedge for both buyer and issuer The buyer in Euroland has the advantage that a predefined maximal price for one barrel of oil in Euro is fixed in advance The issuer can hedge his exposure with
6. Derivative Design Computation and Optimization of the Black Scholes Equation Solution with a Crank Nicolson Scheme and SQP Methods Diplomarbeit zur Erlangung des Grades eines Diplom Mathematikers der Gottfried Wilhelm Leibniz Universit t Hannover vorgelegt von Hans J rg von Mettenheim geboren am 24 Juli 1981 in Hannover Erstgutachter Prof Dr Michael H Breitner Zweitgutachter Prof Dr Gerhard Starke Hannover 27 August 2008 Executive Summary The content summarized for rushing practitioners in 100 words I present the WARRANT PRO 2 software for designing customer tailored deriva tives to support risk management The software optimizes an option s A to be constant This significantly improves hedging for both buyer and issuer The is suer can set up a hedge and forget scheme and stays A neutral until expiry You can adjust the payout profile at time to maturity and at the upper and lower cash settlements of the two barrier option 1 develop an example of a combined option on oil and the EUR USD exchange rate The result is an option which fixes the price of oil in Euro with constant A Acknowledgements I thank my supervisor Prof Dr Michael H Breitner who encouraged me in many ways to write this thesis His ideas appear throughout the work and it was always interesting to discuss new topics with him I also thank Prof Dr Gerhard Starke for accepting to write a report about this thesis Without the sympathy of my
7. Here the developer can choose from a wide range of alternatives from free and open source to very complete com mercial tools with extensive support The software now uses the Gnuplot engine with wxWidget terminal for three dimensional plotting This terminal is equivalent to the Matlab version and is even more customizable Usage of platform specific directives is reduced to a minimum Paths are always created using platform neutral mechanisms The only platform depen dency left is the creation of processes as Windows doesn t implement fork However at run time an appropriate platform check is performed to use the correct starting mechanism The software is now compiled against actual multithreaded libraries Although it doesn t use multithreading itself this is an important step because it can now be compiled with up to date tools on Windows Not to say that old ver sions of Visual Studio were bad but they are simply not available anymore On Linux of course such problems simply don t come up Deployment is automatic This allows for continuous integration One single script fetches the necessary files produces an archive and creates a setup file This is realized with the comprehensive make alternative for the Ruby scripting language rake Installation is automatic at least on Windows No more downloads of a Matlab Component Runtime creation of bizarre directories editing of batch files Simply execute the setup On Linux there are
8. Jun 08 Jul 08 Aug 08 Time Figure 1 2 The Euribor Euro Interbank Offered Rate is the rate at which banks will lend to others or accept deposits from others under normal conditions In the past Euribor has fluctuated considerably and during the so called credit crisis of 2007 08 banks mostly not agreed to lend to each other although Euribor was relatively high Source 41 exists There is the anecdotal story that one unlucky future trader forgot to close out his cattle future on 40000 pounds of cattle see 59 p 22 The short side was held by a farmer who insisted on delivering his cattle Now the trader was stuck for several days with a herd of cattle until he could sell it again at an auction Swaps engage two counterparties on the exchange of cash flows from compara ble instruments An interest rate swap e g is a contract in which the cash flows from two different interest rates investments are exchanged Usually a fixed and a variable rate is used With a swap an investment in e g Euribor can be trans formed into a fixed income investment In this case a swap is used for hedging see figure 1 2 Options and warrants are the topic which I will discuss more amply in my thesis Options are derivative instruments which indeed confer an option to the buyer the right but not the obligation to buy the underlying equity at the specified strike price This is known as a call option The put option confers the reverse right the buyer o
9. Read Me The thesis consists of five chapters The three main chapters in the middle all feature a short summary at the end If you are in a hurry concentrate on the summary It is not merely a condensed restatement of the chapters The summary shifts the focus from mathematical or technical to more practitioner oriented If you want to start optimizing options right away have a look at the WARRANT PRO 2 user manual in section 3 2 I encourage you to use the glossary and the index at the end of the thesis Most of the literature is on the accompanying disc You will find what you are looking for ordered by author s and year One exception cited books are not included but otherwise all papers and documentation The WARRANT PRO 2 software including source code is also available If you have any additional question or comments I m very glad to here from you The outline of the thesis is as follows see also figure 1 1 In the introductory chapter I present the Black Scholes model for option valuation I introduce the nomenclature used throughout the thesis and show the advantages of hedging with a constant A As an option practitioner you might want to jump straight to the 17 next chapter introducing the mathematical meat of the thesis Here the Crank Nicolson scheme is derived in detail I also show how to solve the resultant linear system The next chapter deals with the WARRANT PRO 2 software It is mixed in the sense that it is fir
10. colleagues I wouldn t have been able to accomplish this work I dedicate this work to my family My family s continuous support is essential for me Thank you Contents Executive Summary Acknowledgements Abstract List of Figures Nomenclature 1 Introduction CI Howto Read Mesa A AAA Dre 1 2 Black Scholes Model 005 00 Dre aa Bee ae e ea 1 3 The Greek Letters a vs de ee re a aaa LA AHedsms sauer PE RS GaSe OEE Uw ee eee wa 1 5 WARRANTSPROSZS u a rre dre Bra ladera 1 6 TEIFerature Review gt nia de Selig a irs ah a te is 2 Crank Nicolson Scheme and Black Scholes Partial Differential Equation 2r MOUVATIOR H o ts a det dejo 2 2 Workflow and Setup a ri ca 2 ale Be re a ae ae 2 37 Einile Diiferences yla ee ee ra RR Aad oe 2 4 Explicit Finite Difference Scheme 2 2 2 2 ooo o 2 5 Implicit Finite Difference Scheme 2 2 un nme 2 6 CrankNieolsanScheme dir aa Er area 2 7 LU decomposition for Crank Nicolson Linear System 201 MAMA ook Are ATA AA ls A en es A 3 The WARRANT PRO 2 1 0 Software for Customized Options 3 1 Development E A ee 12 13 17 18 20 21 23 23 26 27 28 31 33 35 38 42 43 3 2 WARRANT PRO 2 User Manual o o 3 3 Optimization with SQP methods o 3 4 Automatic Differentiation A RN ea Sas Ie a 4 Examples 4 1 7 I heSimaton ann AS a Ae en ea 4 2 Determining the Parameters 2 o
11. e two main purposes hedging and speculation A hedger might e g buy a derivative to protect his cash flow in a foreign currency Imagine an automobile producer based in Euroland who sells cars to the USA He will receive 13 100 EUR in USD E Chapter 1 The Black Scholes model but A is not constant aC 10228 475 rC 0 1 30 15 ae gt 0 8 23 20 0 6 15 4 0 4 10 5 0 2 5 0 0 0 80 85 90 95 100 105 110 115 120 80 85 90 95 100 105 110 115 120 Price of underlying Price of underlying Premium S Time to maturity Chapter 2 The idea Design optimized derivatives Use Crank Nicolson SQP NPSOL and Automatic differentiation CN Pk 1 j 1 k Ck Lj 1 Ck j 1 q and get the WARRANT PRO 2 software in Chapter 3 MM WARRANT PRO 2 1 0 5s m x Eile Help Main Optimization Boundary conditions Yolatilities NPSOL parameters l intended Delta S_min 10 2 1 Sigma S_max 0 25 10 Interest rate Time to maturity month 10 05 12 jeld ield selection 10 03 continuous yield Premium whole region X Plot 3D Time 0 0 Plot 2D 7 Plot 2D Chapter 4 Examples We look at two optimized options on a barrel of oil and the EUR USD exchange rate and combine them 50 40 30 20 0 201 0 005 E 02 7 A 0 199 Change 10 098 0 005 0 197 _ 6 20 E 100 110 120 130 140 150 USD per barrel o Profitability of hedge o 150 er 3 140 130
12. f the put option has the possibility to sell the underlying equity at the strike price 16 Therefore a call option carries value at expiry if the equity market price is greater than the strike price It allows the option buyer to acquire equities for less than they are actually worth today Conversely the put option carries value if the equity market price is lower than the strike price It offers the possibility to sell the equity for more than it is worth This again generates a profit Options are generally issued by financial institutions like the well known Soci t G n rale Citigroup Deutsche Bank or Goldman Sachs and several other banks or investment banks Warrants on the contrary are issued by firms covering their own shares Warrants are mostly traded OTC Also they are not well standardized like options which are traded on specific option exchanges with clearly defined rules Yet the difference between options and warrants is marginal for the purpose of optimization In the following I will use the term option to designate options and warrants The focus of the thesis is on optimized two barrier options These options differ from the classically known options by the fact that they will expire when one of the two barriers is hit The appropriate premium is then payed out The presented software WARRANT PRO 2 1 0 optimizes the option Greek A see section 1 3 The optimized option can then be hedged easily by the issuer 1 1 How to
13. isk free interest rate Although these parameters should still be changeable by the user it helps especially novice users when they don t have to perform volatility calculations with another tool This in terface would also allow to compare the optimized option prices to those of options traded in the market e Add additional modes for more types of underlyings Especially discrete div idend payments should be realizable External data see above could also be used to determine a realistic yield e A combination mode The example in section 4 5 shows that two combined options work very well together for buyer and issuer The involved computa tions were however cumbersome although not difficult A feature that pro vides users with ready to use results would be useful However as these com bined options depend on three parameters i e two underlyings and time additional effort has to go into the visualization For this it might be neces sary to enhance the current plotting engine I consider this doable though as the wxt terminal source code for Gnuplot is very readable e Output of a concrete hedging strategy for buyer and issuer Not every user will immediately be able to interpret the results of the optimization For these 93 users it would be helpful if ready to use strategies for hedging were given by the software With external data the software could even give concrete advice which financial instruments should be bought I
14. ns on exotic underlyings could be created like e g weather options I think that given the list of already integrated improvements and future realiz able options the question asked at the beginning is answered positively Optimally designed derivatives help financial practitioners considerably to reduce risk The reason is twofold One reason is that the combination of a Crank Nicolson scheme and the optimizer NPSOL proves to be well suited for the task Results are obtained within seconds of computing time and are accurate as the examples show A sec ond reason is that the optimizer is easily put to work via the GUI In fact usage of the optimizer is summarized in a few sentences Decide on the type of underlying with or without yield Enter the barriers for the lower and upper cash settlement and time to maturity Set volatility and interest rate appropriately Decide on a tar get A to optimize for Set an optimizing region Optionally boundary conditions are useable too I hope that you gained some insight or new ideas from reading my thesis Happy optimizing 95
15. om you If you are in a hurry to get started I urge you to just read the following section How to read me It should give you a good idea where you will find the relevant material for you If you are even more in a hurry just look at figure 1 1 on the following page As the thesis deals with derivative design I will define the term derivative first The meaning of the expression derivative used in the financial world is notably different from the significance of a mathematical derivative For the purpose of this thesis a derivative is also a financial instrument This instrument is somehow derived from an underlying The underlying may be an equity like e g IBM shares It may be an exchange rate like the EUR USD exchange rate It may also be the price of a commodity e g the price of oil or the price of copper etc A derivative is correlated with the underlying in the following sense If the underlying moves in a certain direction by a certain amount there is a formula which describes the change in value of the derivative Often derivatives are used to amplify the movement of the underlying so called leveraging E g a one percent change in the underlying results in a 10 percent change in the derivative Derivatives need not follow the direction of the underlying s movement It is common for certain types of derivatives to follow an inverse movement I e they appreciate when the underlying depreciates and vice versa Derivatives serv
16. options This tedious and boring job becomes obsolete and the financial institution can put traders to work in other more interesting domains e The software uses a file based interface to the optimizing kernel It can be integrated directly into the issuer s risk management system The software isn t a pure GUI tool 94 e The process of option creation no longer relies on semi manual calculations The risk of costly miscalculations is reduced e As options are optimized automatically the issuer rapidly becomes cost com petitive in the domain of customized options Share in this very lucrative business can be enlarged e Buyer and issuer can use fast results to improve there overall reactivity e Buyer and issuer can check if market offers are fair Overpriced options are identified and singled out Conversely relatively cheap options can be used for e g arbitrage or simply for hedging e Even for very special cases and requirements concerning the payout profile a premium is calculated This is the advantage of using a numerical tool For financial institutions a range of new product ideas emerges e Automated pricing of over the counter options without human intervention would allow increased liquidity and competitiveness for buyer and issuer e On special market conditions options could be dynamically created based on the heuristics of what market participants expect e In cooperation with the insurance business optio
17. pecified constraints with the optimizer NPSOL NPSOL implements a sequential quadratic programming algo rithm The gradient of the objective function is computed with the same accuracy as the objective function as automatic differentiation is used A complex example shows how the software works Two options are optimized An option on one barrel of oil in USD then an option on the EUR USD exchange rate Both are combined to give an option which fixes the price of one barrel of oil in Euro This allows e g an energy producer in Euroland to hedge against rising oil prices and a weakening Euro I conclude that the software is not only well suited for option optimization but also for the computation of options with specific payout profiles These occur often in the over the counter market Computation of these options is often done manually With the software this tedious task is automated 1 Introduction In my diploma thesis I address the question Can optimally designed derivatives help to improve risk management for buyer and issuer Although this question might sound as if using buzz words from the business world like optimally im prove risk management and so on it requires a significant amount of mathematics to answer it adequately Whether you are mathematically interested or a financial practitioner I hope that you will find some interesting ideas on the following pages Should you have any questions or comments I am glad to hear fr
18. st technical presenting development and user manual and then mathematical again presenting some additional special aspects of the soft ware This includes the optimizer NPSOL and sequential quadratic programming methods Finally the next chapter features a complex example with two combined options on oil and the EUR USD exchange rate The conclusions and outlook give some additional ideas and visions I allow myself two remarks on my style of writing The first thing is obvious At times I use the first person This is to make the whole text more lively and more interesting to read for you It emphasizes that I m really a person and not simply the author Conversely I normally won t call you the reader I will mostly refrain from using the passive voice Indeed even after prolonged investigation I couldn t find any rule stating that scientific writing has to be boring and incomprehensible The contrary seems to be the case see 39 My second remark concerns footnotes I won t use footnotes in my thesis Some people seemingly measure the quality of scientific writing by the number of footnotes used in the text I m not one of them My opinion is the following Either something is important Then why not put it in the text Or something is not so important after all justifying only a footnote Then why not leave it out altogether I frequently find that footnotes draw your attention from the main text I hope that you will enjoy the
19. t for comparative purposes it is of importance to also briefly describe the other two types Forwards or futures are contracts in which both counterparties agree on the ex change of a specified amount of the underlying on a specified date A forward or future is therefore opposed to a spot deal which settles today or on the next trad ing day In such a contract the counterparties assume a long and a short position The party with the long position is obliged to buy the underlying at the specified date for the agreed price The short position has to sell the equivalent quantity The nature of the contract requires no upfront payment If both counterparties are trustworthy the contract as is suffices Normally however it is usage to post a collateral for mutual guarantee or a margin Forwards are traded OTC Over the Counter while futures are traded on an exchange The price of the forward or futures varies accordingly with the expectation of the market participants for the price of the underlying at the time of expiry An actual exchange of goods is rarely done in a future position as the future is closed out before expiry A cash settle ment is the usual way to go and in case of e g exchange rates the only possibility However the possibility of a settlement by delivery of the good and payment still 15 4 45 E E A MA Ze Ma 4 40 4 35 4 30 4 25 4 20 Euribor in Percent 4 15 4 10 Feb 08 Mar 08 Apr 08 May 08
20. t is not desirable or possible to buy every type of underlying directly This is the case for all commodities like oil or gold Here the hedger has to use e g appropriate futures e For first time users it is not immediately obvious how to realize the equiva lent to a call a put or more exotic options A wizard could help to set the parameters heuristically to adequate values e Switch to another automatic differentiation tool I outline alternatives in sec tion 3 4 e Research how WARRANT PRO 2 behaves for grid sizes in the order of 10 square or even more Does this improve the accuracy of the solution sig nificantly Or are small grid sizes already sufficient for the practitioner as indicated from the examples e Could computations occur in parallel Computing times are presently in the order of seconds for a single run of the optimizer This is perhaps no limiting factor But practitioners may require to optimize portfolios of several thou sand options in real time or near real time Could the software handle these portfolios in an automated way If you are a financial practitioner the following key advantages of the WARRANT PRO 2 approach might interest you e Hedging the option is possible without rebalancing when A is constant It is therefore much easier to synthesize the option by holding the underlying Also transaction costs are reduced e The issuer does not have to assign traders to constantly monitor markets and

Download Pdf Manuals

image

Related Search

Related Contents

"取扱説明書"  Optoma HD80  Fujitsu ESPRIMO P900  Beyerdynamic A 20  54ー0 8チャンネル漏電モニター MCM-8000  GH1810 - オーレック  

Copyright © All rights reserved.
Failed to retrieve file