The honest starting point
An arbitrage bot looks for a price difference for the same coin between two exchanges, or between three trading pairs on one exchange, and trades only when the difference is larger than all the costs. Those costs are the part most people underestimate: two or three trading fees, slippage on each leg, and the cost of moving funds back into balance. On liquid pairs the visible gap is often smaller than the costs, and professional firms compete for what is left.
We build the bot you specify and measure its real net result on paper first. We never promise profits; crypto trading carries a real risk of loss.
Arbitrage bots we build
- Cross-exchange arbitrage: compares order books for the same pair on two or more exchanges (for example Binance, Bybit, Kraken, OKX, Coinbase Advanced) and buys on the cheaper one while selling on the dearer one, using balances already on each exchange.
- Triangular arbitrage: watches loops of three pairs on one exchange, such as USDT → BTC → ETH → USDT, and acts only when the loop returns more than it started with after three fees.
- Funding-rate (spot–perpetual) bots: hold a spot position and an opposite perpetual futures position to collect funding payments, with checks for funding turning negative and margin on the futures leg.
- Arbitrage scanners: no orders at all, just a live feed of gaps after fees with Telegram or dashboard alerts, so you can study the opportunity before automating it.
- Rebalancing and reporting tools: track balances across exchanges, flag when one side runs low and report realised profit or loss after every fee.
How a cross-exchange arbitrage bot works
- Order booksLive WebSocket depth from each exchange, kept in sync
- Gap finderBest buy vs best sell, sized to the depth actually available
- Cost checkFees, expected slippage, minimum size and your threshold
- ExecutionBoth legs sent together; a failed leg is hedged or closed by rule
- BalancesInventory per exchange, rebalancing alerts, trade log and P&L
The cost check runs before every trade. If the gap is smaller than fees plus slippage plus your safety margin, the bot does nothing.
Free spread check: does the gap survive costs?
Enter a price gap you have seen. This is simple arithmetic for one trade, not a forecast: real fills depend on order-book depth and speed, and prices move while orders travel.
Net result for this trade
- Gross gap
- 0%
- Total costs
- $0
- Break-even gap
- 0%
- Net after costs
- 0%
With the example numbers, a 0.15% gap looks attractive but costs about 0.25%, so the trade loses money. Fee tiers, BNB-style fee discounts and maker orders change the answer, which is why we measure your real fees during paper trading.
Features we build in
- Depth-aware sizing: the bot only counts the volume actually available at the quoted prices
- Configurable minimum net spread and maximum trade size per pair
- Leg-failure rules: if one side fills and the other does not, the bot hedges or closes by your rule and alerts you
- Balance tracking per exchange with low-balance stops and rebalancing alerts
- Paper trading against live order books, logging every missed and taken opportunity
- Kill switch, daily loss limit and Telegram commands such as /status and /pause
- API keys trade-only, withdrawals disabled, IP allow-listing where supported
Tech stack
Python (asyncio, ccxt and ccxt.pro for WebSocket order books) or Node.js where an existing codebase or throughput calls for it; exchange-specific code for futures and funding rates; Redis for live state; PostgreSQL or TimescaleDB for opportunity and trade history; Docker on a cloud server in a region close to the exchanges you use.
Arbitrage bot cost: planning ranges at $50/hour
| Project | Typical hours | Typical cost |
|---|---|---|
| Arbitrage scanner with Telegram alerts, 2–4 exchanges, no orders | 40–80 h | $2,000–$4,000 |
| Triangular arbitrage bot, one exchange | 100–180 h | $5,000–$9,000 |
| Funding-rate (spot–perpetual) bot, one or two exchanges | 120–220 h | $6,000–$11,000 |
| Cross-exchange bot with pre-funded balances and automatic execution | 150–300 h | $7,500–$15,000 |
| Multi-exchange system with dashboard, rebalancing and reporting | 300+ h | $15,000+ |
Running costs are a cloud server (often $10 to $60 a month) plus any paid data. Many clients start with the scanner: it shows how often real, after-cost gaps appear before they pay for automatic trading. See also how much a trading bot costs to build in 2026.
How we work
- Rules and costs. You tell us the exchanges, pairs and thresholds; we collect your real fee tiers and minimum order sizes.
- Scanner first. We log gaps after costs on live order books for a week or two, so the data decides whether to automate.
- Paper trading. The trading code runs against live books without real orders.
- Small live start. Small sizes, tight limits, on your own exchange accounts and server.
- Handover. Source code in your repository, a runbook, and optional support when exchanges change their APIs.
Risks and compliance
- Gaps close in milliseconds, one leg can fail, exchanges can pause withdrawals or go offline, and funding rates can flip. Limits reduce losses; they cannot remove the risk.
- Funds sit on several exchanges at once, so you carry each exchange's counterparty risk.
- You are responsible for each exchange's terms of service and the laws and tax rules where you live. Running the bot for other people's money may be a regulated activity: take legal advice first.
- We do not build MEV, sandwich, front-running, wash-trading or other market-manipulation bots, and we do not build betting or prediction-market bots.
Hire a bot developer for this
You work directly with our engineers in Lahore, Pakistan, building software for clients worldwide since 2014. Start with the contact form, or hire us on Freelancer.com, where we are a Preferred Freelancer with a 4.9 average from 356 reviews. Every bot we offer is listed on the bot development page.
Questions clients ask
How much does a crypto arbitrage bot cost to build?
At $50 per hour, a scanner that only sends Telegram alerts is usually 40 to 80 hours ($2,000 to $4,000). A triangular bot on one exchange is about 100 to 180 hours ($5,000 to $9,000), and a cross-exchange bot that places orders automatically 150 to 300 hours ($7,500 to $15,000).
Is crypto arbitrage still profitable?
We cannot promise that, and nobody honestly can. Visible gaps on major pairs are usually smaller than fees and slippage, and large firms compete for them. A bot only automates the rules you define; we help you measure the real net spread on paper before any money is at risk.
What is the difference between cross-exchange and triangular arbitrage?
Cross-exchange arbitrage buys on one exchange and sells on another, so you need balances on both. Triangular arbitrage trades three pairs on one exchange, for example USDT to BTC to ETH and back to USDT, so it pays three trading fees but needs no transfers.
Do you move coins between exchanges during a trade?
No. Withdrawals take minutes or longer, so working bots keep pre-funded balances on each exchange and rebalance separately. The bot tracks those balances and stops when one side runs low.
Do you build DEX, MEV or flash-loan arbitrage bots?
We can monitor DEX prices against centralised exchanges, but we do not build MEV, sandwich, front-running or other bots that profit by trading ahead of other users.
How long does it take?
An alert-only scanner is often two to three weeks. An automated cross-exchange bot usually takes six to ten weeks including paper trading and a small live start, because fills, fees and balances must be checked on each exchange.