Details

Modern Computational Finance


Modern Computational Finance

Scripting for Derivatives and xVA
1. Aufl.

von: Antoine Savine, Jesper Andreasen

73,99 €

Verlag: Wiley
Format: PDF
Veröffentl.: 27.10.2021
ISBN/EAN: 9781119540816
Sprache: englisch
Anzahl Seiten: 288

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

Beschreibungen

<p><b>An incisive and essential guide to building a complete system for derivative scripting </b></p> <p>In Volume 2 of <i>Modern Computational Finance Scripting for Derivatives and xVA,</i> quantitative finance experts and practitioners Drs. Antoine Savine and Jesper Andreasen deliver an indispensable and insightful roadmap to the interrogation, aggregation, and manipulation of cash-flows in a variety of ways. The book demonstrates how to facilitate portfolio-wide risk assessment and regulatory calculations (like xVA). </p> <p>Complete with a professional scripting library written in modern C++, this stand-alone volume walks readers through the construction of a comprehensive risk and valuation tool. This essential book also offers: </p> <ul> <li>Effective strategies for improving scripting libraries, from basic examples—like support for dates and vectors—to advanced improvements, including American Monte Carlo techniques </li> <li>Exploration of the concepts of fuzzy logic and risk sensitivities, including support for smoothing and condition domains </li> <li>Discussion of the application of scripting to xVA, complete with a full treatment of branching </li> </ul> <p>Perfect for quantitative analysts, risk professionals, system developers, derivatives traders, and financial analysts, <i>Modern Computational Finance Scripting for Derivatives and xVA</i>: Volume 2 is also a must-read resource for students and teachers in master’s and PhD finance programs. </p>
<p>My Life in Script by <i>Jesper Andreasen</i> xi</p> <p><b>Part I A Scripting Library in C++</b></p> <p>Introduction 3</p> <p><b>Chapter 1 Opening Remarks 7</b></p> <p>Introduction 7</p> <p>1.1 Scripting is not only for exotics 12</p> <p>1.2 Scripting is for cash-flows not payoffs 13</p> <p>1.3 Simulation models 15</p> <p>1.4 Pre-processing 17</p> <p>1.5 Visitors 19</p> <p>1.6 Modern implementation in C++ 21</p> <p>1.7 Script templates 22</p> <p><b>Chapter 2 Expression Trees 25</b></p> <p>2.1 In theory 25</p> <p>2.2 In code 35</p> <p><b>Chapter 3 Visitors 41</b></p> <p>3.1 The visitor pattern 41</p> <p>3.2 The debugger visitor 47</p> <p>3.3 The variable indexer 50</p> <p>3.4 Pre-processors 54</p> <p>3.5 Const visitors 55</p> <p>3.6 The evaluator 57</p> <p>3.7 Communicating with models 65</p> <p><b>Chapter 4 Putting Scripting Together with a Model 71</b></p> <p>4.1 A simplistic Black-Scholes Monte-Carlo simulator 71</p> <p><i>4.1.1 Random number generators </i>71</p> <p><i>4.1.2 Simulation models </i>73</p> <p><i>4.1.3 Simulation engines </i>76</p> <p>4.2 Connecting the model to the scripting framework 76</p> <p><b>Chapter 5 Core Extensions and the “Pays” Keyword 81</b></p> <p>5.1 In theory 81</p> <p>5.2 In code 83</p> <p><b>Part II Basic Improvements</b></p> <p>Introduction 93</p> <p><b>Chapter 6 Past Evaluator 95</b></p> <p><b>Chapter 7 Macros 97</b></p> <p><b>Chapter 8 Schedules of Cash-Flows 99</b></p> <p><b>Chapter 9 Support for Dates 105</b></p> <p><b>Chapter 10 Predefined Schedules and Functions 109</b></p> <p><b>Chapter 11 Support for Vectors 113</b></p> <p>11.1 Basic functionality 113</p> <p>11.2 Advanced functionality 115</p> <p><i>11.2.1 New node types </i>116</p> <p><i>11.2.2 Support in the parser </i>116</p> <p><i>11.2.3 Processing </i>117</p> <p><i>11.2.4 Evaluation </i>117</p> <p><b>Part III Advanced Improvements Introduction 121</b></p> <p><b>Chapter 12 Linear Products 123</b></p> <p>12.1 Interest rates and swaps 123</p> <p>12.2 Equities, foreign exchange, and commodities 125</p> <p>12.3 Linear model implementation 126</p> <p><b>Chapter 13 Fixed Income Instruments 127</b></p> <p>13.1 Delayed payments 127</p> <p>13.2 Discount factors 128</p> <p>13.3 The simulated data processor 129</p> <p>13.4 Indexing 129</p> <p>13.5 Upgrading “pays” to support delayed payments 131</p> <p>13.6 Annuities 132</p> <p>13.7 Forward discount factors 132</p> <p>13.8 Back to equities 132</p> <p>13.9 Libor and rate fixings 133</p> <p>13.10 Scripts for swaps and options 134</p> <p><b>Chapter 14 Multiple Underlying Assets 137</b></p> <p>14.1 Multiple assets 137</p> <p>14.2 Multiple currencies 139</p> <p><b>Chapter 15 American Monte-Carlo 143</b></p> <p>15.1 Least Squares Method 143</p> <p>15.2 One proxy 147</p> <p>15.3 Additional regression variables 149</p> <p>15.4 Feedback and exercise 149</p> <p>15.5 Multiple exercise and recursion 152</p> <p><b>Part IV Fuzzy Logic and Risk Sensitivities Introduction 157</b></p> <p><b>Chapter 16 Risk Sensitivities with Monte-Carlo 161</b></p> <p>16.1 Risk instabilities 161</p> <p>16.2 Two approaches toward a solution 165</p> <p>16.3 Smoothing for digitals and barriers 166</p> <p>16.4 Smoothing for scripted transactions 168</p> <p><b>Chapter 17 Support for Smoothing 169</b></p> <p><b>Chapter 18 An Automated Smoothing Algorithm 175</b></p> <p>18.1 Basic algorithm 176</p> <p>18.2 Nested and combined conditions 179</p> <p>18.3 Affected variables 179</p> <p>18.4 Further optimization 180</p> <p><b>Chapter 19 Fuzzy Logic 183</b></p> <p><b>Chapter 20 Condition Domains 189</b></p> <p>20.1 Fuzzy evaluation of discrete conditions 189</p> <p><i>20.1.1 Condition domains </i>189</p> <p><i>20.1.2 Constant conditions </i>190</p> <p><i>20.1.3 Boolean conditions </i>191</p> <p><i>20.1.4 Binary conditions </i>193</p> <p><i>20.1.5 Discrete conditions </i>193</p> <p><i>20.1.6 Putting it all together </i>197</p> <p>20.2 Identification of condition domains 198</p> <p>20.3 Constant expressions 201</p> <p><b>Chapter 21 Limitations 203</b></p> <p>21.1 Dead and alive 203</p> <p>21.2 Non-linear use of fuzzy variables 206</p> <p><b>Chapter 22 The Smoothing Factor 209</b></p> <p>22.1 Scripting support 209</p> <p>22.2 Automatic determination 211</p> <p><b>Part V Application to xVA </b></p> <p><b>Chapter 23 xVA 215</b></p> <p><b>Chapter 24 Branching 219</b></p> <p><b>Chapter 25 Closing Remarks 223</b></p> <p>25.1 Script examples 223</p> <p>25.2 Multi-threading and AAD 228</p> <p>25.3 Advanced LSM optimizations 229</p> <p><b>Appendix A Parsing 231</b></p> <p>A.1 Preparing for parsing 231</p> <p>A.2 Parsing statements 234</p> <p>A.3 Recursively parsing conditions 238</p> <p>A.4 Recursively parsing expressions 244</p> <p>A.5 Performance 252</p> <p>Bibliography 255</p> <p>Index 257</p>
<p>“The Global Financial Crisis resulted in profound changes in quants’ Modus Operandi. This timely three-volume set describes some of the tools necessary to deal with these changes. Individual volumes cover in detail several important topics of interest to anyone who wants to stay au courant with modern developments in financial engineering. While the books are predominantly practically oriented, they strike a fine balance between theoretical and applied considerations. The authors are prominent practitioners and indisputable thought-leaders in the field. I recommend this set enthusiastically to anyone who wishes to understand the current and emerging trends in financial engineering.”</p> <p>- Prof. Alexander Lipton, Founder and CEO, Stronghold Labs; Fellow, Connection Science and Engineering, Massachusetts Institute of Technology</p>
<p><b>ANTOINE SAVINE</b> is a mathematician and derivatives practitioner with 25 years of leadership experience with global investment banks. He wrote the book on automatic adjoint differentiation (AAD) and co-developed <i>Differential Machine Learning.</i> He was also influential in volatility modeling and many areas of numerical and computational finance. Antoine works with Superfly Analytics at Danske Bank, winner of the 2019 Excellence in Risk Management and Modelling RiskMinds award. He holds a PhD in Mathematical Finance from Copenhagen University, where he teaches quantitative and computational finance.</p> <p><b>Jesper Andreasen </b>heads the Quantitative Research department at Saxo Bank. Over a 25 year long career he has held senior roles in quant departments of Bank of America, Nordea and General Re Financial Products, and he founded and headed the Superfly Analytics department at Danske Bank. Jesper co-received <i>Risk</i> magazine’s 2001 and 2012 Quant of the year awards and their In-House Risk System of the year award in 2015. He is an honorary professor of Mathematical Finance at Copenhagen University and completed his PhD in the same subject at Aarhus University in 1997.
<p><b>PRAISE FOR <I>MODERN COMPUTATIONAL FINANCE</i></b></p> <p>“This book is an indispensable resource for any quant. ­Written by experts in the field and filled with practical examples and industry insights that are hard to find elsewhere, the book sets a new standard for computational finance.” <p><b>—Paul Glasserman,</b> Jack R. Anderson Professor of Business, Columbia University <p>“The global financial crisis resulted in profound changes to quants’ Modus Operandi. <i>Modern Computational Finance </i>describes some of the tools necessary to deal with these changes. This book covers in detail several important topics of interest to anyone who wants to stay <i>au ­courant</i> with modern developments in financial engineering. While the book is ­predominantly practically oriented, it strikes a fine balance between theoretical and applied considerations. The authors are prominent practitioners and undisputed thought-leaders in the field. I recommend this book enthusiastically to anyone who wishes to understand the current and emerging trends in financial engineering.” <p><b>—Professor Alexander Lipton,</b> Fellow, Connection Science and Engineering, Massachusetts Institute of Technology; Founder and CIO, Sila <p>“This is a new era that expects a new, expanded skill set from a new ­generation of quants. This is a new type of publication that combines words, mathematics, and code to offer a full picture for the generic, effective, practical development of modern financial libraries. The authors ­provide the unique perspective of long-time leading derivatives practitioners. Brilliant.” <p><b>—Rolf Poulsen,</b> Professor of Mathematical Finance, University of ­Copenhagen

Diese Produkte könnten Sie auch interessieren:

DPSM for Modeling Engineering Problems
DPSM for Modeling Engineering Problems
von: Dominique Placko, Tribikram Kundu
PDF ebook
159,99 €
Mathematical Analysis
Mathematical Analysis
von: Bernd S. W. Schröder
PDF ebook
114,99 €