Resources

Blog-style articles that help you understand derivatives better by pricing them in Excel. If you choose a category from the list on the left and click on the appearing envelope icon, you will be notified by email when a new article is posted in that category.

USD Swaption Pricing in Excel using the Bachelier Model and Market Normal Vols from CME

cover

The Chicago Mercantile Exchange (CME) clears European swaption trades on 3-month USD LIBOR since April 2016 and has thus become the first major exchange that lists Over-The-Counter (OTC) interest rate products with optionality. The standardized swaption contracts have 5 different expiries - 1M, 3M, 6M, 1Y, 2Y – and 7 underlying swap tenors - 1Y, 2Y...

Continue reading
  30532 Hits

Parametric Yield Curve Fitting to Bond Prices under constraints: The National Bank of Georgia case

cover

Both the Nelson Siegel method and its Svensson extension are very popular among central and other banks when the time spectrum of interest rates needs to be derived from market bond prices. If you are interested in non-parametric methods favored by relative value traders as they provide an exact fit to observed bond prices, these have been demonstr...

Continue reading
  10131 Hits

Asian Option Pricing in Excel using QuantLib: Monte Carlo, Finite Differences, Analytic models for Arithmetic and Geometric Average. Example with live EUR/USD rate

cover

Asian options come in different flavors as described below, but to the extent they have European exercise rights they can be priced by QuantLib using primarily Monte Carlo, but under certain circumstances using also Finite Differences or even analytic formulas.  Table Of Contents  Asian Option Description Creating all four types of Asian ...

Continue reading
  15796 Hits

Swaption Pricing in Excel: 14 Free QuantLib Models plus Implied Volatility Surface and Cube

cover

Most people are unaware of the fact that free and open source QuantLib comes with a great variety of modelling approaches when it comes to pricing an interest rate European swaption in Excel that surpasses what is offered by expensive commercial products. In fact, 14 different modelling approaches are implemented, whereby the Black approach does no...

Continue reading
  24263 Hits

Credit Default Swap (CDS) Pricing in Excel using QuantLib

cover

Free and open source QuantLib supports the precise valuation of Credit Default Swaps (CDS) in Excel.  Table Of Contents​  CDS Description Creating a slimmed-down CDS object in 13 secondsCreating a full-fledged CDS objectUnderstanding the main formulaBrowsing the contents of a created CDS objectUsing the CDS objectThe Price functionAdditio...

Continue reading
  20083 Hits

Over 30 Bond Risk Management Functions in Excel: Clean & Dirty Price, Yield, Duration, Convexity, BPS, DV01, Z-spread etc

cover

Free and open source QuantLib is capable of calculating several risk measures associated with the pricing of bonds and allows you to get in Excel quantities like clean and dirty price, duration, convexity, BPS, DO01, Z-spread etc. I have already showed you how to build a yield curve out of clean bond prices using either a parametric or no...

Continue reading
  13163 Hits

Excel Builder and Cash Flow Viewer for Non-Standard Interest Rates Swaps

cover

Building, pricing and analyzing even non-standard interest rate swaps in Excel becomes a simple exercise when the Deriscope interface to the open source QuantLib analytics library is employed. We have already encountered a simple interest rate swap contract in the Yield Curve Building in Excel using Swap Rates article, where vanilla swaps were used...

Continue reading
  12528 Hits

Time for a coffee break? Understanding Time and its implications on Interest Rates

Cover

With this article I want to give you an intuitive feeling of the concept of interest rate and also show you how to work with various types of interest rates – such as a compounded interest rate - in Excel as accurately as market professionals do.  Table Of Contents​  The Primitives: Time and Money How did our prehistoric ancestors measure...

Continue reading
  10380 Hits

Parametric Yield Curve Fitting to Bond Prices: The Nelson-Siegel-Svensson method

cover1

