← Latest papers
💰 quantitative finance

A hidden Markov model for statistical arbitrage in international crude oil futures markets

This paper proposes a hidden Markov model-based statistical arbitrage strategy for international crude oil futures, demonstrating that while traditional pairs like Brent, WTI, and Dubai are unprofitable, incorporating the newly introduced Shanghai crude oil futures yields significant profits even under conservative transaction costs.

Original authors: Viviana Fanelli, Claudio Fontana, Francesco Rotondi

Published 2026-02-16
📖 5 min read🧠 Deep dive

Original authors: Viviana Fanelli, Claudio Fontana, Francesco Rotondi

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are a detective trying to find hidden patterns in the chaotic world of oil prices. This paper is about a team of researchers (Fanelli, Fontana, and Rotondi) who built a sophisticated "oil price radar" to find free money—or at least, very profitable money—by betting on how different types of crude oil prices move together.

Here is the story of their discovery, broken down into simple concepts.

1. The Three Oil Brothers

Imagine the global oil market has three main characters:

  • Brent: The old, reliable British oil (the "Grandfather").
  • WTI: The classic American oil (the "Uncle").
  • Shanghai: The new, energetic Chinese oil (the "Young Cousin"), which only started trading in 2018.

Historically, oil traders knew that the Grandfather and the Uncle usually move in sync. If one goes up, the other usually goes up. They are "cointegrated," which is a fancy math way of saying they are tied together by an invisible elastic band. If they drift too far apart, the band snaps them back together.

The researchers asked a simple question: Does the Young Cousin (Shanghai) also get tied to this elastic band? And if so, can we make money betting on when the band stretches and snaps back?

2. The Problem: The "Hidden Mood Swings"

In the past, traders used simple rules: "If the price gap gets too big, bet that it will shrink." This is like a dog chasing a ball; it works until the dog gets tired or the ball disappears.

The problem is that the oil market isn't a calm lake; it's a stormy sea with different "moods." Sometimes the market is calm, and prices snap back quickly. Other times, it's chaotic, and prices might drift apart for a long time. A simple rule doesn't know the difference between a calm day and a stormy day.

3. The Solution: The "Hidden Mood Detective" (Hidden Markov Model)

The researchers built a smarter system. They didn't just look at the prices; they built a Hidden Markov Model (HMM).

Think of this model as a mood detective inside a foggy room.

  • The prices are the things you can see.
  • The market regime (calm vs. stormy) is the "mood," which is hidden in the fog. You can't see the mood directly, but you can guess it by watching how the prices behave.

The model uses a "filter" (like a pair of smart glasses) to guess the current mood based on the price movements. It asks: "Is the market in a 'Calm' state where prices snap back fast, or a 'Chaos' state where they might drift?"

Once the model guesses the mood, it adjusts its strategy. If it's calm, it bets aggressively. If it's chaotic, it waits.

4. The Strategy: Playing the "Elastic Band"

The researchers tested five different ways to play the game:

  1. The "Always On" Strategy: Bet every time the prices move even a tiny bit. (Too expensive because of trading fees).
  2. The "Backward Looking" Strategy: Bet only when the gap is huge compared to the past. (Like looking in a rearview mirror).
  3. The "Forward Looking" Strategy (The Winner): Use the "Mood Detective" to predict where the prices will go next. Bet only when the model predicts the gap is about to snap back.

The Result: The "Forward Looking" strategy, which used the hidden mood detective, made the most money. It was like having a crystal ball that told you exactly when the elastic band was about to snap.

5. The Big Surprise: The "New Kid" is the Star

The most exciting finding was about the Shanghai oil futures.

  • The researchers found that the Shanghai oil is actually faster at snapping back to the group than the older Brent or WTI oils.
  • It's like the Young Cousin is the most obedient one; when the group drifts apart, the Cousin runs back to the group first.
  • Because the Shanghai market is newer and less mature, there are more "mistakes" (temporary price errors) to exploit. The researchers showed that including this new oil in their trio made the strategy much more profitable, even after paying for trading fees.

6. Why This Matters

  • It works even when pairs fail: Sometimes, Brent and WTI don't move together perfectly. But when you add Shanghai into the mix, the three of them do move together. It's like a three-legged race; if two legs stumble, the third can keep the team moving.
  • It beats the "Buy and Hold": Just buying oil and waiting (like holding a stock) lost money during the test period. This active strategy made money by constantly adjusting.
  • It's robust: Even if trading fees go up, this strategy still works because it's so smart about when to trade.

The Takeaway

The paper proves that in the complex world of oil trading, you don't just need to look at the numbers; you need to understand the hidden moods of the market. By using a mathematical "mood detective" to track the relationship between old and new oil markets, investors can find profitable opportunities that simple traders miss. It's a reminder that in finance, the smartest move is often to understand the context (the regime) before making a bet.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →