Financial Instrument Pricing Using C++

Author: Daniel J. Duffy

Publisher: John Wiley & Sons

ISBN: 1119170486

Category: Business & Economics

Page: 1168

View: 6276

An integrated guide to C++ and computational finance This complete guide to C++ and computational finance is a follow-up and major extension to Daniel J. Duffy's 2004 edition of Financial Instrument Pricing Using C++. Both C++ and computational finance have evolved and changed dramatically in the last ten years and this book documents these improvements. Duffy focuses on these developments and the advantages for the quant developer by: Delving into a detailed account of the new C++11 standard and its applicability to computational finance. Using de-facto standard libraries, such as Boost and Eigen to improve developer productivity. Developing multiparadigm software using the object-oriented, generic, and functional programming styles. Designing flexible numerical algorithms: modern numerical methods and multiparadigm design patterns. Providing a detailed explanation of the Finite Difference Methods through six chapters, including new developments such as ADE, Method of Lines (MOL), and Uncertain Volatility Models. Developing applications, from financial model to algorithmic design and code, through a coherent approach. Generating interoperability with Excel add-ins, C#, and C++/CLI. Using random number generation in C++11 and Monte Carlo simulation. Duffy adopted a spiral model approach while writing each chapter of Financial Instrument Pricing Using C++ 2e: analyse a little, design a little, and code a little. Each cycle ends with a working prototype in C++ and shows how a given algorithm or numerical method works. Additionally, each chapter contains non-trivial exercises and projects that discuss improvements and extensions to the material. This book is for designers and application developers in computational finance, and assumes the reader has some fundamental experience of C++ and derivatives pricing. HOW TO RECEIVE THE SOURCE CODE Once you have purchased a copy of the book please send an email to the author dduffyATdatasim.nl requesting your personal and non-transferable copy of the source code. Proof of purchase is needed. The subject of the mail should be “C++ Book Source Code Request”. You will receive a reply with a zip file attachment.

Financial Instrument Pricing Using C++

Author: Daniel J. Duffy

Publisher: John Wiley & Sons

ISBN: 1118856473

Category: Business & Economics

Page: 432

View: 7576

One of the best languages for the development of financial engineering and instrument pricing applications is C++. This book has several features that allow developers to write robust, flexible and extensible software systems. The book is an ANSI/ISO standard, fully object-oriented and interfaces with many third-party applications. It has support for templates and generic programming, massive reusability using templates (?write once?) and support for legacy C applications. In this book, author Daniel J. Duffy brings C++ to the next level by applying it to the design and implementation of classes, libraries and applications for option and derivative pricing models. He employs modern software engineering techniques to produce industrial-strength applications: Using the Standard Template Library (STL) in finance Creating your own template classes and functions Reusable data structures for vectors, matrices and tensors Classes for numerical analysis (numerical linear algebra ?) Solving the Black Scholes equations, exact and approximate solutions Implementing the Finite Difference Method in C++ Integration with the ?Gang of Four? Design Patterns Interfacing with Excel (output and Add-Ins) Financial engineering and XML Cash flow and yield curves Included with the book is a CD containing the source code in the Datasim Financial Toolkit. You can use this to get up to speed with your C++ applications by reusing existing classes and libraries. 'Unique... Let's all give a warm welcome to modern pricing tools.' -- Paul Wilmott, mathematician, author and fund manager

Financial Instrument Pricing Using C++

Author: Daniel J. Duffy

Publisher: John Wiley & Sons

ISBN: 0470020482

Category: Business & Economics

Page: 432

View: 7746

One of the best languages for the development of financial engineering and instrument pricing applications is C++. This book has several features that allow developers to write robust, flexible and extensible software systems. The book is an ANSI/ISO standard, fully object-oriented and interfaces with many third-party applications. It has support for templates and generic programming, massive reusability using templates (?write once?) and support for legacy C applications. In this book, author Daniel J. Duffy brings C++ to the next level by applying it to the design and implementation of classes, libraries and applications for option and derivative pricing models. He employs modern software engineering techniques to produce industrial-strength applications: Using the Standard Template Library (STL) in finance Creating your own template classes and functions Reusable data structures for vectors, matrices and tensors Classes for numerical analysis (numerical linear algebra ?) Solving the Black Scholes equations, exact and approximate solutions Implementing the Finite Difference Method in C++ Integration with the ?Gang of Four? Design Patterns Interfacing with Excel (output and Add-Ins) Financial engineering and XML Cash flow and yield curves Included with the book is a CD containing the source code in the Datasim Financial Toolkit. You can use this to get up to speed with your C++ applications by reusing existing classes and libraries. 'Unique... Let's all give a warm welcome to modern pricing tools.' -- Paul Wilmott, mathematician, author and fund manager