When it comes to building a yield curve out of bond prices, QuantLib can handle both non-parametric and parametric methods, both deliverable to Excel through Deriscope. The former have been demonstrated at my articles Yield Curve Building in Excel using Bond Prices (QuantLibXL vs Deriscope and Bootstrapping in Excel a Yield Curve to perfectly fit B...

Continue reading
  62809 Hits

Yield Curve Building in Excel using Bond Prices (QuantLibXL vs Deriscope)

cover

With this article I want to show you how to create a yield curve in Excel by bootstrapping bond prices, using the open source QuantLib analytics library. I will present both alternative spreadsheet interfaces to QuantLib, which are the QuantLibXL and Deriscope. For a production-ready setup using actual Bloomberg quotes of US Treasuries, look at Boo...

Continue reading
  20265 Hits

Yield Curve Building in Excel using Deposits, Futures and Swaps

cover

With this article I want to show you how to create a yield curve in Excel using the open source QuantLib analytics library, when the input market data are a mixture of deposit rates, futures prices and swap rates. I have already written how you may build a yield curve using a single type of market instruments, such as deposits, futures or swap...

Continue reading
  9877 Hits

Yield Curve Building in Excel using Swap Rates

cover

With this article I want to show you how to create a yield curve in Excel using the open source QuantLib analytics library, when the input market data are swap rates. I will also show you how to apply dual bootstrapping when an exogenous yield curve is present. For short term maturities – typically less than a year – the yield curve may be built ou...

Continue reading
  24622 Hits

Yield Curve Building in Excel using Futures

cover

With this article I want to show you how to create a yield curve in Excel using the open source QuantLib analytics library, when the input market data are futures prices. The futures convexity will be taken into account. I explained how you may build a yield curve in Excel out of forward rates in my previous article. In reality, forward rates are s...

Continue reading
  10307 Hits

Yield Curve Building in Excel using Forward Rates

cover

With this article I want to show you how to create a yield curve in Excel using the open source QuantLib analytics library, when the input market data are forward rates. My previous article focused on building a yield curve in Excel out of deposit rates in general and Libor rates in particular. These rates cover the short range of the maturity spec...

Continue reading
  11908 Hits

Yield Curve Building in Excel using Deposit (LIBOR) Rates

cover

With this article I want to show you how to create a yield curve in Excel using the open source QuantLib analytics library, when the input market data are deposit rates – such as Libor rates -, which are a special type of interest rates called zero rates.  Table Of Contents​  Deposit Contract Description What is a Yield Curve?Why do we ne...

Continue reading
  17694 Hits

Beyond Black Scholes: American Option Price Dependence on Dividend Payment Time

cover

With this article I want to show you how to create and price American options on an underlying that pays dividends – such as American stock options expiring after the ex-dividend date - in Excel using the open source QuantLib analytics library. In my previous article I showed you how to calculate the fair price of an American option on an unde...

Continue reading
  9284 Hits

Beyond Black Scholes: American Options without Dividends

cover1

With this article I want to show you how to create and price American options on a non-dividend-paying underlying – such as American stock options - in Excel using the open source QuantLib analytics library.  Table Of Contents​  American Options: What are they?Creating an object of type Stock OptionGenerating the pricing formulasPricing O...

Continue reading
  9723 Hits

Beyond Black Scholes: European Options with Discrete Dividends

cover

With this article I want to show you how to create and price European options on an underlying that pays discrete dividends – such as European stock options - in Excel using the open source QuantLib analytics library. In my previous article I presented an overview of the QuantLib models that can be used in Excel towards pricing the simplest non-lin...

Continue reading
  7206 Hits

Introduction to Deriscope – Part 4: Spreadsheet

FormSplitRanges

In my Introduction to Deriscope – Part 3 I showed you the most basic features of the Deriscope wizard by using it to create the pricing formula of a Stock Option. Now, I show you several advanced Deriscope features that help you build efficient Excel spreadsheets. Table of Contents  Deriscope Formula Syntax RulesColor RulesSyntax Rule: On...

Continue reading
  5806 Hits

Introduction to Deriscope – Part 3: Pricing a Stock Option

SelectPriceScreenshot

In my Introduction to Deriscope – Part 2 I showed you how to create a Stock Option object in Excel and how to access the list of functions that apply to that object. Now I will show you how to use the most important of these functions, the Price, which calculates the fair price of the calling object. Alternatively, you may watch my YouTub...

Continue reading
  4629 Hits