๐Ÿ”บ Triangular Arbitrage: Three-Way Trades

Exploit price inefficiencies between three trading pairs

๐Ÿ”บ Triangular Arbitrage

Triangular arbitrage exploits price discrepancies between three currency pairs on the same exchange. It's faster than cross-exchange arbitrage because there's no transfer time.

How It Works

ETHBTCUSDTโ‘  ETH/BTCโ‘ก BTC/USDTโ‘ข USDT/ETH
Step 1: ETH โ†’ BTC
Sell your ETH for BTC using the ETH/BTC pair
Step 2: BTC โ†’ USDT
Sell the BTC for USDT using the BTC/USDT pair
Step 3: USDT โ†’ ETH
Buy ETH back with USDT using the USDT/ETH pair
Result: You end with more ETH than you started!

๐ŸŽฎ Interactive: Triangular Arbitrage Calculator

Adjust the exchange rates to find profitable triangular arbitrage opportunities:

100 ETH10,000 ETH
0.05000
1 ETH = 0.05000 BTC
40,000
1 BTC = 40,000 USDT
2,000
2,000 USDT = 1 ETH
0%2%
0.05%0.5%

Trade Execution Path

โ‘  Start Amount (ETH):1,000 ETH
โ‘ก After ETH โ†’ BTC:49.90005000 BTC
1000 ร— 0.05 ร— 0.9980
โ‘ข After BTC โ†’ USDT:1,992,011.99 USDT
49.90005000 ร— 40,000 ร— 0.9980
โ‘ฃ Final Amount (ETH):994.0150 ETH
1,992,011.99 รท 2000 ร— 0.9980
Net Profit/Loss:-5.9850 ETH
Return on Investment:-0.599%
Arbitrage Status
โŒ Not Profitable - Adjust Rates
Theoretical rate deviation: 0.0000%

The Mathematics Behind It

For triangular arbitrage to be profitable, the product of the three exchange rates must deviate from 1:

Rateโ‚ ร— Rateโ‚‚ ร— Rateโ‚ƒ โ‰  1
If > 1:Arbitrage opportunity exists going clockwise (ETH โ†’ BTC โ†’ USDT โ†’ ETH)
If < 1:Arbitrage opportunity exists going counter-clockwise (ETH โ†’ USDT โ†’ BTC โ†’ ETH)
If = 1:No arbitrage opportunity (markets are in equilibrium)
๐Ÿ’ก Example Calculation
ETH/BTC = 0.05 (1 ETH buys 0.05 BTC)
BTC/USDT = 40,000 (1 BTC buys 40,000 USDT)
USDT/ETH = 1/2,000 = 0.0005 (1 USDT buys 0.0005 ETH)
Product = 0.05 ร— 40,000 ร— 0.0005 = 1.0
Result: No arbitrage (rates are in equilibrium)

Advantages Over Cross-Exchange

โšก

Speed

All three trades happen on the same exchange instantly. No waiting for transfers between exchanges (which can take 10-30 minutes).

๐Ÿ’ฐ

Lower Costs

No withdrawal fees or network fees. You only pay trading fees (typically 0.1-0.2% per trade), making smaller profit margins viable.

๐Ÿ“‰

Reduced Price Risk

Since execution is instant, there's minimal exposure to price movements. The entire arbitrage cycle completes in seconds, not minutes.

๐Ÿ”„

Higher Frequency

Fast execution allows for many trades per day. Professional arbitrage bots can execute hundreds of triangular arbitrage trades daily.

Key Challenges

๐ŸŽฏ

Smaller Profit Margins

Opportunities are typically 0.1-0.5% profit, much smaller than cross-exchange spreads. After fees and slippage, net profit might be only 0.05-0.2%.

Implication: Need large position sizes ($50,000+) to make meaningful profits
๐Ÿค–

Bot Competition

Opportunities disappear in milliseconds. Hundreds of bots are constantly scanning for these inefficiencies and executing faster than humans can.

Reality: Manual trading is impossible; you MUST use automated bots
๐Ÿ’ง

Slippage on Large Orders

Large trades move prices against you. A profitable opportunity at $1,000 might become unprofitable at $100,000 due to slippage eating into margins.

Solution: Split large orders into smaller chunks, use limit orders
๐Ÿ’ก

Pro Tips for Triangular Arbitrage

  • โ€ขFocus on high-volume pairs: ETH/BTC, BTC/USDT, ETH/USDT have the tightest spreads and best liquidity
  • โ€ขMonitor during volatility: Price discrepancies are more common during market crashes or pumps
  • โ€ขUse VIP fee tiers: At 0.05% fees instead of 0.1%, your profit margin doubles
  • โ€ขConsider gas/execution costs: On DEXs, Ethereum gas fees can exceed arbitrage profits
  • โ€ขTest with small amounts first: Verify your bot logic works before deploying significant capital