## Why does martingale pricing work?

By GormGeier on May 4th, 2015

Martingale methods are a staple in financial mathematics and it allows us to deal with a much broader set of cash flows than the PDE-approach, which I covered in an earlier post. Here I try as best as possible to give a simple walkthrough of the concepts and ideas behind it. First of all a […]

## Pricing Financial Derivatives Using Partial Differential Equations: A Step-by-Step Solution of the Black-Scholes Equation

By GormGeier on April 27th, 2015

In this post I will try to give a quick overview of the pricing of options using PDEs. Using partial differential equation was the method first employed by Fischer Black and Myron Scholes in order to estimate the value of a European option and it has had a strong position as an elementary strategy for […]

## How to Solve Stochastic Differential Equations: the Integrating Factor Technique

By GormGeier on April 16th, 2015

In this blog post I will present a quite simple technique for finding the solution to an SDE. This method will unfortunately not solve any SDE you are likely to come across, and it is not able to solve systems of stochastic processes, but the solution to many common equations that have something in common […]

## Solving the Geometric Brownian Motion

By GormGeier on April 7th, 2015

The most common Stochastic Differential Equation (SDE) in finance is the traditional Geometric Brownian Motion (GMB), used by Black, Scholes and Merton to find the closed-form solution to European Options. Solving the SDE might be a simple exercise for many, but I chose to include it and give it its own blog post since some […]

## Kalman Filtering for the Heston model with Matlab code, Part 2

By GormGeier on March 23rd, 2015

In this post I will go into more detail on the application of the Kalman filter to the Heston model specifically. If you missed the first part of this post series and you are not familiar with the Kalman filter, you might benefit from reading this blog post. Now, in a stochastic volatility setting the […]

## Kalman Filtering for the Heston model with Matlab code, Part 1

By GormGeier on March 17th, 2015

I aim to make this a two-part series on the application of Kalman filtering to the Heston model. In this first post I will go over the basics of the Kalman filter and in the second part I will go into the specifics of applying it to parameter estimation for the model itself. That means, […]

## Using the Parallel Computing Toolbox and the parfor loop in Matlab for Finance

By GormGeier on February 16th, 2015

If you are familiar with Matlab you might have come across a loop-structure called a parfor-loop. If you have not, I hope this post can help you speed up some of your code. Strictly speaking, the parfor loop allows a multi-core computer to run several computations simultaneously by creating simultaneous instances of Matlab, called “workers”, […]

## Solving First Order ODEs in Finance, Part 2

By GormGeier on January 9th, 2015

Continuing from the first part of this blog “series”, which can be found here, I will move on to a more general form of ODEs, which are structured as: Note here that we cannot separate the function as was possible before, instead we are stuck with a function which multiplies y. The first step in […]

## Solving First Order ODEs in Finance, Part 1

By GormGeier on December 27th, 2014

Traditional ODEs are a topic that is rarely covered more than briefly (if at all) in quant-finance courses and most often it is assumed you already know it. However, for us who are not from an engineering, maths or physics background, ODEs are not necessarily such a common occurrence. At the same time, first order […]