Earlier, we covered how the three sides fit together: three quotes, one direction around the cycle, and quantities that match up. This article focuses on just one thing—why the three quotes can temporarily fall out of sync around a cycle, and where that cycle gap comes from.

I. What’s the principle?

When discussing “where the gap comes from” in triangular arbitrage, you don’t have to guess which way prices will move. Start with this:

The three related quotes don’t come from the same order book: their depth, update speed, and participants are all different. Over a short period, when you link them around a cycle, they may not line up. That mismatch is what we mean here by the cycle gap.

Breaking it down, there are roughly three steps:

1) The three sides don’t use the same matching system in the first place

Each trading pair has its own orders and trades. Some order books are deep, others thin; some update quickly, others slowly. The numbers shown for the three legs don’t have to line up at every moment so that “going around the loop brings you exactly back to where you started.”

2) Participants entering and exiting have different goals

Some people just want to exchange one type of coin, some make markets, and some trade price differences. At any given moment, buyers and sellers on the three legs may have different levels of urgency, making gaps more likely when the legs are linked.

3) The gap can appear and change

Sentiment can shift, one side of the order book can thin out, or one trade can move before another catches up—the loop gap can grow or quickly close again. Put simply:

The gap comes from the three legs being temporarily out of alignment, and it can widen or narrow on its own.

One thing to remember:

Triangular loop gap ≈ three sets of quotes that don’t line up when linked over a short period; it’s usually not something you get by guessing which way prices will move.

2. An example

The numbers are for illustration only. Suppose these are the three on-platform quotes:

• A/USDT around 100

• B/A around 2

• B/USDT around 51

A rough calculation from the first two trades suggests that 1 B should be worth around 50 U. The market price is 51, so the loop appears misaligned.

Starting from around 100 U, here’s an illustrative loop: buy about 1 A → exchange it for about 2 B → sell back for about 102 U. You start with 100 and return with about 102, leaving roughly +2 in the loop. This difference usually isn’t called into existence by anyone; it results from how the three order books match trades.

If the third leg later also returns to around 50, and the full loop comes back to roughly 100, that just means the three legs have temporarily moved closer together again. How the gap moves is something to look at separately later.

3. What the two sides are

In this article, the “two sides” are more like the price that should line up based on the calculation and the actual price in the market:

• Calculated side: Link the first two trades (or two of the legs) to roughly estimate where the third leg “should be.”

• Market-price side: Where the third leg is actually quoted in the order book. Comparing the two gives a rough idea of whether the loop has opened up.

You can also simply watch the three legs themselves:

• First leg / second leg / third leg: Each has different depth, update frequency, and participants, so they don’t have to line up perfectly in the short term.

So when comparing, focus less on “whether A or B will rise tomorrow” and take a closer look at how much the three linked quotes differ around the loop at the same moment, and whether the gap has widened or narrowed since.

You can think of it this way in relation to futures-spot spreads and basis:

• Futures-spot spreads / basis: often a mismatch between two quotes;

• Triangular arbitrage: often a mismatch around a loop of three sets of quotes.

4. Where the profit comes from

This article mainly explains where the gap comes from. Just keep a few points in mind about making money:

1) The loop gap comes first; only then is there a change to track

If the three legs stay closely aligned, even when all are linked into a loop, there won’t be much change in the loop gap to track.

2) Once linked, what matters more is how the loop changes

Once all three trades are linked, what matters more is how large the gap was to begin with and whether it later narrowed, widened, or barely moved. One-sided price moves tend to be less noticeable.

3) A gap doesn’t mean much will necessarily be left after costs

Fees on all three trades, slippage on all three trades, and minimum order sizes all need to be factored in separately. A gap usually just means the three legs are temporarily out of alignment; how much remains after costs is another matter.

5. Risks

Common pitfalls related to “where the gap comes from” include the following.

Mistaking the gap shown on the page for a gap that’s already locked in

The three legs may look great when linked on the page, but that doesn’t mean all three trades can be filled at those prices. Mixing mid-prices, last prices, and order-book prices can make the paper gap look larger than it is.

The gap can change on its own

It can suddenly widen or narrow

When sentiment shifts, a price wick appears, or one side of the order book thins out, the loop gap can change quickly. Before all three trades are linked, the paper gap may already look completely different.

The three legs don’t update in sync

One side may have already moved while another is still showing an old price, so the gap shown in a screenshot may not be there when you try to trade. This kind of “gap that looks real” is fairly common in on-platform triangular arbitrage.

Inconsistent definitions

Using the wrong trading pair or failing to convert the quantity units properly can make the loop gap look large, even though you may not actually be comparing the same loop.

Simply put, this triangular gap usually appears because three sets of quotes don’t line up when linked together over a short period. Once you understand where the gap comes from, it’s easier to look at how to link the trades and what remains after costs.

This article is for illustrative purposes only. It does not constitute investment advice or recommend any specific trading combinations.

$XRP

XRP
XRPUSDT
0.9392
+0.38%