Crypto Arbitrage: A Practical Guide (with Basis Trade Example)

arbitrage-futures-spot

Imagine you could buy an apple for $5 in Singapore. However, the same apple is selling for $6 in Malaysia. One would connect the dots and buy the apple in Singapore to sell it in Malaysia. Assuming no other costs are incurred, you pocket a clean $1.

Arbitrage is often described as a 'free lunch' because you're exploiting market inefficiencies in a near risk-free way. In an infant industry like crypto, arbitrage opportunities exist everywhere….but only if you know where to look and how to execute them.

In this guide, we’ll learn about:

  1. What is crypto arbitrage and how it works

  2. Some real life arbitrage examples

  3. How you can set up your arbitrage trades

  4. The risks and dangers of arbitrage

What Is Crypto Arbitrage?

Crypto arbitrage is the practice of buying an asset on one exchange (or market) and selling it on another to pocket the difference. Simple concept. Not always simple execution.

In theory, Bitcoin should trade at the same price everywhere. In reality? The crypto market is fragmented. Each exchange runs its own order book, driven by its own pool of buyers and sellers. Liquidity differs. Regional demand differs. Withdrawal limits, banking partnerships, even local regulations—all of this creates price gaps.

That's where arbitrageurs come in. You spot Bitcoin at $30,000 on Kraken and $30,200 on Binance. You buy on Kraken, sell on Binance, lock in $200 (minus fees). The market moves on. The gap closes. You've just done cryptocurrency arbitrage.

Here's what most guides won't tell you upfront: those price gaps exist for a reason. Transfer delays. Withdrawal limits. Fee stacks that eat half your profit if you're not careful. The real edge in arbitrage trading crypto isn't spotting the opportunity—bots do that in milliseconds. It's execution: having capital pre-positioned, knowing the fee structure cold, and moving faster than the next trader.

This isn't passive income. It's active trading that demands precision. But when done right, it's one of the few strategies in crypto that doesn't rely on predicting price direction. The market can pump, dump, or go sideways. Doesn't matter. You're capturing inefficiencies, not gambling on outcomes.

Arbitrage Types

Arbitrage in crypto comes in different flavours. Some are straightforward. Others require derivative knowledge and stomach for complexity. Here are the six main types you'll encounter.

1. Spatial (Cross-Exchange) Arbitrage

The classic. Buy Bitcoin on Exchange A, sell on Exchange B. The price gap between venues is your profit. These opportunities pop up due to regional quirks—the "Kimchi Premium" is a famous example, where Bitcoin trades higher on South Korean exchanges because of capital controls and local demand.

The catch? You need funds sitting on both exchanges before you trade. Transferring Bitcoin between platforms after you spot the gap? Too slow. By the time it confirms, the gap's gone.

2. Intra-Pair and Cross-Pair Arbitrage

This happens on a single exchange (or across exchanges) by exploiting differences between trading pairs. Say BTC/USDT shows Bitcoin at $30,000, but BTC/USDC shows $30,050. Same asset, different quote currency, different price.

Cross-pair gets more complex. You might trade BTC → ETH → USDT → BTC and end up with more Bitcoin than you started with because the exchange rates don't line up perfectly. No transfer risk here since it's all on one platform, but you're paying trading fees three times.

3. Triangular Arbitrage

A closed loop across three assets. You start with Bitcoin. Trade it for Ethereum. Trade Ethereum for Solana. Trade Solana back to Bitcoin. If the cross-rates are misaligned, you end up with more BTC than you began with.

Triangular arb eliminates the withdrawal headache—you're not moving funds off-platform. But you're paying maker or taker fees on three separate trades, and the profit margin is usually razor-thin. Algo traders love this because it scales with frequency.

4. Cash-and-Carry Arbitrage (Basis Trading)

This is where institutions make serious money. You buy Bitcoin on the spot market and simultaneously short a Bitcoin futures contract. Futures often trade at a premium to spot (called "contango"). When the contract expires, the futures price converges to the spot price. You capture that premium as profit, regardless of whether Bitcoin goes to $20,000 or $50,000.

This is the strategy we'll walk through in detail later because BitMEX is built for it. Deep liquidity. Dated futures. Professional execution tools.

