This website uses cookies

Read our Privacy policy and Terms of use for more information.

By 31 July 2024, Mastercard shares had beaten Visa's by 5.2 percentage points since 1 July, with dividends counted. A textbook pairs rule bought Visa and sold Mastercard short. By 21 November 2024, the gap had closed for a profit of 5.9 cents per $1 on each side. That was one of only 4 trades out of 20 from 2009 to 2026 in which the gap closed.

That trade is a pairs trade, one form of statistical arbitrage. This guide defines the strategy, walks through the rule that academics tested, and runs a version of it on Visa and Mastercard from 2009 to 2026. It was written on 1 December 2026.

What is statistical arbitrage? Statistical arbitrage is a trading strategy that uses past price data to find related securities that have drifted apart, then bets they will move back together. It buys the laggard and sells the leader short.

  • Pairs trading, one form of it, matches two shares whose prices have moved together and trades the gap between them.

  • A 1999 study of US shares from 1962 to 1997 found the closest pairs returned about 12% a year more than cash, before trading frictions.

  • Our Visa and Mastercard test opened 20 trades in 34 six-month periods. Only 4 of the 20 gaps closed within their period.

What is statistical arbitrage?

Statistical arbitrage, often shortened to stat arb, trades on patterns in prices. It holds long positions (bets on a rise) and short positions (bets on a fall) at the same time. Short selling means selling borrowed shares in the hope of buying them back cheaper.

Because each long sits against a short, the position aims to make money whichever way the whole market goes. Our guide to long-short equity covers funds that hold both sides on a stock picker's judgement.

Pure arbitrage locks in a riskless profit from a price gap. Statistical arbitrage has no lock. It relies on a pattern that held in the past, which can break.

Where pairs trading came from

Evan Gatev, William Goetzmann, and Geert Rouwenhorst describe pairs trading as one of the proprietary statistical arbitrage tools of hedge funds and investment banks. Their study appeared as a National Bureau of Economic Research working paper in 1999 and in the Review of Financial Studies in 2006.

According to the authors, Nunzio Tartaglia built a team of physicists, mathematicians, and computer scientists at Morgan Stanley in the mid-1980s. Pairs were among the trades his group ran. It reportedly made a $50 million profit for the firm in 1987. The authors write that the group disbanded in 1989 after a couple of bad years.

The pairs rule academics tested

The authors' rule has two stages, set out in the working paper.

In the 12-month formation period, they build a total return index for each share. Each index starts at $1, with dividends reinvested. They pair each share with the one whose index stayed closest, measured by the sum of squared gaps.

In the next six-month trading period, they open a position when the two indices drift more than two standard deviations apart. A standard deviation measures how widely a number usually swings. That standard deviation comes from the formation period. They put $1 short in the share that has risen more and $1 long in the other.

They close the trade when the two indices next cross. If they never cross, the trade closes on the last day of the period. A pair can open again after it closes. The authors report about 2.4 round trips per pair in each period.

From 1962 to 1997, the authors found average yearly excess returns of about 12% for portfolios of top pairs, meaning returns above the interest earned on cash.

They also found that part of the profit may come from trading frictions, such as the gap between buying and selling prices. After allowing for those and for costs, the returns were lower but still positive.

A worked pairs trade: Visa and Mastercard

Visa and Mastercard both run payment networks, which makes them a natural pair. From March 2008 to November 2026, their daily returns had a correlation of 0.83, where 1 means moving in lockstep. Our guide on what Visa does covers the card network business.

We skipped the authors' pairing step, fixed the pair, and applied their trading rule as an illustration. We show the trade from July 2024 because it is the most recent of the 4 in which the gap closed. The formation period ran from 3 July 2023 to 28 June 2024.

Over those 250 trading days, the gap between the two rebased indices had a standard deviation of 2.2 points. One point is one cent on each $1. The trigger was therefore 4.4 points.

Line chart of Visa and Mastercard shares with dividends counted, rebased to $1 on 1 July 2024, to 31 December 2024. On 31 July 2024, Visa stood at $1.01 and Mastercard at $1.06. By 21 November 2024, Visa was at $1.18 and Mastercard at $1.18. At 31 December 2024, Visa ended at $1.21 and Mastercard at $1.21.

Source: YX Insights

Both shares start at $1 on 1 July 2024. By 31 July, Mastercard stood at $1.06 and Visa at $1.01. That gap of 5.2 points passed the 4.4-point trigger, so the trade opened.

Line chart of the gap between rebased Visa and Mastercard, in percentage points, July to December 2024, with lines at plus and minus 4.4 points, two standard deviations of the gap over the year before. The gap was -5.2 points when the trade opened on 31 July 2024, reached -9.9 points on 15 October 2024, and was 0.1 points at the close on 21 November 2024.

Source: YX Insights