Introduction to C++ for Financial Engineers

An Object-Oriented Approach

Author: Daniel J. Duffy

Publisher: John Wiley & Sons

ISBN: 1118856465

Category: Business & Economics

Page: 440

View: 8381

This book introduces the reader to the C++ programming language and how to use it to write applications in quantitative finance (QF) and related areas. No previous knowledge of C or C++ is required -- experience with VBA, Matlab or other programming language is sufficient. The book adopts an incremental approach; starting from basic principles then moving on to advanced complex techniques and then to real-life applications in financial engineering. There are five major parts in the book: C++ fundamentals and object-oriented thinking in QF Advanced object-oriented features such as inheritance and polymorphism Template programming and the Standard Template Library (STL) An introduction to GOF design patterns and their applications in QF Applications The kinds of applications include binomial and trinomial methods, Monte Carlo simulation, advanced trees, partial differential equations and finite difference methods. This book includes a companion website with all source code and many useful C++ classes that you can use in your own applications. Examples, test cases and applications are directly relevant to QF. This book is the perfect companion to Daniel J. Duffy’s book Financial Instrument Pricing using C++ (Wiley 2004, 0470855096 / 9780470021620)

C# for Financial Markets

Author: Daniel J. Duffy,Andrea Germani

Publisher: John Wiley & Sons

ISBN: 1118502833

Category: Business & Economics

Page: 856

View: 4225

A practice-oriented guide to using C# to design and program pricing and trading models In this step-by-step guide to software development for financial analysts, traders, developers and quants, the authors show both novice and experienced practitioners how to develop robust and accurate pricing models and employ them in real environments. Traders will learn how to design and implement applications for curve and surface modeling, fixed income products, hedging strategies, plain and exotic option modeling, interest rate options, structured bonds, unfunded structured products, and more. A unique mix of modern software technology and quantitative finance, this book is both timely and practical. The approach is thorough and comprehensive and the authors use a combination of C# language features, design patterns, mathematics and finance to produce efficient and maintainable software. Designed for quant developers, traders and MSc/MFE students, each chapter has numerous exercises and the book is accompanied by a dedicated companion website, http://www.datasimfinancial.com/forum/viewforum.php?f=196&sid=f30022095850dee48c7db5ff62192b34, providing all source code, alongside audio, support and discussion forums for readers to comment on the code and obtain new versions of the software.

Computational Finance

Numerical Methods for Pricing Financial Instruments

Author: George Levy

Publisher: Butterworth-Heinemann

ISBN: 9780750657228

Category: Business & Economics

Page: 443

View: 524

Accompanying CD-ROM contains ... "working computer code, demonstration applications, and also PDF versions of several research articles that are referred to in the book." -- d.j.

Monte Carlo Frameworks

Building Customisable High-performance C++ Applications

Author: Daniel J. Duffy,Joerg Kienitz

Publisher: John Wiley & Sons

ISBN: 0470684062

Category: Business & Economics

Page: 775

View: 9369

This is one of the first books that describe all the steps that are needed in order to analyze, design and implement Monte Carlo applications. It discusses the financial theory as well as the mathematical and numerical background that is needed to write flexible and efficient C++ code using state-of-the art design and system patterns, object-oriented and generic programming models in combination with standard libraries and tools. Includes a CD containing the source code for all examples. It is strongly advised that you experiment with the code by compiling it and extending it to suit your needs. Support is offered via a user forum on www.datasimfinancial.com where you can post queries and communicate with other purchasers of the book. This book is for those professionals who design and develop models in computational finance. This book assumes that you have a working knowledge of C ++.

Finite Difference Methods in Financial Engineering

