amascore.de

Lectures on Numerical Methods, Mathematical Finance and Computational Finance

Some of my lectures are available as videos. Additional material (code) is available via Git repositories. The lectures were recorded live with minimal post-processing (removing questions from the audience, long pauses or obvious mistakes). There are still some obvious mistakes (and maybe some not-so-obvious ones) in there, but I tried my best. For some sessions, there are multiple versions. The later version often contains updates or corrections, but the previous version sometimes has additional parts that were left out in the later version. And sometimes, the old session was a bit better than the newer one - depending on my fitness on the day of the recording.

Direct link to the YouTube channel: https://www.youtube.com/@finmath6357

Numerical Methods (Computational Finance I)

Lecture Playlists

Lecture Videos

The selection below uses the 2024 recordings for sessions 00–26 and the 2023 recordings for sessions 27–38. The full playlists for both years are linked above. Click a preview or its URL to watch on YouTube.

Motivation

Motivation videos
Title and descriptionVideo preview and URL
Session 00: Teaser, Aim of the Lecture, Motivation

An introduction to the aims and motivation of the lecture.

https://youtu.be/4mjlPuPKXnU

Computer Arithmetics

Computer Arithmetics videos
Title and descriptionVideo preview and URL
Session 01: Computer Arithmetics (1/5): Integers

Representing and working with integers on a computer.

https://youtu.be/aa5KdvRVi8Q
Session 02: Computer Arithmetics (2/5): Floating Point Numbers

Representation of floating point numbers.

https://youtu.be/xP0b9whIalQ
Session 03: Computer Arithmetics (3/5): Floating Point Arithmetic

Arithmetic operations with floating point numbers.

https://youtu.be/FRMmX7IKSUs
Session 04: Computer Arithmetics (4/5): Loss of Significance

Loss of significant digits in numerical calculations.

https://youtu.be/Q64dpLLnpmA
Session 05: Computer Arithmetics (5/5): Summation

Numerical summation and the effects of finite precision.

https://youtu.be/JqAqUutkFik

Monte-Carlo Method

Monte-Carlo Method videos
Title and descriptionVideo preview and URL
Session 06: Monte-Carlo Method (1/6)

Foundations of the Monte-Carlo method.

https://youtu.be/fReQprwK_ko
Session 07: Monte-Carlo Method (2/6)

Foundations of the Monte-Carlo method.

https://youtu.be/Ur42FLE1rJg
Session 08: Monte-Carlo Method (3/6)

Foundations of the Monte-Carlo method.

https://youtu.be/IUyjeNQrsJw

Monte-Carlo Integration

Monte-Carlo Integration videos
Title and descriptionVideo preview and URL
Session 09: Monte-Carlo Method (4/6)

Monte-Carlo methods for numerical integration.

https://youtu.be/6xZcNSrPdEU
Session 10: Monte-Carlo Method (5/6)

Monte-Carlo methods for numerical integration.

https://youtu.be/vnYrEUSIx8E
Session 11: Monte-Carlo Method (6/6)

Monte-Carlo methods for numerical integration.

https://youtu.be/AQ8C71O0bGc

Random Number Generation: Pseudo Random Number Generators

Random Number Generation: Pseudo Random Number Generators videos
Title and descriptionVideo preview and URL
Session 12: Random Number Generation (1/11)

Generating pseudo random numbers.

https://youtu.be/MfWSP0nSOko

Random Number Generation: Quasi Random Number Generators

Random Number Generation: Quasi Random Number Generators videos
Title and descriptionVideo preview and URL
Session 13: Random Number Generation (2/11)

Discrepancy and the distribution of quasi random sample points.

https://youtu.be/DezhzfonWYQ
Session 14: Random Number Generation (3/11)

The Koksma–Hlawka inequality.

https://youtu.be/hPrQqeB7xxw
Session 15: Random Number Generation (4/11)

An introduction to low-discrepancy sequences.

https://youtu.be/GcVeJV0tpFk
Session 16: Random Number Generation (5/11)

A numerical experiment with low-discrepancy sequences.

https://youtu.be/fVaolFmWIrg
Session 17: Random Number Generation (6/11)

Low-discrepancy sequences: the Halton sequence.

https://youtu.be/gFGaHpwrjoc

Session 18 is an excursion on parallelization; a video link is not yet available.

Random Number Generation: Generating Drawings of Other Distributions

Random Number Generation: Generating Drawings of Other Distributions videos
Title and descriptionVideo preview and URL
Session 19: Random Number Generation (7/11)

Generating random samples using the inverse cumulative distribution function.

https://youtu.be/aJEUnHhE5AA
Session 20: Random Number Generation (8/11)

Generating samples from a normal distribution.

https://youtu.be/ZCaalyWzcLQ
Session 21: Random Number Generation (9/11)