The gap first widened. By 15 October 2024, Visa trailed by 9.9 points, more than twice the trigger. On that day, the open trade showed a loss of 4.2 cents per $1 on each side.

The two lines crossed on 21 November 2024, 113 calendar days after the trade opened. Visa had risen 17.1% and Mastercard 11.2% over the trade. The long side gained 17.1 cents per $1 and the short side lost 11.2 cents, leaving 5.9 cents per $1 on each side.

Does the rule work on this pair over time?

We repeated the rule on every six-month trading period from July 2009 to June 2026, 34 periods in all. Each used the 12 months before it to set the trigger.

A pair could open again after a close, as the authors allow, but no gap passed the trigger a second time. We ran this one version, with no costs and no interest.

Bar chart of the mean result per trade from the same Visa and Mastercard rule, 34 six-month trading periods from July 2009 to June 2026, in cents per $1 on each side. 4 trades whose gap closed: 5.8 cents. 16 trades closed at period end: -0.2 cents. All 20 trades: 1.0 cents.

Source: YX Insights

The rule opened a trade in 20 of the 34 periods. Only 4 closed because the indices crossed. Those 4 made a mean of 5.8 cents per $1 on each side. The other 16 ran to the end of their period and made a mean loss of 0.2 cents.

Across all 20 trades, 11 made money. The mean was 1.0 cent and the median 1.6 cents. The best trade made 7.8 cents. The worst, opened on 31 July 2013, lost 10.7 cents.

What goes wrong with statistical arbitrage

A pair can drift apart for a reason, such as one company winning business from the other. The rule cannot tell a temporary gap from a lasting one. In our test, 16 of 20 gaps did not close inside their six-month window.

A few cents per dollar leaves little room for costs. Commissions, the bid-ask spread, and the fee for borrowing shares to sell short can take much of it. Our guide on how to read a backtest covers why a rule tested on past prices can look better than it trades.

Our Multi-model Signals cover both Visa and Mastercard. The pairs rule here is an illustration. It is not one of our models.

Statistical arbitrage bets that related prices which drift apart will drift back. On Visa and Mastercard, that bet paid in the 4 trades whose gap closed, including the one from July 2024. The other 16 gaps stayed open until the period ended.

Learn more with YX Insights

This explainer is part of the YX Insights Academy. Each one takes a single idea and checks it against real data.

The same approach runs through everything else we publish:

  • Systematic Portfolio: a ready-made portfolio chosen by our rules and sent before the US open every trading day, with exact weights. We publish the holdings and every change.

  • Multi-model Signals: a daily long-or-flat call on every name we cover. Each call shows how strongly our four models agree.

  • Research: company deep dives, macro commentary and essays on how we test.

Good places to start on the website:

  • Academy: more explainers like this one.

  • Start here: get our free weekly letter by email.

  • Systematic Portfolio: how the rules choose the holdings.

  • Track record: live results since 3 August 2026, plus the ten-year backtest.

  • Upgrade: get the Systematic Portfolio, Multi-model Signals and research in full.

Common questions about statistical arbitrage

Is statistical arbitrage risk free?

No. Statistical arbitrage relies on past price patterns repeating, so it can lose money. In our Visa and Mastercard test from July 2009 to June 2026, our version of the textbook pairs rule opened 20 trades. Of those, 11 made money, while the worst lost 10.7 cents per $1 on each side.

What is the difference between pairs trading and statistical arbitrage?

Pairs trading is one form of statistical arbitrage. It trades the gap between two shares that have moved together. Statistical arbitrage is the wider family of strategies that use price data to bet related securities will converge, often across many positions at once. Gatev, Goetzmann, and Rouwenhorst call pairs trading a statistical arbitrage tool.

How do you pick pairs for pairs trading?

Gatev, Goetzmann, and Rouwenhorst paired each share with the one whose total return index, starting at $1, stayed closest to it over a 12-month formation period. They measured closeness by the sum of squared gaps. They then opened a trade when a pair drifted more than two standard deviations apart.

Who invented pairs trading?

According to Gatev, Goetzmann, and Rouwenhorst, Nunzio Tartaglia's team at Morgan Stanley traded pairs from the mid-1980s. They credit Tartaglia and others with its discovery. The group reportedly made a $50 million profit for the firm in 1987. Our guide to what a hedge fund is covers the industry that uses it.

The Systematic Portfolio. Up to ten holdings with exact weights, sent every trading morning before the US open.

DISCLAIMER: This article is intended for educational purposes only. Any information or analysis in this note does not constitute an offer to sell or a solicitation of an offer to buy any securities. Nothing in this note is intended to be investment advice, nor should it be relied upon to make investment decisions. Any opinions, analyses, or probabilities expressed in this note are those of the author as of the note's date of publication and are subject to change without notice.

Get the next one by email

The Long Trend is our free weekly letter. Every figure in it is checked against the source.

More From YX Insights

No posts found
View more
caret-right