Alina Khay

Alina Khay

The Geometry of Price: Quantitative Pattern Discovery with Soft-DTW in Bitcoin

In crypto markets where narratives shift hourly and prices rarely move in straight lines, identifying repeatable structure feels impossible. But what if you had a tool that decoded it?

Alina Khay's avatar
Alina Khay
Jul 24, 2025
∙ Paid

Retail participation, social-driven price action, and the rise of algorithmic trading have influenced how people engage with assets like Bitcoin. In this increasingly competitive and volatile environment, smart decision-making requires more than intuition. You need tools that adapt to the data, recognize patterns beneath noise, and work across timeframes. One such tool is Dynamic Time Warping (DTW).

Illustration 1 in “The Geometry of Price: Quantitative Pattern Discovery with Soft-DTW in Bitcoin”.

In this article I introduce DTW and its enhanced variant, Soft-DTW, as shape-aware distance measures that can uncover structure in noisy, nonstationary markets like crypto. We'll walk through how DTW works—mathematically and conceptually—why it outperforms traditional similarity measures for time series like price action, and whether it can help cluster, interpret, and even predict Bitcoin price movements.

By the end, you’ll have both the theoretical grounding and the practical evidence for using DTW in crypto market analytics.

How DTW Bends Time to Find Patterns

Let’s start with a common pitf…

This post is for paid subscribers

Already a paid subscriber? Sign in
© 2026 Alina · Privacy ∙ Terms ∙ Collection notice
Start your SubstackGet the app
Substack is the home for great culture