5. Funding-Rate Arbitrage

Specific to perpetual swaps—futures with no expiry date. Because perps never expire, exchanges use a "funding rate" to keep the contract price tethered to spot. If too many traders are long, longs pay shorts every eight hours.

Here's the play: buy Bitcoin spot, short Bitcoin perps. You're delta-neutral (hedged), but you're collecting funding payments from the longs. During bull runs, funding can hit 100%+ annualised. That's free yield for sitting in a hedged position.

6. Statistical Arbitrage

This isn't about spotting a price gap right now. It's about modelling historical price relationships and betting they'll revert to the mean. Say Ethereum and Solana usually move together. When that correlation breaks—ETH pumps 10%, SOL is flat—you long SOL, short ETH, and wait for the relationship to snap back.

Stat arb requires serious infrastructure: historical data, cointegration models, low-latency execution. Retail traders can access this via algo platforms, but you're competing with quant funds.

How It Works

The mechanics of crypto arbitrage boil down to three things: speed, capital positioning, and rebalancing logistics. Miss one, and your "risk-free" trade bleeds money.

Execution Speed and Latency

Arbitrage opportunities don't wait. They close in milliseconds because hundreds of bots are scanning the same exchanges. Manual execution? Forget it. By the time you've calculated fees and clicked "Buy," the gap's vanished.

Traders use automated bots connected via API to scan order books in real time. When a profitable spread appears, the bot fires both legs of the trade simultaneously. Even then, latency matters. If your server is geographically far from the exchange, or your internet connection hiccups, you'll experience slippage—the price moves before your order fills. That eats your margin.

This is why serious arbitrageurs colocate servers near exchange data centres and use WebSocket feeds (real-time streaming data) instead of slower REST API polling.

Capital on Multiple Venues

You can't do spatial arbitrage by spotting a gap, transferring funds, and then trading. Blockchain confirmations take minutes (sometimes hours during congestion). The opportunity will be long gone.

Instead, you pre-fund accounts. Say you're arbitraging between Kraken and Binance. You keep $10,000 USDT on Kraken and 0.33 BTC on Binance. When Bitcoin is cheaper on Kraken, you buy there. Simultaneously, you sell your BTC on Binance where it's more expensive. Instant execution. No transfers needed.

The downside? Your capital is now locked on exchanges—counterparty risk. This is why traders diversify across reputable platforms and monitor exchange health obsessively.

Transfers and Rebalancing

After the trade, your inventory is unbalanced. You've got extra BTC on Kraken and extra USDT on Binance. Eventually, you need to rebalance—move funds back to their original positions—so you're ready for the next opportunity.

This is where hidden costs live. Withdrawal fees (often fixed, like 0.0005 BTC). Network gas fees (variable, depending on blockchain congestion). During Ethereum network spikes, a single transfer can cost $50+. If your gross profit was $80, your net just got cut in half.

Smart arbitrageurs monitor gas fees and rebalance during off-peak hours. Some even use stablecoins like USDT or USDC for rebalancing because their transfer fees are lower and more predictable than native crypto.

Pro Tip: Don't rebalance after every single trade. Let your inventory drift slightly across exchanges, then rebalance in bulk during low-fee windows. This aggregates transfer costs and preserves more of your edge.

Math Blocks

Arbitrage looks great on paper until you do the maths. Here's how to calculate whether a trade is actually profitable or just burning capital on fees.

1. Spread Calculation

This is your gross profit potential before costs.

Formula: Spread % = [(Price_Sell - Price_Buy) / Price_Buy] × 100

Example: You see Bitcoin at $30,000 on Kraken and $30,180 on Binance. Spread = [(30,180 - 30,000) / 30,000] × 100 = 0.60%

Sounds decent. But hold on—you haven't deducted fees yet.

2. Annualized Basis (Futures)

When comparing futures contracts with different expiry dates, you need to annualise the basis to compare them fairly.

Formula: Annualized Basis % = [(Futures Price / Spot Price) - 1] × (365 / Days to Expiry) × 100

Example: Spot BTC: $30,000 3-month futures: $30,600 Days to expiry: 90