A Partial Differential Equation Approach

Author: Daniel J. Duffy

Publisher: John Wiley & Sons

ISBN: 1118856481

Category: Business & Economics

Page: 464

View: 9779

The world of quantitative finance (QF) is one of the fastest growing areas of research and its practical applications to derivatives pricing problem. Since the discovery of the famous Black-Scholes equation in the 1970's we have seen a surge in the number of models for a wide range of products such as plain and exotic options, interest rate derivatives, real options and many others. Gone are the days when it was possible to price these derivatives analytically. For most problems we must resort to some kind of approximate method. In this book we employ partial differential equations (PDE) to describe a range of one-factor and multi-factor derivatives products such as plain European and American options, multi-asset options, Asian options, interest rate options and real options. PDE techniques allow us to create a framework for modeling complex and interesting derivatives products. Having defined the PDE problem we then approximate it using the Finite Difference Method (FDM). This method has been used for many application areas such as fluid dynamics, heat transfer, semiconductor simulation and astrophysics, to name just a few. In this book we apply the same techniques to pricing real-life derivative products. We use both traditional (or well-known) methods as well as a number of advanced schemes that are making their way into the QF literature: Crank-Nicolson, exponentially fitted and higher-order schemes for one-factor and multi-factor options Early exercise features and approximation using front-fixing, penalty and variational methods Modelling stochastic volatility models using Splitting methods Critique of ADI and Crank-Nicolson schemes; when they work and when they don't work Modelling jumps using Partial Integro Differential Equations (PIDE) Free and moving boundary value problems in QF Included with the book is a CD containing information on how to set up FDM algorithms, how to map these algorithms to C++ as well as several working programs for one-factor and two-factor models. We also provide source code so that you can customize the applications to suit your own needs.

Numerical Methods in Finance with C++

Author: Maciej J. Capiński,Tomasz Zastawniak

Publisher: Cambridge University Press

ISBN: 0521177162

Category: Business & Economics

Page: 175

View: 1256

Provides aspiring quant developers with the numerical techniques and programming skills needed in quantitative finance. No programming background required.

Principles of Financial Engineering

Author: Robert Kosowski,Salih N. Neftci

Publisher: Academic Press

ISBN: 0123870070

Category: Business & Economics

Page: 896

View: 3883

Principles of Financial Engineering, Third Edition, is a highly acclaimed text on the fast-paced and complex subject of financial engineering. This updated edition describes the "engineering" elements of financial engineering instead of the mathematics underlying it. It shows how to use financial tools to accomplish a goal rather than describing the tools themselves. It lays emphasis on the engineering aspects of derivatives (how to create them) rather than their pricing (how they act) in relation to other instruments, the financial markets, and financial market practices. This volume explains ways to create financial tools and how the tools work together to achieve specific goals. Applications are illustrated using real-world examples. It presents three new chapters on financial engineering in topics ranging from commodity markets to financial engineering applications in hedge fund strategies, correlation swaps, structural models of default, capital structure arbitrage, contingent convertibles, and how to incorporate counterparty risk into derivatives pricing. Poised midway between intuition, actual events, and financial mathematics, this book can be used to solve problems in risk management, taxation, regulation, and above all, pricing. A solutions manual enhances the text by presenting additional cases and solutions to exercises. This latest edition of Principles of Financial Engineering is ideal for financial engineers, quantitative analysts in banks and investment houses, and other financial industry professionals. It is also highly recommended to graduate students in financial engineering and financial mathematics programs. The Third Edition presents three new chapters on financial engineering in commodity markets, financial engineering applications in hedge fund strategies, correlation swaps, structural models of default, capital structure arbitrage, contingent convertibles and how to incorporate counterparty risk into derivatives pricing, among other topics. Additions, clarifications, and illustrations throughout the volume show these instruments at work instead of explaining how they should act The solutions manual enhances the text by presenting additional cases and solutions to exercises

Modeling Derivatives in C++

Author: Justin London

Publisher: John Wiley & Sons

ISBN: 047168189X

Category: Business & Economics

Page: 840

View: 2083

