Algorithmic Differentiation in Finance Explained


Book Description

This book provides the first practical guide to the function and implementation of algorithmic differentiation in finance. Written in a highly accessible way, Algorithmic Differentiation Explained will take readers through all the major applications of AD in the derivatives setting with a focus on implementation. Algorithmic Differentiation (AD) has been popular in engineering and computer science, in areas such as fluid dynamics and data assimilation for many years. Over the last decade, it has been increasingly (and successfully) applied to financial risk management, where it provides an efficient way to obtain financial instrument price derivatives with respect to the data inputs. Calculating derivatives exposure across a portfolio is no simple task. It requires many complex calculations and a large amount of computer power, which in prohibitively expensive and can be time consuming. Algorithmic differentiation techniques can be very successfully in computing Greeks and sensitivities of a portfolio with machine precision. Written by a leading practitioner who works and programmes AD, it offers a practical analysis of all the major applications of AD in the derivatives setting and guides the reader towards implementation. Open source code of the examples is provided with the book, with which readers can experiment and perform their own test scenarios without writing the related code themselves.




Modern Computational Finance


Book Description

Arguably the strongest addition to numerical finance of the past decade, Algorithmic Adjoint Differentiation (AAD) is the technology implemented in modern financial software to produce thousands of accurate risk sensitivities, within seconds, on light hardware. AAD recently became a centerpiece of modern financial systems and a key skill for all quantitative analysts, developers, risk professionals or anyone involved with derivatives. It is increasingly taught in Masters and PhD programs in finance. Danske Bank's wide scale implementation of AAD in its production and regulatory systems won the In-House System of the Year 2015 Risk award. The Modern Computational Finance books, written by three of the very people who designed Danske Bank's systems, offer a unique insight into the modern implementation of financial models. The volumes combine financial modelling, mathematics and programming to resolve real life financial problems and produce effective derivatives software. This volume is a complete, self-contained learning reference for AAD, and its application in finance. AAD is explained in deep detail throughout chapters that gently lead readers from the theoretical foundations to the most delicate areas of an efficient implementation, such as memory management, parallel implementation and acceleration with expression templates. The book comes with professional source code in C++, including an efficient, up to date implementation of AAD and a generic parallel simulation library. Modern C++, high performance parallel programming and interfacing C++ with Excel are also covered. The book builds the code step-by-step, while the code illustrates the concepts and notions developed in the book.




Principles of Data Assimilation


Book Description

Data assimilation is theoretically founded on probability, statistics, control theory, information theory, linear algebra, and functional analysis. At the same time, data assimilation is a very practical subject, given its goal of estimating the posterior probability density function in realistic high-dimensional applications. This puts data assimilation at the intersection between the contrasting requirements of theory and practice. Based on over twenty years of teaching courses in data assimilation, Principles of Data Assimilation introduces a unique perspective that is firmly based on mathematical theories, but also acknowledges practical limitations of the theory. With the inclusion of numerous examples and practical case studies throughout, this new perspective will help students and researchers to competently interpret data assimilation results and to identify critical challenges of developing data assimilation algorithms. The benefit of information theory also introduces new pathways for further development, understanding, and improvement of data assimilation methods.




Advances in Financial Machine Learning


Book Description

Learn to understand and implement the latest machine learning innovations to improve your investment performance Machine learning (ML) is changing virtually every aspect of our lives. Today, ML algorithms accomplish tasks that – until recently – only expert humans could perform. And finance is ripe for disruptive innovations that will transform how the following generations understand money and invest. In the book, readers will learn how to: Structure big data in a way that is amenable to ML algorithms Conduct research with ML algorithms on big data Use supercomputing methods and back test their discoveries while avoiding false positives Advances in Financial Machine Learning addresses real life problems faced by practitioners every day, and explains scientifically sound solutions using math, supported by code and examples. Readers become active users who can test the proposed solutions in their individual setting. Written by a recognized expert and portfolio manager, this book will equip investment professionals with the groundbreaking tools needed to succeed in modern finance.




The XVA of Financial Derivatives: CVA, DVA and FVA Explained


Book Description

This latest addition to the Financial Engineering Explained series focuses on the new standards for derivatives valuation, namely, pricing and risk management taking into account counterparty risk, and the XVA's Credit, Funding and Debt value adjustments.




Modern Computational Finance


Book Description

An incisive and essential guide to building a complete system for derivative scripting In Volume 2 of Modern Computational Finance Scripting for Derivatives and xVA, 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). 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: Effective strategies for improving scripting libraries, from basic examples—like support for dates and vectors—to advanced improvements, including American Monte Carlo techniques Exploration of the concepts of fuzzy logic and risk sensitivities, including support for smoothing and condition domains Discussion of the application of scripting to xVA, complete with a full treatment of branching Perfect for quantitative analysts, risk professionals, system developers, derivatives traders, and financial analysts, Modern Computational Finance Scripting for Derivatives and xVA: Volume 2 is also a must-read resource for students and teachers in master’s and PhD finance programs.




Interest Rate Modelling in the Multi-Curve Framework


Book Description

Following the financial crisis dramatic market changes, a new standard in interest rate modelling emerged, called the multi-curve framework. The author provides a detailed analysis of the framework, through its foundations, evolution and implementation. The book also covers recent extensions to collateral and stochastic spreads modelling.




Numerical Algorithms


Book Description

Numerical Algorithms: Methods for Computer Vision, Machine Learning, and Graphics presents a new approach to numerical analysis for modern computer scientists. Using examples from a broad base of computational tasks, including data processing, computational photography, and animation, the textbook introduces numerical modeling and algorithmic desig




Statistically Sound Machine Learning for Algorithmic Trading of Financial Instruments


Book Description

This book serves two purposes. First, it teaches the importance of using sophisticated yet accessible statistical methods to evaluate a trading system before it is put to real-world use. In order to accommodate readers having limited mathematical background, these techniques are illustrated with step-by-step examples using actual market data, and all examples are explained in plain language. Second, this book shows how the free program TSSB (Trading System Synthesis & Boosting) can be used to develop and test trading systems. The machine learning and statistical algorithms available in TSSB go far beyond those available in other off-the-shelf development software. Intelligent use of these state-of-the-art techniques greatly improves the likelihood of obtaining a trading system whose impressive backtest results continue when the system is put to use in a trading account. Among other things, this book will teach the reader how to: Estimate future performance with rigorous algorithms Evaluate the influence of good luck in backtests Detect overfitting before deploying your system Estimate performance bias due to model fitting and selection of seemingly superior systems Use state-of-the-art ensembles of models to form consensus trade decisions Build optimal portfolios of trading systems and rigorously test their expected performance Search thousands of markets to find subsets that are especially predictable Create trading systems that specialize in specific market regimes such as trending/flat or high/low volatility More information on the TSSB program can be found at TSSBsoftware dot com.




Python for Finance


Book Description

The financial industry has recently adopted Python at a tremendous rate, with some of the largest investment banks and hedge funds using it to build core trading and risk management systems. Updated for Python 3, the second edition of this hands-on book helps you get started with the language, guiding developers and quantitative analysts through Python libraries and tools for building financial applications and interactive financial analytics. Using practical examples throughout the book, author Yves Hilpisch also shows you how to develop a full-fledged framework for Monte Carlo simulation-based derivatives and risk analytics, based on a large, realistic case study. Much of the book uses interactive IPython Notebooks.