Annualized Basis = [(30,600 / 30,000) - 1] × (365 / 90) × 100 = 8.13%

If that's higher than you can earn on stablecoins (typically 3-5% via lending), the basis trade is worth considering.

3. Funding Impact (Perpetuals)

For funding rate arbitrage, your income depends on the funding rate and your position size.

Formula: Funding Income = Position Size × Funding Rate

Example: Position: $50,000 Funding rate: 0.01% (paid every 8 hours, so 3× per day)

Daily income = $50,000 × 0.01% × 3 = $15/day Annualised = $15 × 365 = $5,475 (roughly 10.95% APY)

But remember: funding rates aren't static. They fluctuate. A bullish market might sustain positive funding for weeks. A crash flips it negative, and suddenly shorts are paying longs.

4. The Fee Stack (Where Profits Go to Die)

This is the reality check. Gross spread means nothing until you subtract the full cost structure.

Components:

  • Maker Fees: 0.00% to 0.40% (you add liquidity with a limit order)

  • Taker Fees: 0.05% to 0.60% (you remove liquidity with a market order)

  • Withdrawal Fees: Fixed (e.g., 0.0005 BTC = ~$15 at $30k BTC)

  • Network Gas Fees: Variable ($5 to $100+ depending on congestion)

Formula: Net Profit = Gross Spread - (Buy Fees + Sell Fees + Withdrawal Fees + Network Fees)

Real-World Example: Gross spread: $180 (0.60% on a $30,000 trade) Taker fee (buy): $30 (0.10%) Taker fee (sell): $30 (0.10%) Withdrawal + gas: $40

Net Profit = $180 - $100 = $80

Your 0.60% gross just became 0.27% net. Still profitable, but the margin is thinner than it looked.

This is why high-frequency arb strategies only work with volume. A $80 profit per cycle is noise. But 50 cycles a day? That's $4,000.

Worked Examples

Let's put the theory into practice with two real scenarios: a cross-exchange spot arb and a basis trade.

Example 1: Cross-Exchange Spot Arbitrage

You're monitoring Bitcoin across Kraken and Binance. You spot:

  • Kraken: $30,000

  • Binance: $30,180

You decide to trade 1 BTC ($30,000 position size).

Step-by-step:

  1. Buy 1 BTC on Kraken: $30,000 + 0.10% taker fee = $30,030

  2. Sell 1 BTC on Binance: $30,180 - 0.10% taker fee = $30,149.82

  3. Gross profit: $30,149.82 - $30,030 = $119.82

  4. Rebalancing costs: Withdrawal fee (0.0005 BTC ≈ $15) + gas ($10) = $25

  5. Net profit: $119.82 - $25 = $94.82

Return on deployed capital: $94.82 / $30,000 = 0.32% per cycle.

Is that worth it? Depends. If you can execute this five times per day with your capital rotating, that's $474/day or $14,220/month. But you're locked into monitoring markets 24/7, and one failed execution (exchange outage, withdrawal delay) can wipe out a day's gains.

Example 2: Basis Trade (Cash-and-Carry on BitMEX)

You notice BitMEX's quarterly futures (XBTM25) trading at a premium to spot.

  • Spot BTC: $30,000

  • Futures (90 days to expiry): $30,600

  • Basis: $600

Your trade:

  1. Buy 1 BTC spot: $30,000

  2. Short $30,600 worth of XBTM25 futures on BitMEX (using 10× leverage, you only need $3,060 margin)

  3. Hold both positions until expiry

At expiry: The futures price converges to the spot price. Let's say Bitcoin is at $32,000.

  • Spot position: $32,000 ($2,000 gain)

  • Futures position: You shorted at $30,600. Close at $32,000. Loss of $1,400.

  • Net P&L: $2,000 - $1,400 = $600 profit

Notice the beauty: Bitcoin moved $2,000 in either direction, and your P&L is exactly the basis you captured. Market-neutral. No directional bet.

ROI after fees:

  • Spot buy: 0.10% = $30

  • Futures short (maker fee): 0.00% = $0

  • Futures close (taker fee): 0.075% of $32,000 = $24

  • Total fees: $54

  • Net profit: $600 - $54 = $546