This book is the definitive and most comprehensive guide to modeling derivatives in C++ today. Providing readers with not only the theory and math behind the models, as well as the fundamental concepts of financial engineering, but also actual robust object-oriented C++ code, this is a practical introduction to the most important derivative models used in practice today, including equity (standard and exotics including barrier, lookback, and Asian) and fixed income (bonds, caps, swaptions, swaps, credit) derivatives. The book provides complete C++ implementations for many of the most important derivatives and interest rate pricing models used on Wall Street including Hull-White, BDT, CIR, HJM, and LIBOR Market Model. London illustrates the practical and efficient implementations of these models in real-world situations and discusses the mathematical underpinnings and derivation of the models in a detailed yet accessible manner illustrated by many examples with numerical data as well as real market data. A companion CD contains quantitative libraries, tools, applications, and resources that will be of value to those doing quantitative programming and analysis in C++. Filled with practical advice and helpful tools, Modeling Derivatives in C++ will help readers succeed in understanding and implementing C++ when modeling all types of derivatives.

Pricing Financial Instruments

The Finite Difference Method

Author: Domingo Tavella,Curt Randall

Publisher: Wiley

ISBN: 9780471197607

Category: Business & Economics

Page: 256

View: 6527

Numerical methods for the solution of financial instrument pricingequations are fast becoming essential for practitioners of modernquantitative finance. Among the most promising of these newcomputational finance techniques is the finite differencemethod-yet, to date, no single resource has presented a quality,comprehensive overview of this revolutionary quantitative approachto risk management. Pricing Financial Instruments, researched and written by DomingoTavella and Curt Randall, two of the chief proponents of the finitedifference method, presents a logical framework for applying themethod of finite difference to the pricing of financialderivatives. Detailing the algorithmic and numerical proceduresthat are the foundation of both modern mathematical finance and thecreation of financial products-while purposely keeping mathematicalcomplexity to a minimum-this long-awaited book demonstrates how thetechniques described can be used to accurately price simple andcomplex derivative structures. From a summary of stochastic pricing processes and arbitragepricing arguments, through the analysis of numerical schemes andthe implications of discretization-and ending with case studiesthat are simple yet detailed enough to demonstrate the capabilitiesof the methodology- Pricing Financial Instruments explores areasthat include: * Pricing equations and the relationship be-tween European andAmerican derivatives * Detailed analyses of different stability analysisapproaches * Continuous and discrete sampling models for path dependentoptions * One-dimensional and multi-dimensional coordinatetransformations * Numerical examples of barrier options, Asian options, forwardswaps, and more With an emphasis on how numerical solutions work and how theapproximations involved affect the accuracy of the solutions,Pricing Financial Instruments takes us through doors opened wide byBlack, Scholes, and Merton-and the arbitrage pricing principlesthey introduced in the early 1970s-to provide a step-by-stepoutline for sensibly interpreting the output of standard numericalschemes. It covers the understanding and application of today'sfinite difference method, and takes the reader to the next level ofpricing financial instruments and managing financial risk. Praise for Pricing Financial Instruments "Pricing Financial Instruments is the first broad and accessibletreatment of finite difference methods for pricing derivativesecurities. The authors have taken great care to clearly explainboth the origins of the pricing problems in a financial setting, aswell as many practical aspects of their numerical methods. The bookcovers a wide variety of applications, such as American options andcredit derivatives. Both financial analysts and academicasset-pricing specialists will want to own a copy."-Darrell Duffie,Professor of Finance Stanford University "In my experience, finite difference methods have proven to be asimple yet powerful tool for numerically solving the evolutionaryPDEs that arise in modern mathematical finance. This book shouldfinally dispel the widely held notion that these methods aresomehow difficult or abstract. I highly recommend it to anyoneinterested in the implementation of these methods in the financialarena."-Peter Carr, Principal Bank of America Securities "A very comprehensive treatment of the application of finitedifference techniques to derivatives finance. Practitioners willfind the many extensive examples very valuable and students willappreciate the rigorous attention paid to the many subtleties offinite difference techniques."-Francis Longstaff, Professor TheAnderson School at UCLA "The finite difference approach is central to the numerical pricingof financial securities. This book gives a clear and succinctintroduction to this important subject. Highly recommended."-MarkBroadie, Associate Professor School of Business, ColumbiaUniversity For updates on new and bestselling Wiley Finance books:wiley.com/wbns

