Beginner webinar (in Russian): wallets, exchanges, P2P and cashing out. Tentatively 30 January 2027 Details →

Crypto arbitrage bot and funding rate arbitrage: how it works and what it really pays

Updated: · 7 min read ·

Funding rate arbitrage means holding a coin on spot and an equal short on the perpetual contract at the same time. Price moves cancel out, and you collect the funding payment while it is positive. Bots such as OKX Smart Arbitrage open both legs in one click. The income is small and not guaranteed: funding can turn negative, fees eat the first days, and the short leg can be liquidated in a sharp rally.

Contents
  1. Types of crypto arbitrage
  2. How funding rate arbitrage works
  3. A worked example with made-up numbers
  4. Where to run it in one click
  5. Risks and why the income is small
  6. P2P arbitrage and "chains": a short warning

I run a small funding position when rates are healthy and close it when they fade. It is the closest thing in crypto to boring income, and that is exactly why it attracts exaggeration. Below is how it works with numbers, which parts a bot can automate, and where the money is actually lost.

Funding rate arbitrage scheme: long coin on spot against a short on the perpetual, price risk cancels out
Two opposite legs: the price risk cancels, funding stays.

Types of crypto arbitrage

"Arbitrage" covers several different things, and the risk differs a lot between them. The table sorts the main ones. The rest of this page is about the exchange-based ones; P2P is covered briefly at the end because it is a different business.

OKX

OKX has both Smart Arbitrage and Arbitrage bots. If your country is supported and you have no account yet, sign up through this link: the referral code is filled in for you and bots unlock after verification.

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3

The code can only be entered during sign-up.

Kinds of crypto arbitrage compared
TypeHow it earnsCan a bot do it?Main catch
Between exchangesBuy where the price is lower, sell where it is higherOnly with fast own software and funds on both exchangesGaps close in seconds; fees, withdrawal time and slippage eat the spread
Spot and futures (basis, cash-and-carry)Buy spot, short a dated future, collect the price gap at expiryYes, OKX Arbitrage bot has a spread modeCapital is locked; the gap can widen before it narrows
Funding rate arbitrageSpot long plus perpetual short, collect fundingYes, in one click on OKX, Binance, BybitFunding can turn negative; short leg liquidation
P2P chainsBuy USDT at one price, sell at another via P2PNo, it is manualBank blocks, scams, tax questions

My own classification, based on how exchanges describe their arbitrage tools. Check each product page for the current rules.

Interactive

Four kinds of arbitrage by tab

Switch tabs to see how each works, what you need and where it breaks.

How funding rate arbitrage works

A perpetual contract has no expiry, so exchanges keep its price close to spot with a periodic payment between longs and shorts: the funding rate. When the rate is positive, longs pay shorts, usually every 8 hours on major exchanges. In a bull market the rate is often positive, because more people want to be long.

So you buy the coin on spot and open a short of the same size on the perpetual. If the price rises, the spot gains and the short loses about the same. If it falls, the reverse. What does not cancel is the funding that the short receives. That is the whole trade. It is called delta-neutral because your net exposure to the price is close to zero.

A worked example with made-up numbers

These numbers are hypothetical, chosen to be easy to follow. Say you buy 5,000 USDT of BTC on spot and open a 5,000 USDT short on the perpetual at 1x, so you tie up about 10,000 USDT in total. Funding is 0.01% per 8 hours on the 5,000 USDT position. Round-trip fees are about 0.3% of 5,000 USDT, which is 15 USDT: this is the level-1 retail fee on OKX (spot 0.1% each way, perpetual 0.05% each way), and your tier may differ.

Hypothetical result over 30 days on a 5,000 USDT position (about 10,000 USDT of capital)
ScenarioFunding per 8 hFunding in 30 daysAfter 15 USDT fees
Healthy positive funding+0.01%+45 USDT+30 USDT
Weak funding+0.005%+22.5 USDT+7.5 USDT
Funding near zero0%0 USDT-15 USDT
Funding turns negative-0.01%-45 USDT-60 USDT

Conditional figures to show the mechanics, not a forecast. Real funding changes every period. Use your exchange's actual fee tier.

In the good scenario you earn 30 USDT net on about 10,000 USDT of capital in a month, which is 0.3%. It takes roughly ten days just to pay back the fees. In the bad scenario the same position loses. This is why I call it small and conditional income, not a salary. Try your own rate and size below.

Interactive

Funding on your position

Enter the position size, the rate and the days. For the short leg of the arbitrage the sign is what matters: positive funding is received by shorts.

