Details

Implementing Models of Financial Derivatives


Implementing Models of Financial Derivatives

Object Oriented Applications with VBA
The Wiley Finance Series, Band 528 1. Aufl.

von: Nick Webber

52,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 02.08.2011
ISBN/EAN: 9780470662519
Sprache: englisch
Anzahl Seiten: 692

DRM-geschütztes eBook, Sie benötigen z.B. Adobe Digital Editions und eine Adobe ID zum Lesen.

Beschreibungen

Implementing Models of Financial Derivatives is a comprehensive treatment of advanced implementation techniques in VBA for models of financial derivatives. Aimed at readers who are already familiar with the basics of VBA it emphasizes a fully object oriented approach to valuation applications, chiefly in the context of Monte Carlo simulation but also more broadly for lattice and PDE methods. Its unique approach to valuation, emphasizing effective implementation from both the numerical and the computational perspectives makes it an invaluable resource. The book comes with a library of almost a hundred Excel spreadsheets containing implementations of all the methods and models it investigates, including a large number of useful utility procedures. Exercises structured around four application streams supplement the exposition in each chapter, taking the reader from basic procedural level programming up to high level object oriented implementations. Written in eight parts, parts 1-4 emphasize application design in VBA, focused around the development of a plain Monte Carlo application. Part 5 assesses the performance of VBA for this application, and the final 3 emphasize the implementation of a fast and accurate Monte Carlo method for option valuation. Key topics include: ?Fully polymorphic factories in VBA; ?Polymorphic input and output using the TextStream and FileSystemObject objects; ?Valuing a book of options; ?Detailed assessment of the performance of VBA data structures; ?Theory, implementation, and comparison of the main Monte Carlo variance reduction methods; ?Assessment of discretization methods and their application to option valuation in models like CIR and Heston; ?Fast valuation of Bermudan options by Monte Carlo. Fundamental theory and implementations of lattice and PDE methods are presented in appendices and developed through the book in the exercise streams. Spanning the two worlds of academic theory and industrial practice, this book is not only suitable as a classroom text in VBA, in simulation methods, and as an introduction to object oriented design, it is also a reference for model implementers and quants working alongside derivatives groups. Its implementations are a valuable resource for students, teachers and developers alike. Note: CD-ROM/DVD and other supplementary materials are not included as part of eBook file.
<b>Preface.</b> <p><b>PART I A PROCEDURAL MONTE CARLO METHOD IN VBA.</b></p> <p><b>1 The Monte Carlo Method</b>.</p> <p>1.1 The Monte Carlo valuation method.</p> <p>1.2 Issues with Monte Carlo.</p> <p>1.3 Computational issues.</p> <p>1.4 Summary.</p> <p>1.5 Exercises</p> <p><b>2 Levels of Programming Sophistication.</b></p> <p>2.1 What makes a good application?</p> <p>2.2 A high-level design.</p> <p>2.3 Progressing towards the ideal.</p> <p>2.4 Summary.</p> <p>2.5 Exercises</p> <p><b>3 Procedural Programming: Level 1</b>.</p> <p>3.1 Designing a Monte Carlo valuation application.</p> <p>3.2 Deficiencies of the level 1 code.</p> <p>3.3 Summary.</p> <p>3.4 Exercises</p> <p><b>4 Validation and Error Handling: Level 2</b>.</p> <p>4.1 Validation and error handling.</p> <p>4.2 Encapsulating functionality.</p> <p>4.3 The level 2 main.</p> <p>4.4 Summary.</p> <p>4.5 Exercises.</p> <p><b>PART II OBJECTS AND POLYMORPHISM.</b></p> <p><b>5 Introducing Objects: Level 3.</b></p> <p>5.1 Objects in VBA.</p> <p>5.2 An example: The StopWatch object.</p> <p>5.3 Further helpful VBA features.</p> <p>5.4 Objects in the Monte Carlo application.</p> <p>5.5 Summary.</p> <p>5.6 Exercises.</p> <p><b>6 Polymorphism and Interfaces: Level 4</b>.</p> <p>6.1 Polymorphism.</p> <p>6.2 Interfaces in VBA.</p> <p>6.3 Implementing a polymorphic stopwatch.</p> <p>6.4 Polymorphism and the Monte Carlo application.</p> <p>6.5 Assessment of the polymorphic design.</p> <p>6.6 Summary.</p> <p>6.7 Exercises</p> <p><b>7 A Slice-Based Monte Carlo.</b></p> <p>7.1 The revised Monte Carlo application object.</p> <p>7.2 The option object.</p> <p>7.3 The evolver object.</p> <p>7.4 Summary.</p> <p>7.5 Exercises</p> <p><b>8 An Embryonic Factory: Level 5.</b></p> <p>8.1 Events.</p> <p>8.2 The Level 5 Monte Carlo application.</p> <p>8.3 The Factory object.</p> <p>8.4 Output.</p> <p>8.5 Summary.</p> <p>8.6 Exercises.</p> <p><b>PART III USING FILES WITH VBA.</b></p> <p><b>9 Input and Output to File in VBA.</b></p> <p>9.1 File handling in VBA.</p> <p>9.2 The TextStream and FileSystemObject objects.</p> <p>9.3 Intrinsic VB language functions.</p> <p>9.4 Example: Reading and writing to sequential and random files.</p> <p>9.5 Summary.</p> <p>9.6 Exercises</p> <p><b>10 Valuing a Book of Options.</b></p> <p>10.1 Outline of the application.</p> <p>10.2 Timings.</p> <p>10.3 Summary.</p> <p>10.4 Exercises.</p> <p><b>PART IV POLYMORPHIC FACTORIES IN VBA.</b></p> <p><b>11 The VBE Object Library and a Simple Polymorphic Factory.</b></p> <p>11.1 Using the VBE object library.</p> <p>11.2 A simple factory illustration.</p> <p>11.3 Summary.</p> <p>11.4 Exercises.</p> <p><b>12 A Fully Polymorphic Factory: Level 6.</b></p> <p>12.1 Conceptual features.</p> <p>12.2 The polymorphic factory.</p> <p>12.3 Using the Factory object.</p> <p>12.4 Summary.</p> <p>12.5 Exercises</p> <p><b>13 A Semi-Polymorphic Factory: Meta-Classes.</b></p> <p>13.1 The structure of the application.</p> <p>13.2 Meta-class objects.</p> <p>13.3 The semi-polymorphic factory.</p> <p>13.4 Summary.</p> <p>13.5 Exercises.</p> <p><b>PART V PERFORMANCE ISSUES IN VBA.</b></p> <p><b>14 Performance and Cost in VBA.</b></p> <p>14.1 Arithmetic operations.</p> <p>14.2 Procedure calls.</p> <p>14.3 Data typing issues.</p> <p>14.4 Summary.</p> <p>14.5 Exercises.</p> <p><b>15 Level and Performance</b>.</p> <p>15.1 Variations of the level application.</p> <p>15.2 Effect of level on times.</p> <p>15.3 Summary.</p> <p>15.4 Exercises.</p> <p><b>16 Evolution and Data Structures.</b></p> <p>16.1 Data structures in VBA.</p> <p>16.2 Using VBA containers.</p> <p>16.3 Numerical comparisons.</p> <p>16.4 Summary.</p> <p>16.5 Exercises.</p> <p><b>PART VI VARIANCE REDUCTION IN THE MONTE CARLO METHOD.</b></p> <p><b>17 Wiener Sample Paths and Antithetic Variates</b>.</p> <p>17.1 Generating Wiener sample paths.</p> <p>17.2 Antithetic variates.</p> <p>17.3 Numerical assessment.</p> <p>17.4 Summary.</p> <p>17.5 Exercises.</p> <p><b>18 The Wiener Process and Stratified Sampling</b>.</p> <p>18.1 Stratified sampling.</p> <p>18.2 Implementing stratified sampling.</p> <p>18.3 Numerical assessment.</p> <p>18.4 Summary.</p> <p>18.5 Exercises.</p> <p><b>19 Low-Discrepancy Sampling.</b></p> <p>19.1 Low-discrepancy sampling.</p> <p>19.2 Implementing LD sampling.</p> <p>19.3 Numerical assessment.</p> <p>19.4 Summary.</p> <p>19.5 Exercises.</p> <p><b>20 Variance Reduction with Control Variates</b>.</p> <p>20.1 Control variates.</p> <p>20.2 Examples of control variates.</p> <p>20.3 Auxiliary model control variates.</p> <p>20.4 Summary.</p> <p>20.5 Exercises.</p> <p><b>21 Implementing Control Variates</b>.</p> <p>21.1 A control variate application.</p> <p>21.2 Numerical assessment.</p> <p>21.3 Summary.</p> <p>21.4 Exercises.</p> <p><b>22 Extreme Options and Importance Sampling.</b></p> <p>22.1 Importance Sampling.</p> <p>22.2 Valuing an OTM digital option.</p> <p>22.3 Choices for the IS density.</p> <p>22.4 Implementing importance sampling.</p> <p>22.5 Numerical assessment.</p> <p>22.6 Summary.</p> <p>22.7 Exercises.</p> <p><b>23 Combining Variance Reduction Methods</b>.</p> <p>23.1 Combining CV and IS.</p> <p>23.2 Implementing variance reduction methods in combination.</p> <p>23.3 Numerical assessment.</p> <p>23.4 Summary.</p> <p>23.5 Exercises.</p> <p><b>PART VII THE MONTE CARLO METHOD: CONVERGENCE AND BIAS.</b></p> <p><b>24 The Monte Carlo Method: Convergence and Bias.</b></p> <p>24.1 Reducing bias.</p> <p>24.2 Bias reduction methods.</p> <p>24.3 Bias and barrier options.</p> <p>24.4 Summary.</p> <p>24.5 Exercises.</p> <p><b>25 Discretization Methods.</b></p> <p>25.1 Discretization and convergence.</p> <p>25.2 Itō–Taylor discretization schemes.</p> <p>25.3 Schemes in 1-dimension.</p> <p>25.4 Predictor–corrector simulation.</p> <p>25.5 Numerical assessment for benchmark processes.</p> <p>25.6 Summary.</p> <p>25.7 Exercises.</p> <p><b>26 Applications to Models.</b></p> <p>26.1 The CIR process.</p> <p>26.2 Simulating discount factors.</p> <p>26.3 Summary.</p> <p>26.4 Exercises.</p> <p><b>27 Valuation in the Heston Model.</b></p> <p>27.1 Discretizing the Heston model.</p> <p>27.2 Convergence in the Heston model.</p> <p>27.3 Option valuation in the Heston model.</p> <p>27.4 Summary.</p> <p>27.5 Exercises.</p> <p><b>PART VIII VALUING AMERICAN OPTIONS BY SIMULATION.</b></p> <p><b>28 Valuing American and Bermudan Options.</b></p> <p>28.1 American options.</p> <p>28.2 Monte Carlo and American options.</p> <p>28.3 Summary.</p> <p>28.4 Exercises.</p> <p><b>29 Estimating the Early Exercise Boundary.</b></p> <p>29.1 Approximating the continuation value function.</p> <p>29.2 Choices for basis functions.</p> <p>29.3 The early exercise boundary.</p> <p>29.4 Effect on valuation.</p> <p>29.5 Summary.</p> <p>29.6 Exercises.</p> <p><b>30 The Plain LSLS Method.</b></p> <p>30.1 Implementation in VBA.</p> <p>30.2 Valuing the American put?</p> <p>30.3 Summary.</p> <p>30.4 Exercises.</p> <p><b>31 Control Variates and the LSLS Method.</b></p> <p>31.1 Control variates and the American put.</p> <p>31.2 Control variates and the EEB.</p> <p>31.3 A two-pass LSLS.</p> <p>31.4 Summary.</p> <p>31.5 Exercises.</p> <p><b>Afterword.</b></p> <p><b>APPENDICES.</b></p> <p><b>A VBA and Excel.</b></p> <p>A.1 Setting up Excel.</p> <p>A.2 Compiler problems in VBA.</p> <p><b>B Some Option Formulae.</b></p> <p>B.1 Geometrically averaged average rate options.</p> <p>B.2 A quadratic payoff option.</p> <p>B.3 A Bermudan option.</p> <p><b>C The Utility Code Modules.</b></p> <p>C.1 The utility procedures.</p> <p>C.2 The complex number object.</p> <p>C.3 Quadrature.</p> <p><b>D Running DLLs from VBA.</b></p> <p><b>E Object-Oriented Programming.</b></p> <p>E.1 Motivation for objects.</p> <p>E.2 Properties of objects.</p> <p>E.3 Implementing objects in VBA.</p> <p>E.4 Patterns of object use.</p> <p>E.5 Summary.</p> <p><b>F A Yukky Level 0 Monolithic Lattice Implementation.</b></p> <p>F.1 Lattice methods.</p> <p>F.2 Implementing a level 0 lattice method.</p> <p>F.3 Summary.</p> <p><b>G A Level 1 Crank–Nicolson PDE Implementation.</b></p> <p>G.1 PDE methods for derivative valuation.</p> <p>G.2 The Crank–Nicolson finite difference method.</p> <p>G.3 Implementing Crank–Nicolson.</p> <p>G.4 Assessment of the design.</p> <p>G.5 Successive over-relaxation (SOR).</p> <p>G.6 Summary.</p> <p><b>H Root-Finding and Minimization Algorithms.</b></p> <p>H.1 Root finding algorithms.</p> <p>H.2 Minimization algorithms.</p> <p>H.3 Summary.</p> <p><b>VBA, Modelling, and Computing Glossary.</b></p> <p><b>Abbreviations.</b></p> <p><b>Coding, Notational, and Typographical Conventions.</b></p> <p><b>Index to Code.</b></p> <p><b>Index to Spreadsheets.</b></p> <p><b>Index to Implementations.</b></p> <p><b>Index to Library Functions.</b></p> <p><b>Bibliography.</b></p> <p><b>Index.</b> </p>
<b>Nick Webber</b> learnt to programme with Algol 60 and has been programming ever since. Currently he a Reader at Warwick Business School where, amongst other things, he develops computational methods for the numerical valuation of financial methods although he has also developed fast lattice methods.<br />Before his academic incarnation Nick worked in system design and implementation in industry, both in IT groups and as a consultant. He has taught computational finance in C++ and VBA for many years, in Universities and to practitioners. He combines a research and theory oriented perspective with a long of experience of real applications. He advocates sensible design precepts at all times.<br />Nick has a PhD in Theoretical Physics from Imperial College, London
<i>Implementing Models of Financial Derivatives</i> is a comprehensive treatment of advanced implementation techniques in VBA for models of financial derivatives. Aimed at readers who are already familiar with the basics of VBA it emphasizes a fully object oriented approach to valuation applications, chiefly in the context of Monte Carlo simulation but also more broadly for lattice and PDE methods. Its unique approach to valuation, emphasizing effective implementation from both the numerical and the computational perspectives makes it an invaluable resource. <p>The book comes with a library of almost a hundred Excel spreadsheets containing implementations of all the methods and models it investigates, including a large number of useful utility procedures. Exercises structured around four application streams supplement the exposition in each chapter, taking the reader from basic procedural level programming up to high level object oriented implementations.</p> <p>Written in eight parts, parts 1-4 emphasize application design in VBA, focused around the development of a plain Monte Carlo application. Part 5 assesses the performance of VBA for this application, and the final 3 emphasize the implementation of a fast and accurate Monte Carlo method for option valuation.</p> <p>Key topics include:</p> <ul> <li> <div>Fully polymorphic factories in VBA;</div> </li> <li> <div>Polymorphic input and output using the TextStream and FileSystemObject objects;</div> </li> <li> <div>Valuing a book of options;</div> </li> <li> <div>Detailed assessment of the performance of VBA data structures;</div> </li> <li> <div>Theory, implementation, and comparison of the main Monte Carlo variance reduction methods;</div> </li> <li> <div>Assessment of discretization methods and their application to option valuation in models like CIR and Heston;</div> </li> <li> <div>Fast valuation of Bermudan options by Monte Carlo.</div> </li> </ul> <p>Fundamental theory and implementations of lattice and PDE methods are presented in appendices and developed through the book in the exercise streams.</p> <p>Spanning the two worlds of academic theory and industrial practice, this book  is not only suitable as a classroom text in VBA, in simulation methods, and as an introduction to object oriented design, it is also a reference for model implementers and quants working alongside derivatives groups. Its implementations are a valuable resource for students, teachers and developers alike.     </p>

Diese Produkte könnten Sie auch interessieren:

Mindfulness
Mindfulness
von: Gill Hasson
PDF ebook
12,99 €
Counterparty Credit Risk, Collateral and Funding
Counterparty Credit Risk, Collateral and Funding
von: Damiano Brigo, Massimo Morini, Andrea Pallavicini
EPUB ebook
69,99 €