Generating samples from an exponential distribution.

https://youtu.be/sVJeOsDhJk0
Session 22: Random Number Generation (10/11)

Generating samples using the acceptance–rejection method.

https://youtu.be/dPUOi8U98qw
Session 23: Random Number Generation (11/11)

From acceptance–rejection sampling to weighted Monte-Carlo.

https://youtu.be/R8GYxYbFqh0

Weighted Monte-Carlo / Importance Sampling

Weighted Monte-Carlo / Importance Sampling videos
Title and descriptionVideo preview and URL
Session 24: Excursion: Weighted Monte-Carlo / Importance Sampling

An excursion on weighted Monte-Carlo methods and importance sampling.

https://youtu.be/gKA942nPmjU

Monte-Carlo Simulation of Time-Discrete Stochastic Processes

Monte-Carlo Simulation of Time-Discrete Stochastic Processes videos
Title and descriptionVideo preview and URL
Session 25: Monte-Carlo Simulation of Time-Discrete Stochastic Processes (1/2): Itô Processes / Brownian Motion

Simulation of Itô processes and Brownian motion on a discrete time grid.

https://youtu.be/DCR8cgbQMn8
Session 26: Monte-Carlo Simulation of Time-Discrete Stochastic Processes (2/2): Poisson Process

Simulation of a Poisson process.

https://youtu.be/A8XqwW_q7Pw

Time Discretization of Stochastic Processes

These recordings are from the 2023 lecture, where the convergence proof is presented in more detail. The original session numbers are shown in parentheses; slide page numbers may differ from the newer lecture materials.

Time Discretization of Stochastic Processes videos
Title and descriptionVideo preview and URL
Session 27 (2023: 19): Time Discretization of Itô Stochastic Processes (1/4)

Time discretization of Itô stochastic processes and convergence.

https://youtu.be/E2VT-UO1Qvo
Session 28 (2023: 20): Time Discretization of Itô Stochastic Processes (2/4)

Time discretization of Itô stochastic processes and convergence.

https://youtu.be/y_Ph60B8McU
Session 29 (2023: 21): Time Discretization of Itô Stochastic Processes (3/4)

Time discretization of Itô stochastic processes and convergence.

https://youtu.be/Jr1tfdbL3Is
Session 30 (2023: 22): Time Discretization of Itô Stochastic Processes (4/4)

Time discretization of Itô stochastic processes and convergence.

https://youtu.be/XI2Wb5LhrIU

Implementation

Implementation videos
Title and descriptionVideo preview and URL
Session 31 (2023: 23): Implementation (1/2)

Implementation of the numerical methods. Recording from the 2023 lecture.

https://youtu.be/N9vaT2wwOtk
Session 32 (2023: 24): Implementation (2/2)

Implementation of the numerical methods. Recording from the 2023 lecture.

https://youtu.be/u011GN5yU4Y

Variance Reduction / Control Variates

Variance Reduction / Control Variates videos
Title and descriptionVideo preview and URL
Session 33 (2023: 25): Variance Reduction / Control Variates

Variance reduction using control variates. Recording from the 2023 lecture.

https://youtu.be/0b4wde-RR8I

Numerical Approximation of Partial Derivatives (Finite Differences)

Numerical Approximation of Partial Derivatives (Finite Differences) videos
Title and descriptionVideo preview and URL
Session 34 (2023: 26): Numerical Approximation of Partial Derivatives (1/2)

Finite difference approximations of partial derivatives. Recording from the 2023 lecture.

https://youtu.be/MHlml1rrWCc
Session 35 (2023: 27): Numerical Approximation of Partial Derivatives (2/2)

Finite difference approximations of partial derivatives. Recording from the 2023 lecture.

https://youtu.be/UPAEQoPuou0

American Monte-Carlo / Bermudan Options

American Monte-Carlo / Bermudan Options videos
Title and descriptionVideo preview and URL
Session 36 (2023: 28): American Monte-Carlo (1/3)

American Monte-Carlo methods for Bermudan options. Recording from the 2023 lecture.

https://youtu.be/4KAqgK_85UI
Session 37 (2023: 29): American Monte-Carlo (2/3)

Estimation of conditional expectations, part 1 of 2. Recording from the 2023 lecture.

https://youtu.be/waOV_lKiDtY
Session 38 (2023: 30): American Monte-Carlo (3/3)

Estimation of conditional expectations, part 2 of 2. Recording from the 2023 lecture.

https://youtu.be/FmXvJ5OUZWs

Coding Exercises / Assignments

Coding assignments are an important part of the lecture. These assignments feature autograding using automated unit tests. Pushing your changes to GitHub runs the tests and publishes feedback on your implementation.

GitHub Actions workflow with build, autograding, JavaDoc and Checkstyle jobs. The autograding summary shows one test passed, one failed, and a score of 1 out of 4 points.
Example of automated test feedback from finmath classroom. View the full-size image.

