LEADER 05573nam 2200505 450 001 9910809880203321 005 20230629225847.0 010 $a1-119-54081-X 010 $a1-119-54079-8 035 $a(CKB)4940000000617082 035 $a(MiAaPQ)EBC6795952 035 $a(Au-PeEL)EBL6795952 035 $a(OCoLC)1285169849 035 $a(EXLCZ)994940000000617082 100 $a20220719d2022 uy 0 101 0 $aeng 135 $aurcnu|||||||| 181 $ctxt$2rdacontent 182 $cc$2rdamedia 183 $acr$2rdacarrier 200 10$aModern computational finance $escripting for derivatives and XVA /$fAntoine Savine, Jesper Andreasen 210 1$aHoboken, New Jersey :$cJohn Wiley & Sons, Incorporated,$d[2022] 210 4$dİ2022 215 $a1 online resource (288 pages) 311 $a1-119-54078-X 320 $aIncludes bibliographical references. 327 $aCover -- Title Page -- Copyright Page -- Contents -- My Life in Script by Jesper Andreasen -- Part I A Scripting Library in C++ -- Introduction -- Chapter 1 Opening Remarks -- Introduction -- 1.1 Scripting is not only for exotics -- 1.2 Scripting is for cash?flows not payoffs -- 1.3 Simulation models -- 1.4 Pre?processing -- 1.5 Visitors -- 1.6 Modern implementation in C++ -- 1.7 Script templates -- Chapter 2 Expression Trees -- 2.1 In theory -- 2.2 In code -- Chapter 3 Visitors -- 3.1 The visitor pattern -- 3.2 The debugger visitor -- 3.3 The variable indexer -- 3.4 Pre?processors -- 3.5 Const visitors -- 3.6 The evaluator -- 3.7 Communicating with models -- Chapter 4 Putting Scripting Together with a Model -- 4.1 A simplistic Black?Scholes Monte?Carlo simulator -- 4.1.1 Random number generators -- 4.1.2 Simulation models -- 4.1.3 Simulation engines -- 4.2 Connecting the model to the scripting framework -- Chapter 5 Core Extensions and the "Pays" Keyword -- 5.1 In theory -- 5.2 In code -- Part II Basic Improvements -- Introduction -- Chapter 6 Past Evaluator -- Chapter 7 Macros -- Chapter 8 Schedules of Cash?Flows -- Chapter 9 Support for Dates -- Chapter 10 Predefined Schedules and Functions -- Chapter 11 Support for Vectors -- 11.1 Basic functionality -- 11.2 Advanced functionality -- 11.2.1 New node types -- 11.2.2 Support in the parser -- 11.2.3 Processing -- 11.2.4 Evaluation -- Part III Advanced Improvements -- Introduction -- Chapter 12 Linear Products -- 12.1 Interest Rates and Swaps -- 12.2 Equities, Foreign Exchange, and Commodities -- 12.3 Linear Model Implementation -- Chapter 13 Fixed Income Instruments -- 13.1 Delayed payments -- 13.2 Discount factors -- 13.3 The simulated data processor -- 13.4 Indexing -- 13.5 Upgrading "pays" to support delayed payments -- 13.6 Annuities -- 13.7 Forward discount factors -- 13.8 Back to equities. 327 $a13.9 Libor and rate fixings -- 13.10 Scripts for swaps and options -- Chapter 14 Multiple Underlying Assets -- 14.1 Multiple assets -- 14.2 Multiple currencies -- Chapter 15 American Monte?Carlo -- 15.1 Least Squares Method -- 15.2 One proxy -- 15.3 Additional regression variables -- 15.4 Feedback and exercise -- 15.5 Multiple exercise and recursion -- Part IV Fuzzy Logic and Risk Sensitivities -- Introduction -- Chapter 16 Risk Sensitivities with Monte?Carlo -- 16.1 Risk instabilities -- 16.2 Two approaches toward a solution -- 16.3 Smoothing for digitals and barriers -- 16.4 Smoothing for scripted transactions -- Chapter 17 Support for Smoothing -- Chapter 18 An Automated Smoothing Algorithm -- 18.1 Basic algorithm -- 18.2 Nested and combined conditions -- 18.3 Affected variables -- 18.4 Further optimization -- Chapter 19 Fuzzy Logic -- Chapter 20 Condition Domains -- 20.1 Fuzzy evaluation of discrete conditions -- 20.1.1 Condition domains -- 20.1.2 Constant conditions -- 20.1.3 Boolean conditions -- 20.1.4 Binary conditions -- 20.1.5 Discrete conditions -- 20.1.6 Putting it all together -- 20.2 Identification of condition domains -- 20.3 Constant expressions -- Chapter 21 Limitations -- 21.1 Dead and alive -- 21.2 Non?Linear use of fuzzy variables -- Chapter 22 The Smoothing Factor -- 22.1 Scripting support -- 22.2 Automatic determination -- Part V Application to xVA -- Chapter 23 xVA -- Chapter 24 Branching -- Chapter 25 Closing Remarks -- 25.1 Script examples -- 25.2 Multi?threading and AAD -- 25.3 Advanced LSM optimizations -- Appendix A Parsing -- A.1 Preparing for parsing -- A.2 Parsing statements -- A.3 Recursively parsing conditions -- A.4 Recursively parsing expressions -- A.5 Performance -- Bibliography -- Index -- EULA. 330 $a"Scripting of derivatives transactions has been a central piece of financial software since the 1990s. Every derivatives valuation and risk system, either in-house or from external vendors, features at least some kind of scripting technology. Yet, the expertise in that field remains unwritten to date, without any article or publication dedicated to the subject. This book fills that gap"--$cProvided by publisher. 606 $aFinance$xMathematical models 606 $aFinance$xData processing 606 $aFinance$xComputer simulation 615 0$aFinance$xMathematical models. 615 0$aFinance$xData processing. 615 0$aFinance$xComputer simulation. 676 $a332.015195 700 $aSavine$b Antoine$f1970-$01656009 702 $aAndreasen$b Jesper 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910809880203321 996 $aModern computational finance$94008635 997 $aUNINA