Where to run it in one click

  • OKX Smart Arbitrage. Buys the coin on spot and shorts the same size on the perpetual. Smart mode picks the strategy and manages take profit, stop loss and adjustments; Custom mode lets you choose the pair yourself.
  • OKX Arbitrage bot. Two modes: spread arbitrage between two markets (for example spot and a future) and funding rate arbitrage, with cross or isolated margin.
  • Binance Funding Rate Arbitrage Bot. Looks at the 3-day cumulative funding rate and opens a positive carry or reverse carry position. It needs Trading Bots to be activated, supports up to 10 strategies, and has liquidation risk if spot and futures diverge sharply.
  • Bybit Arbitrage. Opens equal spot and perpetual orders in opposite directions, ranks pairs by funding rate and rebalances the legs. According to Bybit's help it is currently available only in Cross Margin mode in the app.

OKX, Binance and Bybit all have a ready tool for funding arbitrage, so you do not need your own code. Read the product page before launch, because minimums, supported pairs and margin modes differ and change.

I did not verify an equivalent product on Bitget or Gate, so I do not list them here. On OKX, funds sent to Smart Arbitrage are separated from your main trading account, so monitor that position separately. OKX also warns that stopping the strategy sells the coin at market price. The overview of all bots is in the OKX bots guide, and the other bot types are in the bots section.

Risks and why the income is small

  1. Funding changes sign. In a falling market shorts can start paying longs. You then pay to hold the position.
  2. Fees. Four trades (open and close both legs) cost around 0.3% at base tiers. A week of normal funding can go just on that.
  3. Liquidation of the short. In a sharp rally the short loses on margin faster than the spot gains in your account. Keep the leverage low and a margin buffer. Check the price with the liquidation calculator.
  4. Basis change. The gap between spot and perpetual can widen between entry and exit and cost more than funding paid.
  5. Slippage and delay. Opening two legs in a thin market gives worse prices than the screen showed.
  6. Auto-deleveraging and delisting. In extreme volatility an exchange can reduce positions, and a delisted coin closes the strategy automatically.

Funding arbitrage is not risk-free: it swaps price risk for funding, margin and execution risk. Small size, low leverage and a margin buffer matter more than picking the highest funding rate.

Checklist before opening funding rate arbitrage: check funding, fees, margin buffer, low leverage
Five checks before the first funding position.

P2P arbitrage and "chains": a short warning

P2P arbitrage means buying USDT from one person at one price and selling it to another at a higher price through the exchange's P2P market. It is manual work, not a bot, and it has little in common with the exchange arbitrage above. The spread is usually a fraction of a percent, and it is taken by bank fees, delays and the risk of a frozen card.

Around it there is a lot of noise: paid courses, "mentors", chats selling ready "chains" and offers to rent your card. Many are scams, and some schemes make you a link in a money-laundering chain. Banks can block accounts for transfers from third parties, and in many countries income from trading has to be reported. Read how P2P scams work and the P2P overview before the first deal.

OKX

New accounts via the link are enrolled in the OKX New User Bonus program automatically.

Sign up on OKX
Referral code: K2FMEIJ3
Binance

New accounts get up to 100 USD in trading-fee vouchers after KYC.

Sign up on Binance
Referral code: 58328288
Bybit

New accounts via the link: tasks worth up to 250 USDT; 25% off spot fees paid in MNT.

Sign up on Bybit
Referral code: J8NKMG
TradingView
Open TradingView

Charts, indicators and alerts

FAQ

What is funding rate arbitrage?
You hold a coin on spot and an equal short on the perpetual contract. Price moves cancel out, and you collect the funding payment shorts receive when the rate is positive. It is hedged against price, not against funding, fees or liquidation.
Is there a funding rate arbitrage bot?
Yes. OKX has Smart Arbitrage and an Arbitrage bot, Binance has a Funding Rate Arbitrage Bot, and Bybit has an Arbitrage tool in the app. Each opens both legs for you; minimums and pairs depend on the exchange.
How much can you earn from funding rate arbitrage?
It depends entirely on funding. In the made-up example here a healthy rate gives about 0.3% a month on capital after fees, a weak one almost nothing, and negative funding a loss. Nothing is guaranteed.
Is crypto arbitrage risk-free?
No. Price risk is hedged, but funding can turn negative, fees take the first days of income, the short leg can be liquidated, and the gap between spot and perpetual can move against you.
Can a beginner do exchange-to-exchange arbitrage?
Practically no. The gaps close in seconds, you need money on both exchanges, and transfer time and fees eat the spread. Flash-loan and scanner bots from GitHub add smart contract and key risks.
Is P2P arbitrage worth it?
The margin is small and the risks are real: card freezes, scammers, tax questions. Courses and chats selling "chains" are often scams. Read the P2P scams guide first and never move money for strangers.
Sign up on OKX