Related to Computer Arithmetics

Coding Assignment: Robust solution of Quadratic Equation

This is just a warm up to make you familiar with the assignments.

github.com/qntlb/numerical-methods-quadraticequation-exercise

Coding Assignment: Summation

This is just a warm up to make you familiar with the assignments.

github.com/qntlb/numerical-methods-summation-exercise

Related to Monte-Carlo Method

Coding Assignment: Monte-Carlo Integration

In this assignment you should implement a multi-dimensional integration rule using a) the Monte-Carlo method and b) the Simpson's rule.

github.com/qntlb/numerical-methods-montecarlointegration-exercise

Coding Assignment: Control Variate

In this assignment you should implement a Monte-Carlo valuation of an Asian option, using variance reduction via a Control Variate, assuming a Black-Scholes models.

A control variate is model-dependent, so this Monte-Carlo valuation will lose its genericallity. This is a big disadvantage.

github.com/qntlb/numerical-methods-controlvariate-exercise

Mathematical Finance and its Object Oriented Implementation (Computational Finance II)

Lecture Playlists

Lecture Videos

Models, numerical methods and implementation for computational finance, from interest rate structures to hybrid models. The selection below uses the 2022/23 recordings, supplemented by two hybrid-model videos from the 2021/22 lecture. Click a preview or its URL to watch on YouTube.

Motivation

Motivation videos
Title and descriptionVideo preview and URL
Motivation

Introduction and motivation for Computational Finance.

https://youtu.be/jkUVYY0RXnI

Recapitulation of Numerical Methods

Recapitulation of Numerical Methods videos
Title and descriptionVideo preview and URL
Recapitulation of Numerical Methods

A recap of the numerical methods used to build models, simulations and experiments.

https://youtu.be/T5z3NninLuk

Interest Rate Structures

Definition of the basic objects: zero bonds, forward rates, swap rates, discount curves and forward curves.

Interest Rate Structures videos
Title and descriptionVideo preview and URL
Interest Rate Structures: Part 1

Basic interest rate objects and structures, part 1.

https://youtu.be/xCKit0X5m1M
Interest Rate Structures: Part 2

Basic interest rate objects and structures, part 2.

https://youtu.be/A2ovG9cNr3Q

Simple Interest Rate Products

Simple Interest Rate Products videos
Title and descriptionVideo preview and URL
Linear Products: Part 1

Simple linear interest rate products, part 1.

https://youtu.be/Ofh_TERqTIg
Linear Products: Part 2

Simple linear interest rate products, part 2.

https://youtu.be/9VTMAhzw2_w
Simple Interest Rate Options

An introduction to simple interest rate options.

https://youtu.be/gGkxT_1HBCM
Valuation of Simple Interest Rate Options

Valuation of simple interest rate options.

https://youtu.be/Z-FlKctO8jk
Quantos

Quanto products in the context of interest rate products.

https://youtu.be/Ufqr34n9CyU

Convexity Adjustments

Convexity Adjustments videos
Title and descriptionVideo preview and URL
Convexity Adjustments (1/3)

Convexity adjustments, part 1 of 3.

https://youtu.be/7WoR5MVhrBo
Convexity Adjustments (2/3)

Convexity adjustments, part 2 of 3.

https://youtu.be/ZRe8so1L_kg
Convexity Adjustments (3/3)

Convexity adjustments, part 3 of 3.

https://youtu.be/Ak0B0hdy4dI

Collateralization and Interest Rate Curves

Collateralization and Interest Rate Curves videos
Title and descriptionVideo preview and URL
Collateralization (1/2)

Collateralization, part 1 of 2.

https://youtu.be/_Ay0w-TaYUU
Collateralization (2/2)

Collateralization, part 2 of 2.

https://youtu.be/8bvCY1XcQeo
Interest Rate Curves (1/2)

Interest rate curves, part 1 of 2.

https://youtu.be/DeHcYDxTdMc
Interest Rate Curves (2/2)

Interest rate curves, part 2 of 2.

https://youtu.be/74PV41saTUM

Discrete Term Structure Models

Discrete term structure models, also known as the LIBOR Market Model.

Discrete Term Structure Models videos
Title and descriptionVideo preview and URL
Discrete Term Structure Models (1)

The LIBOR Market Model, part 1 of 8.

https://youtu.be/fk-6Fxa73CY
Discrete Term Structure Models (2)

The LIBOR Market Model, part 2 of 8.

https://youtu.be/-18yEuQmL1w
Discrete Term Structure Models (3)

The LIBOR Market Model, part 3 of 8.

https://youtu.be/nu6LX7apbJI
Discrete Term Structure Models (4)

The LIBOR Market Model, part 4 of 8.

