Hi,👋 we have updated the app and fixed multiple bugs. We are lacking funds, request to free user not to use Adblock. Ads are non intrusive. 😊

Carousel Studio

Repurpose X Threads into LinkedIn & Instagram Carousels

Thread Truncated (Cap Enforced)

Only the first 20 tweets are unrolled into slides to ensure reliable PDF exporting and high server performance.

Canvas & Ratio

Choose your destination platform format


Layout Template

Choose a content structure for your slides


Preset Themes


Typography & Sizing

Title Font Size36px
Body Font Size18px
Header & Footer Size12px

Brand Kit Customization

AGENCY

Configure brand assets for headers & footers

MULTI-PROFILES (AGENCY)
AGENCY
SAVE PRESETS (AGENCY)

Outro Slide CTA

Customize your closing call-to-action slide

#1
#2
#3

Background Pattern

Source Content

Build Your Carousel

Drag and drop any post card below onto a slide, or use the quick buttons to insert content/images instantly!

Drag Post #1
Ruuj
@RuujSs

<i>NASA used it to navigate to the moon. Quant funds use it to navigate markets. Here is exactly how it works and how to build it.</i>

Apply Image
Drag Post #2
Ruuj
@RuujSs

The problem was simple to state and hard to solve. You are tracking something that moves a spacecraft, a signal, a hidden state in a dynamic system. Your measurements of that thing are noisy. Every observation contains random error. How do you extract the true state from a stream of noisy measurements, in real time, using every new data point as it arrives?

Drag Post #3
Ruuj
@RuujSs

NASA read the paper and immediately put it to work. The Kalman filter navigated the Apollo missions to the moon. It processed noisy radar readings, estimated the spacecraft's true position and velocity, and updated those estimates continuously as new sensor data arrived. No batch reprocessing. No historical lookback windows. Pure recursive updating every new observation made the estimate more precise.

Drag Post #4
Ruuj
@RuujSs

<b>Markets have exactly the same problem.</b>

Drag Post #5
Ruuj
@RuujSs

The true hedge ratio between two assets is hidden. The genuine trend beneath noisy price data is hidden. The relationship between two cointegrated assets evolves slowly over time and cannot be directly measured. What you observe is the noisy market price at each moment. The Kalman filter is the mathematically optimal tool for estimating hidden states from noisy observations and it updates continuously as new data arrives.

Drag Post #6
Ruuj
@RuujSs

<a target="_blank" href="https://x.com/RuujSs/status/2066545926467174765?s=20" color="blue">https://x.com/RuujSs/status/2066545926467174765?s=20</a>

Drag Post #7
Ruuj
@RuujSs

If you have not read the pairs trading article yet then you should read it, this one builds directly on top of it. The Kalman filter is what takes that framework from good to production grade. I would suggest reading it first to understand pairs trading as well.

Drag Post #8
Ruuj
@RuujSs

The Portfolio Optimization Book, published by Cambridge University Press in 2025, reaches one explicit conclusion after testing multiple estimation approaches on real pairs data: "Kalman filtering is a must in pairs trading." Rolling OLS produces hedge ratio estimates varying between 0.6 and 1.2 on the same pairs where the Kalman filter stays stable between 0.55 and 0.65. That difference is not cosmetic. It determines whether the spread is stationary and tradeable or noisy and unreliable.

Drag Post #9
Ruuj
@RuujSs

> <b>NOTE: This article builds the complete framework. What the filter is actually doing, the full mathematics, and three concrete production-grade applications. Read it in order every Chapter connects to the next.</b>

Drag Post #10
Ruuj
@RuujSs

---

Drag Post #11
Ruuj
@RuujSs

# <b>Chapter 1: The Idea Before Any Equations</b>

Drag Post #12
Ruuj
@RuujSs

Before the equations, the idea. Because the idea is more important than the equations and most explanations get it backwards.

Drag Post #13
Ruuj
@RuujSs

You want to know the true state of a system. But you cannot measure it directly. You can only observe measurements that are related to the true state and those measurements contain noise.

Drag Post #14
Ruuj
@RuujSs

At every moment you have two sources of information:

Drag Post #15
Ruuj
@RuujSs

<b>Your model:</b> what you predict the state should be based on how the system evolves. This prediction has uncertainty because the system changes in ways you cannot perfectly anticipate.

Drag Post #16
Ruuj
@RuujSs

<b>Your measurement:</b> what your sensor tells you the state is right now. This also has uncertainty because measurements are noisy.

Drag Post #17
Ruuj
@RuujSs

The question is: given both of these imperfect sources, what is the best possible estimate of the true state?

Drag Post #18
Ruuj
@RuujSs

The Kalman filter answers this question optimally. It combines the prediction and the measurement, weighting each one by its relative reliability. When the measurement is noisy (high measurement variance <b>R</b>), trust the model prediction more. When the model is uncertain (high process variance <b>Q</b>), trust the new measurement more. The weight assigned to the new measurement the Kalman gain <b>K</b> updates automatically at every step based on the current uncertainty levels.

Drag Post #19
Ruuj
@RuujSs

This is not an approximation. For linear systems with Gaussian noise it is the provably optimal estimator. No other method extracts more information from the available data.

Drag Post #20
Ruuj
@RuujSs

In trading, the hidden states you care about are things like: the true hedge ratio between two assets right now, the genuine trend beneath noisy daily prices, the time-varying relationship between two correlated instruments. The measurements are the market prices you observe.