Computational Finance Using C and C#

Derivatives and Valuation

Author: George Levy

Publisher: Academic Press

ISBN: 0128035765

Category: Business & Economics

Page: 388

View: 7668

Computational Finance Using C and C#: Derivatives and Valuation, Second Edition provides derivatives pricing information for equity derivatives, interest rate derivatives, foreign exchange derivatives, and credit derivatives. By providing free access to code from a variety of computer languages, such as Visual Basic/Excel, C++, C, and C#, it gives readers stand-alone examples that they can explore before delving into creating their own applications. It is written for readers with backgrounds in basic calculus, linear algebra, and probability. Strong on mathematical theory, this second edition helps empower readers to solve their own problems. *Features new programming problems, examples, and exercises for each chapter. *Includes freely-accessible source code in languages such as C, C++, VBA, C#, and Excel.. *Includes a new chapter on the history of finance which also covers the 2008 credit crisis and the use of mortgage backed securities, CDSs and CDOs. *Emphasizes mathematical theory. Features new programming problems, examples, and exercises with solutions added to each chapter Includes freely-accessible source code in languages such as C, C++, VBA, C#, Excel, Includes a new chapter on the credit crisis of 2008 Emphasizes mathematical theory

Advanced Quantitative Finance with C++

Author: Alonso Peña, Ph.D.

Publisher: Packt Publishing Ltd

ISBN: 1782167234

Category: Computers

Page: 124

View: 9970

The book takes the reader through a fast but structured crash-course in quantitative finance, from theory to practice. If you are a quantitative analyst, risk manager, actuary, or a professional working in the field of quantitative finance and want a quick hands-on introduction to the pricing of financial derivatives, this book is ideal for you. You should be familiar with the basic programming concepts and C++ programming language. You should also be acquainted with calculus of undergraduate level.

Interest Rate Swaps and Their Derivatives

A Practitioner's Guide

Author: Amir Sadr

Publisher: John Wiley & Sons

ISBN: 9780470526118

Category: Business & Economics

Page: 272

View: 7373

An up-to-date look at the evolution of interest rate swaps and derivatives Interest Rate Swaps and Derivatives bridges the gap between the theory of these instruments and their actual use in day-to-day life. This comprehensive guide covers the main "rates" products, including swaps, options (cap/floors, swaptions), CMS products, and Bermudan callables. It also covers the main valuation techniques for the exotics/structured-notes area, which remains one of the most challenging parts of the market. Provides a balance of relevant theory and real-world trading instruments for rate swaps and swap derivatives Uses simple settings and illustrations to reveal key results Written by an experienced trader who has worked with swaps, options, and exotics With this book, author Amir Sadr shares his valuable insights with practitioners in the field of interest rate derivatives-from traders and marketers to those in operations.

Practical C++ Financial Programming

Author: Carlos Oliveira

Publisher: Apress

ISBN: 143026716X

Category: Computers

Page: 396

View: 9469

Practical C++ Financial Programming is a hands-on book for programmers wanting to apply C++ to programming problems in the financial industry. The book explains those aspects of the language that are more frequently used in writing financial software, including the STL, templates, and various numerical libraries. The book also describes many of the important problems in financial engineering that are part of the day-to-day work of financial programmers in large investment banks and hedge funds. The author has extensive experience in the New York City financial industry that is now distilled into this handy guide. Focus is on providing working solutions for common programming problems. Examples are plentiful and provide value in the form of ready-to-use solutions that you can immediately apply in your day-to-day work. You’ll learn to design efficient, numerical classes for use in finance, as well as to use those classes provided by Boost and other libraries. You’ll see examples of matrix manipulations, curve fitting, histogram generation, numerical integration, and differential equation analysis, and you’ll learn how all these techniques can be applied to some of the most common areas of financial software development. These areas include performance price forecasting, optimizing investment portfolios, and more. The book style is quick and to-the-point, delivering a refreshing view of what one needs to master in order to thrive as a C++ programmer in the financial industry. Covers aspects of C++ especially relevant to financial programming. Provides working solutions to commonly-encountered problems in finance. Delivers in a refreshing and easy style with a strong focus on the practical.