https://youtu.be/BHJ-HDm4rBU
Discrete Term Structure Models (5)

The LIBOR Market Model, part 5 of 8.

https://youtu.be/Lh2AwgwEQNg
Discrete Term Structure Models (6)

The LIBOR Market Model, part 6 of 8.

https://youtu.be/7OteCUzVfgc
Discrete Term Structure Models (7)

The LIBOR Market Model, part 7 of 8.

https://youtu.be/HK6H8o3jMmw
Discrete Term Structure Models (8)

The LIBOR Market Model, part 8 of 8.

https://youtu.be/GuR9PQCqNJU

Discrete Term Structure Models Calibration

Discrete Term Structure Models Calibration videos
Title and descriptionVideo preview and URL
Discrete Term Structure Models Calibration (1/7)

Calibration of discrete term structure models, part 1 of 7.

https://youtu.be/ofUHCGFOYgI
Discrete Term Structure Models Calibration (2/7)

Calibration of discrete term structure models, part 2 of 7.

https://youtu.be/6-lbxwXnO8A
Discrete Term Structure Models Calibration (3/7)

Calibration of discrete term structure models, part 3 of 7.

https://youtu.be/SHkUtRJrQVo
Discrete Term Structure Models Calibration (4/7)

Calibration of discrete term structure models, part 4 of 7.

https://youtu.be/N70q2xoc5yY
Discrete Term Structure Models Calibration (5/7)

Calibration of discrete term structure models, part 5 of 7.

https://youtu.be/iYruriRIF4s
Discrete Term Structure Models Calibration (6/7)

Calibration of discrete term structure models, part 6 of 7.

https://youtu.be/ob5QmFOzV44
Discrete Term Structure Models Calibration (7/7)

Calibration of discrete term structure models, part 7 of 7.

https://youtu.be/ek7G-jeHCv8

HJM

HJM videos
Title and descriptionVideo preview and URL
HJM

The Heath–Jarrow–Morton framework for interest rate modeling.

https://youtu.be/tcNBejWTJHc

Integrated Assessment Models

Integrated Assessment Models videos
Title and descriptionVideo preview and URL
Introduction to the DICE Model

An introduction to the DICE integrated assessment model.

https://youtu.be/f2HvRTwwl00

Defaultable Products

Defaultable Products videos
Title and descriptionVideo preview and URL
Integrating Different Discount Curves into the Discrete Term Structure Model

Different discount curves within a discrete term structure model.

https://youtu.be/PyTQWFpjU8A

Hybrid Models

Hybrid Models videos
Title and descriptionVideo preview and URL
Defaultable Discrete Forward Rate Model (1/2)

The defaultable discrete forward rate model, part 1 of 2.

https://youtu.be/pdui28odpvo
Defaultable Discrete Forward Rate Model (2/2)

The defaultable discrete forward rate model, part 2 of 2.

https://youtu.be/P8TKo2qXZCQ

Coding Exercises / Assignments

These assignments develop the numerical methods and models used in Computational Finance II. Automated unit tests provide feedback on your implementation; see the autograding example above.

Coding Assignment: Discount Factor Interpolation

Implement linear and log-linear interpolation of discount factors and investigate the resulting forward rates.

github.com/qntlb/computational-finance-discountfactor-interpolation

Coding Assignment: Interest Rate Swap Valuation and Hedging

Implement single-curve swap valuation, calculate par swap rates, and construct hedge portfolios from curve sensitivities.

github.com/qntlb/computational-finance-interest-rate-swap-valuation-hedging

Coding Assignment: Simple Cross-Currency Model

Implement a Monte-Carlo simulation of domestic and foreign forward rates and the forward FX rate. Use the model to value domestic, foreign and quanto caplets, including payments in advance.

github.com/qntlb/computational-finance-simple-crosscurrency-model

Special Lectures

Additional lectures on algorithmic differentiation and quantum computing.

Algorithmic Differentiation

Algorithmic Differentiation videos
Title and descriptionVideo preview and URL
Algorithmic / Automatic Differentiation (1)

Introduction and notation, a motivating code example, and forward and backward automatic differentiation.

https://youtu.be/6s9YoKFJbZw
Algorithmic / Automatic Differentiation (2)

Adjoint differentiation, comparison with forward mode, computational efficiency, and implementation.

https://youtu.be/wEFDI_5BInE

Quantum Computing

Quantum Computing videos
Title and descriptionVideo preview and URL
A Short Introduction to Quantum Computing (Part 1/2): Mathematical Concepts, Qubit and First Algorithms

Hilbert and tensor-product spaces, entanglement, qubits and registers, quantum gates, and Grover’s algorithm.

https://youtu.be/EA7rtQuYtMg

Other Resources

Please send feedback or questions to email@christian-fries.de - thank you.

Creative Commons License
This work is licensed under a Creative Commons License.