Skip to the content
SITMO Machine Learning | Quantitative Finance
  • Home
  • About Me
  • Connect on LinkedIn
  • Home
  • About Me
  • Connect on LinkedIn

Latest Posts

A Tiling That Never Repeats

April 11, 2025 No Comments

This image below shows a tiling made from just two simple shapes, arranged in…

Read More

A Curve That Fills Space

April 10, 2025 No Comments

Here’s a short snippet that draws the Hilbert space-filling curve using a recursive approach. It…

Read More

Forecasting Current Market Turbulence with the GJR-GARCH Model

April 6, 2025 No Comments

The Current Market Shake-Up Last week, global stock markets faced a sharp and sudden…

Read More

Using Fractional Brownian Motion in Finance: Simulation, Calibration, Prediction and Real World Examples

April 5, 2025 No Comments

Long Memory in Financial Time Series In finance, it is common to model asset…

Read More

Lensing and Ellipses: How Gravitational Fields Stretch Background Galaxies

March 31, 2025 No Comments

In the previous post, we built a simple gravitational lens raytracer that simulates how…

Read More

A Simple Gravitational Lens Raytracer from Scratch

March 31, 2025 No Comments

Gravitational lensing is one of the most beautiful predictions of general relativity.When a massive…

Read More

The Visible Shape of Random Galaxies: What You Get When You Project a 3D Disk

March 31, 2025 No Comments

When we look at galaxies through a telescope, we see them as ellipses. But…

Read More

How to Sample the 3D Universe You See in an Image

March 31, 2025 No Comments

When we look at an astronomical image, we see a 2D projection of a…

Read More

The Odds of Outshining: When One Coin Beats Another

March 25, 2025 No Comments

Imagine you’re comparing two trading strategies. One has made a handful of successful trades…

Read More

Yield Curve Interpolation with Gaussian Processes: A Probabilistic Perspective

March 23, 2025 No Comments

Here we present a yield curve interpolation method, one that’s based on conditioning a…

Read More

Building Correlation Matrices with Controlled Eigenvalues: A Simple Algorithm

March 15, 2025 No Comments

In some cases, we need to construct a correlation matrix with a predefined set…

Read More

Faster Monte Carlo Exotic Option Pricing with Low Discrepancy Sequences

March 13, 2025 No Comments

In this post, we discuss the usefulness of low-discrepancy sequences (LDS) in finance, particularly…

Read More

Finding the Nearest Valid Correlation Matrix with Higham’s Algorithm

March 12, 2025 No Comments

Introduction In quantitative finance, correlation matrices are essential for portfolio optimization, risk management, and asset…

Read More

Optimal Labeling in Trading: Bridging the Gap Between Supervised and Reinforcement Learning

March 10, 2025 No Comments

When building trading strategies, a crucial decision is how to translate market information into trading…

Read More

Efficient Rolling Median with the Two-Heaps Algorithm. O(log n)

March 10, 2025 No Comments

Calculating the median of data points within a moving window is a common task…

Read More

Fast Rolling Regression: An O(1) Sliding Window Implementation

March 10, 2025 No Comments

In finance and signal processing, detecting trends or smoothing noisy data streams efficiently is…

Read More

Understanding the Uncertainty of Correlation Estimates

March 9, 2025 No Comments

Correlation is everywhere in finance. It’s the backbone of portfolio optimization, risk management, and…

Read More

Can we measure president Bush’s heart rate when he was told about the 9/11 attack?

September 12, 2021 No Comments

This is a fun project me and my son did over the weekend. I’ve always…

Read More

Extracting Interest Rate Bounds from Option Prices

January 19, 2021 No Comments

In this post we describe a nice algorithm for computing implied interest rates upper-…

Read More

Recovering Accurate Implied Dividend and Interest Rate Term-Structures from Option Prices

January 4, 2021 No Comments

In this post we discuss the algorithms we use to accurately recover implied dividend…

Read More

Validating Trading Backtests with Surrogate Time-Series

December 29, 2020 No Comments

Back-testing trading strategies is a dangerous business because there is a high risk you will…

Read More

Parallel Processing of Tasks with Python’s Multiprocessing lib

December 29, 2020 No Comments

The Python code snippet below uses the multiprocessing library to processes a list of tasks…

Read More

Parameter Grid-searching with Python’s itertools

December 29, 2020 No Comments

Python’s Itertools offers a great solution when you want to do a grid-search for optimal…

Read More

Gaussian Mixture Approximation for the Laplace Distribution

January 30, 2020 No Comments

The Laplacian distribution is an interesting alternative building-block compared to the Gaussian distribution because…

Read More

Subscribe to this blog

  • Computer Science
  • DevOps/MLOps/Code
  • fun
  • Machine Learning
  • Physics
  • Quant Finance
  • Statistics

© 2025 SITMO Machine Learning | Quantitative Finance

Theme by Anders Noren — Up ↑

SITMO Machine Learning | Quantitative Finance