
- English
- ePUB (mobile friendly)
- Available on iOS & Android
How to Implement Market Models Using VBA
About this book
How to Implement Market Models Using VBA makes solving complex valuation issues accessible to any financial professional with a taste for mathematics. With a focus on the clarity of code, this practical introductory guide includes chapters on VBA fundamentals and essential mathematical techniques, helping readers master the numerical methods to build an algorithm that can be used in a wide range of pricing problems. Coverage includes general algorithms, vanilla instruments, multi-asset instruments, yield curve models, interest rate exotics, and more, guiding readers thoroughly through pricing in the capital markets area. The companion website (http://implementmodinvba.com/) features additional VBA code and algorithmic techniques, and the interactive blog provides a forum for discussion of code with programmers and financial engineers, giving readers insight into the different applications and customisations possible for even more advanced problem solving..
Financial engineers implement models from a mathematical representation of an asset's performance by building a program that performs a valuation of securities based on this asset. How to Implement Market Models Using VBA makes this technical process understandable, with well-explained algorithms, VBA code, and accessible theoretical explanations.
- Decide which numerical method to use in which scenario
- Identify the necessary building blocks of an algorithm
- Write clear, functional VBA code for a variety of problems
- Apply algorithms to different instruments and models
Designed for finance professionals, this book brings more accurate modelling within reach for anyone with interest in the market. For clearer code, patient explanation, and practical instruction, How to Implement Market Models Using VBA is an essential introductory guide.
Tools to learn more effectively

Saving Books

Keyword Search

Annotating Text

Listen to it instead
Information
Chapter 1
The Basics of VBA Programming
1.1 Getting started
Office 2007

Office 2010 and beyond

- Code: this is the group from which you open the VBA editor
- Controls: user interface components, to create Windows-like applications
- XML: converts XML files into Excel files and vice versa.

- View: a menu that lists windows editing information regarding the code execution. Also hides or shows the project explorer (on the left). At creation, the project reduces to three open sheets and an empty module named ThisWorkbook. As new contents are added in your project, they appear in one of the following items:
- Module
- Class Module
- UserForm
- Insert: from this menu, you can add modules to edit your procedures, or class modules if you need to create customized objects. You can also build UserForms from this menu.
- Debug: from this menu, you can toggle breakpoints where the execution of the code is interrupted. To track algorithmic mistakes, you can also activate the execution step by step (shortcut F8) and watch the changes in some variables, displayed in the Immediate window or Local variables window (see View menu).
1.2 VBA objects and syntax
Range("D5") or [D5] Range("D5:F8") or [D5:F8] - Worksheets: collection of worksheet-type in a file
- Sheets: collection of worksheets + charts + dialog sheets
- Cells: collection of cells within a range
- Workbooks: collection of Excel application files open at the same time.
- either through the name of the element (e.g., Worksheets(“VAT”))
- or its index (e.g., Worksheets(2): 2nd Excel sheet tab)

Cells(i,j) 1.2.1 The ...
Table of contents
- Cover
- Title Page
- Copyright
- Preface
- Acknowledgements
- Abbreviations
- About the Author
- Chapter 1: The Basics of VBA Programming
- Chapter 2: Mathematical Algorithms
- Chapter 3: Vanilla Instruments
- Chapter 4: Numerical Solutions
- Chapter 5: Monte-Carlo Pricing Issues
- Chapter 6: Yield Curve Models
- Chapter 7: Stochastic Volatilities
- Chapter 8: Interest Rate Exotics
- Bibliography
- Index
- End User License Agreement
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app