Return on $30,000 capital over 90 days = 1.82% (roughly 7.3% annualised).

That might not sound thrilling, but remember: this return is leveraged. You only posted $3,060 margin for the futures leg. Your real capital deployed was closer to $3,060 + $30,000 = $33,060. And the trade was hedged. Zero directional risk.

Net ROI After Costs (Comparison Table)

Strategy Type

Gross Yield

Trade Frequency

Fee Impact

Net ROI (Est.)

Spatial

0.60%

High (Minutes)

High (Taker + Transfer)

0.30% per cycle

Triangular

0.20%

Very High (Seconds)

Medium (3× Fees)

0.05% per cycle

Basis (Futures)

2.00%

Low (Quarterly)

Low (Maker/Taker)

1.80% (flat)

Funding Rate

0.10%/day

Medium (Daily)

Medium (Funding income)

10–15% APY

Execution Walkthrough on BitMEX

Let's walk through a basis trade step-by-step on BitMEX, from evaluation to settlement.

Step 1: Evaluate the Basis

Log in to BitMEX and check the dated futures contracts (e.g., XBTM25 for March expiry). Compare the futures price to the spot index (.BXBT).

What you're looking for:

  • Annualised basis above 5–8% (depending on market conditions and alternative yields).

  • Sufficient liquidity in the futures order book (at least $500k+ daily volume).

  • At least 30–60 days until expiry to make the setup worthwhile.

During bull markets, BitMEX basis has historically reached 15–80% annualised. During bear markets, it can flip negative (backwardation), which means shorts pay longs and the trade doesn't work.

Step 2: Size the Hedge

BitMEX uses inverse contracts. Each XBTUSD contract is worth $1 of Bitcoin, but it's margined and settled in Bitcoin—not USD.

Critical: To hedge properly, you need to match the USD notional value, not the BTC quantity.

Example:

  • You buy 1 BTC spot at $30,000.

  • On BitMEX, you short 30,000 XBTUSD contracts (because 1 contract = $1 of BTC).

Leverage consideration: BitMEX allows up to 100× leverage, but for basis trades, use 10× maximum. Why? Because even though you're hedged in USD terms, your futures position is margined in BTC. If Bitcoin's price rises, your margin requirement (in BTC terms) also rises. Too much leverage and you risk getting liquidated despite being hedged.

Step 3: Manage the Settlement Window

Here's where most guides stop, but this is the make-or-break detail.

BitMEX futures settle based on a 30-minute Time Weighted Average Price (TWAP) of the .BXBT30M index between 11:30 UTC and 12:00 UTC on expiry day.

What this means: If you bought 1 BTC spot at $30,000 and the settlement TWAP is $32,000, your spot position is worth $32,000. Your futures position (shorted at $30,600) will also settle at $32,000. You pocket the $600 basis.

But here's the trap: If you sell your spot BTC at 12:01 UTC (after settlement completes) and the market price has moved to $31,500, you've just lost $500 on the spot leg. You're no longer hedged.

The fix: Gradually sell your spot Bitcoin during the same 30-minute settlement window (11:30–12:00 UTC). This way, your spot exit price closely matches the futures settlement price, and your hedge remains intact.

Step 4: Margin and Leverage Safety Rails

Because you're shorting an inverse contract, rising BTC prices increase your margin requirement. Even though your USD value is hedged, your position equity (in BTC terms) can fluctuate.

Safety protocol:

  • Keep reserve BTC in a cold wallet (Ledger, Trezor) ready to deposit if needed.

  • Set margin alerts on BitMEX to notify you if your margin ratio drops below 50%.

  • Monitor the position daily, especially during volatile periods.

Pro Tip: If Bitcoin pumps 20% mid-trade, don't panic. Your hedge is working—your spot gains offset your futures losses in USD terms. But you might need to "top up" your BitMEX margin with additional BTC to keep the position open. This is normal and expected in inverse contracts.

Risks & Mitigations

Arbitrage crypto strategies are marketed as "risk-free." They're not. You've swapped directional risk for operational risk. Here's what can go wrong and how to defend against it.

1. Latency and Slippage