Modelling Financial Derivatives with MATHEMATICA ®

Author: William T. Shaw

Publisher: Cambridge University Press

ISBN: 9780521592338

Category: Business & Economics

Page: 537

View: 9739

One of the most important tasks in finance is to find good mathematical models for financial products, in particular derivatives. However, the more realistic the model, the more practitioners face still-unsolved problems in rigorous mathematics and econometrics, in addition to serious numerical difficulties. The idea behind this book is to use Mathematica® to provide a wide range of exact benchmark models against which inexact models can be tested and verified. In so doing, the author is able to explain when models and numerical schemes can be relied on, and when they can't. Benchmarking is also applied to Monte Carlo simulations. Mathematica's graphical and animation capabilities are exploited to show how a model's characteristics can be visualized in two and three dimensions. The models described are all available on an accompanying CD that runs on most Windows, Unix and Macintosh platforms; to be able fully to use the software, Mathematica 3 is required, although certain features are usable with Mathematica 2.2. This product will prove of inestimable worth for financial instrument valuation and hedging, checking existing models and for analyzing derivatives; it can be used for professional or training purposes in financial institutions or universities, and in MBA courses.

Commodities and Commodity Derivatives

Modeling and Pricing for Agriculturals, Metals and Energy

Author: Helyette Geman

Publisher: John Wiley & Sons

ISBN: 9780470687734

Category: Business & Economics

Page: 416

View: 3307

The last few years have been a watershed for the commodities, cash and derivatives industry. New regulations and products have led to an explosion in the commodities markets, creating a new asset for investors that includes hedge funds as well as University endowments, and has resulted in a spectacular growth in spot and derivative trading. This book covers hard and soft commodities (energy, agriculture and metals) and analyses: Economic and geopolitical issues in commodities markets Commodity price and volume risk Stochastic modelling of commodity spot prices and forward curves Real options valuation and hedging of physical assets in the energy industry It is required reading for energy companies and utilities practitioners, commodity cash and derivatives traders in investment banks, the Agrifood business, Commodity Trading Advisors (CTAs) and Hedge Funds. In Commodities and Commodity Derivatives, Hélyette Geman shows her powerful command of the subject by combining a rigorous development of its mathematical modelling with a compact institutional presentation of the arcane characteristics of commodities that makes the complex analysis of commodities derivative securities accessible to both the academic and practitioner who wants a deep foundation and a breadth of different market applications. It is destined to be a "must have" on the subject.” —Robert Merton, Professor, Harvard Business School "A marvelously comprehensive book of interest to academics and practitioners alike, by one of the world's foremost experts in the field." —Oldrich Vasicek, founder, KMV

Understanding Credit Derivatives and Related Instruments

Author: Antulio N. Bomfim

Publisher: Academic Press

ISBN: 0128004908

Category: Business & Economics

Page: 420

View: 6340

Understanding Credit Derivatives and Related Instruments, Second Edition is an intuitive, rigorous overview that links the practices of valuing and trading credit derivatives with academic theory. Rather than presenting highly technical explorations, the book offers summaries of major subjects and the principal perspectives associated with them. The book's centerpiece is pricing and valuation issues, especially valuation tools and their uses in credit models. Five new chapters cover practices that have become commonplace as a result of the 2008 financial crisis, including standardized premiums and upfront payments. Analyses of regulatory responses to the crisis for the credit derivatives market (Basel III, Dodd-Frank, etc.) include all the necessary statistical and mathematical background for readers to easily follow the pricing topics. Every reader familiar with mid-level mathematics who wants to understand the functioning of the derivatives markets (in both practical and academic contexts) can fully satisfy his or her interests with the comprehensive assessments in this book. Explores the role that credit derivatives played during the economic crisis, both as hedging instruments and as vehicles that potentially magnified losses for some investors Comprehensive overview of single-name and multi-name credit derivatives in terms of market specifications, pricing techniques, and regulatory treatment Updated edition uses current market statistics (market size, market participants, and uses of credit derivatives), covers the application of CDS technology to other asset classes (CMBX, ABX, etc.), and expands the treatment of individual instruments to cover index products, and more