The risk: By the time your buy order on Exchange A confirms, the price on Exchange B has moved. Your $200 gap is now $50, or worse, negative.

Mitigation: Use limit orders instead of market orders. A limit order guarantees your entry price. Yes, there's a risk your order doesn't fill, but that's better than buying high and selling low. Also, use WebSocket data feeds (real-time streaming) instead of REST API polling, which updates every few seconds and can feed you stale prices.

2. Liquidity Gaps

The risk: An exchange shows Bitcoin at $30,200, but that's only for 0.01 BTC. You try to sell 1 BTC and crash the price to $30,050 because the order book is thin. Your profit just became a loss.

Mitigation: Check the order book depth before trading. Don't just look at the top bid/ask. Look at the volume available at each price level. If there's only $500 worth of orders, don't try to execute a $30,000 trade. Set trade size caps in your bot logic to avoid this entirely.

3. Withdrawal Queues and Limits

The risk: You've locked in profit on-chain, but the exchange pauses withdrawals for "maintenance." Or worse, liquidity issues. Your capital is trapped.

Mitigation: Diversify across reputable exchanges. BitMEX has operated for 10 years with zero funds lost to intrusion—that's not marketing, that's a verifiable track record. Avoid smaller, unproven platforms for arbitrage. The 0.05% extra spread isn't worth the counterparty risk. Also, monitor exchange health: check on-chain wallet movements, community sentiment on X, and official status pages.

4. Counterparty and Exchange Risk

The risk: An exchange gets hacked (or "hacked"). Your funds are gone. Or the exchange goes insolvent (see FTX, Mt. Gox). Your arbitrage profits are stuck in bankruptcy court for years.

Mitigation: Only use exchanges with strong security reputations and proof-of-reserves. Keep the minimum capital required on each platform to execute trades. Store the rest in cold storage. Yes, this limits your trade size, but it caps your downside.

5. Stale Mark Prices and Liquidation

The risk: On derivatives exchanges, liquidations are triggered using a "mark price," not the last traded price. If the mark price calculation lags or gets manipulated (rare but possible), you could get liquidated even though your hedge should protect you.

Mitigation: Trade on platforms that use fair price marking with multiple external data sources. BitMEX, for example, uses a composite index across major spot exchanges to calculate mark price, which protects against single-exchange manipulation.

6. API Throughput and Rate Limiting

The risk: You send a buy order to Exchange A. It fills. You immediately try to sell on Exchange B, but you've hit the API rate limit (HTTP 429 error). Your sell order is rejected. You're now sitting on unhedged Bitcoin exposure.

Mitigation: Build rate-limit handling into your bot. Use exponential backoff (wait and retry with increasing delays). Better yet, implement a rollback mechanism: if leg two of the trade fails, immediately close leg one to exit the position, even at a small loss. A $20 loss from a failed arb is better than a $2,000 loss from unhedged exposure during a dump.

Pro Tip: Run a testnet or paper-trading version of your arbitrage bot for at least a week before deploying real capital. You'll catch edge cases—like withdrawal limits, API errors, and insufficient balance errors—without risking money.

FAQs

1. Is crypto arbitrage legal?

Yes, arbitrage trading crypto is legal in most jurisdictions, including the UK, EU, and US. It's a recognised market-making activity that improves price efficiency. That said, you're still responsible for tax compliance. Every trade is a taxable event in most countries, and arbitrage generates a high volume of transactions. Use crypto tax software (Koinly, CoinTracker) to stay compliant.

2. Can I do arbitrage without a bot?

Technically, yes. Practically, no. Manual arbitrage worked in 2015 when price gaps lasted minutes. Today, opportunities close in milliseconds because of bot competition. If you're doing this for learning or small-scale experimentation, manual execution is fine. If you're serious about profitability, you need automation.

3. What is the "Kimchi Premium"?

It's a type of spatial arbitrage where Bitcoin trades at a premium (sometimes 5–10% higher) on South Korean exchanges like Upbit and Bithumb compared to global markets. This happens due to capital controls that make it difficult to move KRW (Korean Won) offshore. It's a well-known phenomenon but difficult for non-Korean residents to exploit due to KYC restrictions.

4. Is arbitrage completely risk-free?

No. It eliminates directional price risk—you're not betting on whether Bitcoin goes up or down. But you're still exposed to execution risk (transfers, slippage), counterparty risk (exchange hacks), and liquidity risk (thin order books). The "risk-free" label is marketing. Arbitrage is lower risk, not zero risk.

5. How much capital do I need to start?

Arbitrage margins are thin (0.2–1% per trade). If you're doing cross-exchange arb, you need at least $10,000–$20,000 to make the effort worthwhile after fees. For basis trading on BitMEX, you can start smaller ($5,000–$10,000) because you're using leverage on the futures side. But remember: larger capital allows you to absorb fixed costs (withdrawal fees) more efficiently.

6. Do I need to use leverage for basis trades?

Not strictly, but it's more capital-efficient. Say you want to hedge 1 BTC ($30,000 spot). Without leverage, you'd need $30,000 to short the futures. With 10× leverage, you only need $3,000 margin. That frees up $27,000 for other trades or to sit safely in cold storage. Just don't over-leverage—stick to 5–10× max for hedged strategies.

7. Why do price differences exist if bots are everywhere?

Because operational friction still exists. Withdrawal limits. Regional banking restrictions. Liquidity differences. Gas fees on Ethereum during congestion. Yes, bots close gaps faster than they used to, but crypto markets are still far from perfectly efficient. There's money to be made—you just need better execution than the next trader.

8. Can I get liquidated on a hedged basis trade?

Yes, if you use too much leverage. Even though your USD value is hedged, your BitMEX position is margined in BTC (inverse contracts). If BTC's price rises sharply, your margin requirement in BTC terms increases. If you don't have enough collateral, you'll be liquidated—even though the trade "should" be safe. This is why we recommend 10× leverage maximum and keeping reserve BTC ready to top up margin.


Glossary

Basis

The difference between the futures price and the spot price of an asset. Formula: Basis = Futures Price - Spot Price. A positive basis (contango) means futures are more expensive than spot. Negative basis (backwardation) means spot is more expensive.

Contango

A market structure where futures prices are higher than the current spot price. Common in bullish markets when traders expect prices to rise. Cash-and-carry arbitrage profits from this premium.

Backwardation

The opposite of contango. Futures prices are lower than spot. Often seen in bear markets or when there's high demand for immediate delivery. Basis trades don't work in backwardation—you'd lose money holding to expiry.

Funding Rate

A periodic payment (every eight hours) exchanged between long and short traders on perpetual futures to keep the contract price aligned with the spot price. If funding is positive, longs pay shorts. If negative, shorts pay longs.

Maintenance Margin

The minimum amount of equity you must maintain in a leveraged position to avoid liquidation. If your losses push you below this threshold, the exchange auto-closes your position. For arbitrage strategies using leverage, always monitor your maintenance margin closely.

Cross Margin

A margin mode where your entire account balance is used as collateral for all positions. One bad trade can drain your whole account. Generally not recommended for arbitrage—too risky.

Isolated Margin

A margin mode that limits risk to the collateral allocated to a specific trade. If that trade goes underwater, only that margin is lost. Strongly recommended for basis trades and any leveraged arbitrage strategy.


Try It on BitMEX

Ready to deploy a crypto arbitrage strategy? BitMEX is purpose-built for professional basis and funding rate trading.

Why BitMEX:

  • Deep liquidity: Minimise slippage on large trades. Tight spreads. Active order books on XBTUSD, ETHUSD, and altcoin derivatives.

  • Dated futures: XBTM25, XBTU25, XBTZ25—quarterly and bi-annual contracts with transparent settlement.

  • Inverse and linear contracts: Choose the structure that fits your strategy.

  • Proven infrastructure: 10 years of operation. Zero downtime during recent record-volume days. Zero funds lost to intrusion.

  • API-first design: Built for algo traders. RESTful and WebSocket APIs. Market data feeds. FIX protocol support.

Whether you're capturing basis, farming funding rates, or running cross-exchange spatial arb, BitMEX provides the tools institutional traders demand.

Start trading smarter. Sign up on BitMEX and access the deepest crypto derivatives markets globally.