DataMaxi+
ArbitrageLow risk

CEX–CEX Spread Arbitrage

Buy where a coin is cheap, sell where it is rich, only when the gap survives both venues' taker fees.

Horizon · MinutesLow risk3 endpoints · 181 calls/h≈ $0.4344 / day
Buy Gate spotSell Bybit spot
  1. SignalNet ≥ 30bp
  2. EntryBuy cheap · sell rich
  3. ExitNet ≤ 5bp or 10m

How it works

Two legs, one spread · holds minutes
How it works: Buy Gate spot and sell Bybit spot when Net ≥ 30bp; exit at Net ≤ 5bp or 10m.
Data in181 calls/h
  • premium120/hWidest spot spreads across venues
  • cex_fees1/hTaker fees for both legs
  • ticker60/hDepth and volume confirmation
  1. Signal
    Net ≥ 30bp
    Spot–spot spread minus both taker fees, every venue pair
  2. Entry
    Buy cheap · sell rich
    Depth within 2% covers the size; 24h volume ≥ $1M
  3. Exit
    Net ≤ 5bp or 10m
    Both legs fill at once; residual unwound
  4. Risk
    Cap 25% of thinner book
    Inventory sits on both venues, so no transfer race
BuyGatespot
Net spread
Equal size on both legs, so the spread is the P&L.
SellBybitspot

The signal

ARB · Gate → Bybit · net spread bp · sample
Entry · entry 30bpExit · exit 5bpDots mark where the rules would have entered and exited.
Net spread by Minutes
MinutesNet spread
+0m14.41 bp
+1m10.48 bp
+2m8.97 bp
+3m9.77 bp
+4m5.75 bp
+5m-0.33 bp
+6m-0.98 bp
+7m0.21 bp
+8m-2.47 bp
+9m-3.54 bp
+10m1.16 bp
+11m4.44 bp
+12m37 bp
+13m30.31 bp
+14m28.09 bp
+15m22.33 bp
+16m14.13 bp
+17m11.05 bp
+18m10.45 bp
+19m6.13 bp
+20m2.98 bp
+21m6.36 bp
+22m9.91 bp
+23m9.37 bp
+24m11.21 bp
+25m16.84 bp
+26m18.26 bp
+27m15.27 bp
+28m15.51 bp
+29m17.4 bp
+30m14.34 bp
+31m10.6 bp
+32m12.73 bp
+33m15.59 bp
+34m14.4 bp
+35m15.41 bp
+36m21.17 bp
+37m23.8 bp
+38m49.67 bp
+39m42.82 bp
+40m39.58 bp
+41m32.28 bp
+42m23.69 bp
+43m20.83 bp
+44m19.56 bp
+45m14.52 bp
+46m11.62 bp
+47m14.69 bp
+48m16.37 bp
+49m13.82 bp
+50m14.03 bp
+51m16.89 bp
+52m14.62 bp
+53m8.93 bp
+54m7.33 bp
+55m6.84 bp
+56m1.75 bp
+57m-2.4 bp
+58m-0.36 bp
+59m1.5 bp

Sample backtest

Sample · illustrative 30D · not real performance
Signals / day
41
Median net
27bp
Hit rate
62%
Avg life
4m
Cumulative return by Date (UTC)
Date (UTC)Equity
Jul 210.16%
Jul 220.25%
Jul 230.34%
Jul 240.38%
Jul 250.35%
Jul 260.4%
Jul 270.44%
Jul 280.52%
Jul 290.65%
Jul 300.68%
Jul 310.71%
Aug 10.74%
Aug 20.75%
Aug 30.86%
Aug 41%
Aug 51.12%
Aug 61.27%
Aug 71.33%
Aug 81.39%
Aug 91.52%
Aug 101.63%
Aug 111.82%
Aug 122.02%
Aug 132.13%
Aug 142.25%
Aug 152.32%
Aug 162.38%
Aug 172.54%
Aug 182.66%
Aug 192.79%
Aug 202.92%
Aug 212.92%
Aug 222.95%
Aug 232.99%
Aug 243.03%
Aug 253.15%
Aug 263.24%
Aug 273.27%
Aug 283.32%
Aug 293.29%
Aug 303.32%
Aug 313.43%
Sep 13.51%
Sep 23.66%
Sep 33.76%
Sep 43.79%
Sep 53.88%
Sep 63.95%
Sep 74.07%
Sep 84.28%
Sep 94.43%
Sep 104.58%
Sep 114.7%
Sep 124.74%
Sep 134.86%
Sep 145.01%
Sep 155.15%
Sep 165.33%
Sep 175.42%
Sep 185.46%
Sep 195.53%
Sep 205.54%
Sep 215.63%
Sep 225.76%
Sep 235.82%
Sep 245.9%
Sep 255.91%
Sep 265.88%
Sep 275.93%
Sep 285.98%
Sep 296.08%
Sep 306.22%
Oct 16.26%
Oct 26.32%
Oct 36.37%
Oct 46.41%
Oct 56.57%
Oct 66.73%
Oct 76.87%
Oct 87.04%
Oct 97.1%
Oct 107.19%
Oct 117.32%
Oct 127.44%
Oct 137.64%
Oct 147.81%
Oct 157.9%
Oct 168%
Oct 178.03%
Oct 188.08%
Oct 198.22%
Oct 208.31%
Oct 218.42%
Oct 228.5%
Oct 238.48%
Oct 248.5%
Oct 258.53%
Oct 268.57%
Oct 278.7%
Oct 288.78%
Oct 298.83%
Oct 308.88%
Oct 318.87%
Nov 18.94%
Nov 29.07%
Nov 39.19%
Nov 49.36%
Nov 59.48%
Nov 69.53%
Nov 79.65%
Nov 89.73%
Nov 99.89%
Nov 1010.1%
Nov 1110.24%
Nov 1210.38%
Nov 1310.47%
Nov 1410.5%
Nov 1510.62%
Nov 1610.73%
Nov 1710.86%

Generated to show the shape of the strategy, not measured on real fills. Ask your agent to backtest on DataMaxi+ history before trading.

Backtest this strategy

One prompt: your agent pulls the history below, tests these rules with fees and slippage, and charts the equity curve and drawdown. Run it before you trust the sample above.

Period
The last 30 days, 5-minute candles
History calls
90
Credits
450
Cost per run
≈ $0.045
Backtest prompt
Backtest the "CEX–CEX Spread Arbitrage" strategy on DataMaxi+ history.
Thesis: Buy where a coin is cheap, sell where it is rich, only when the gap survives both venues' taker fees.

Use the DataMaxi+ MCP server at https://mcp.datamaxiplus.com/mcp. Pull the history once, cache it, and run the backtest in your own code sandbox (Python is fine).

## History to pull (split the period with from/to; never refetch a range you have)
1. cex_candle(exchange="gateio", market="spot", symbol="ARB-USDT", interval="5m") — OHLCV, up to 1,000 candles per call, history from Jan 2024; about 45 calls
2. cex_candle(exchange="bybit", market="spot", symbol="ARB-USDT", interval="5m") — OHLCV, up to 1,000 candles per call, history from Jan 2024; about 45 calls
Universe: the 5 most liquid coins listed on both Gate and Bybit spot
Period: the last 30 days, 5-minute candles

## Rules to test
Signal: Spot–spot premium for every venue pair, minus both taker fees (net spread, bp).
Entry:  Net spread ≥ 30bp, depth within 2% covers the size on both books, 24h volume ≥ $1M.
Exit:   Both legs fill at once; unwind any residual when net spread ≤ 5bp or after 10 minutes.
Risk:   Inventory held on both venues (no transfer race). Cap each trade at 25% of the thinner book within 2%.

## Assumptions
Costs: taker fee on both legs (0.1% each unless the fee table says otherwise), plus 0.05% slippage per leg
Data: Candle closes stand in for the books, so the depth rule cannot be tested; use 24h volume ≥ $1M instead and treat the result as an upper bound.
Use only data stamped before each decision (no look-ahead). Say plainly where the data cannot test a rule.

## Report
Net return, annualised return, Sharpe, max drawdown, number of trades, win rate and average hold, next to buy-and-hold over the same period. Chart the equity curve and the drawdown, and list the 5 worst trades.

## Budget
About 90 history calls ≈ 450 credits ≈ $0.045 from my prepaid DataMaxi+ balance. Tell me how many calls you made.

If DataMaxi+ is not connected, ask me to [connect DataMaxi+](https://claude.ai/customize/connectors?modal=add-custom-connector) using https://mcp.datamaxiplus.com/mcp before continuing.

Estimate from the call counts in the prompt. Your agent may pull less or more; it reports the calls it made.

Rules

Signal, entry, exit and risk rules
SignalSpot–spot premium for every venue pair, minus both taker fees (net spread, bp).
EntryNet spread ≥ 30bp, depth within 2% covers the size on both books, 24h volume ≥ $1M.
ExitBoth legs fill at once; unwind any residual when net spread ≤ 5bp or after 10 minutes.
RiskInventory held on both venues (no transfer race). Cap each trade at 25% of the thinner book within 2%.

Data used

≈ $0.4344 / day
Endpoints this strategy calls, with price and daily cost
MCP tool · REST routeDatasetTierCalls / hCredits / dayUSD / day
premium
GET /premium
PremiumLatest · 1 cr1202,880$0.288
cex_fees
GET /cex/fees
Margin · feesLatest · 1 cr124$0.0024
ticker
GET /ticker
Candle · tickerLatest · 1 cr601,440$0.144
Total1814,344$0.4344

1 credit = $0.0001. Only successful calls are billed, from one balance shared by the API and MCP. Calls per hour are the suggested cadence; scale them to the symbols you watch.

Build it with your agent

Connect the MCP server →

Open it in Claude with one click (it asks you to add the DataMaxi+ connector first if you haven't), or paste it into Cursor or any MCP client. It backtests first, then runs in paper mode and never places orders on its own.

Build the "CEX–CEX Spread Arbitrage" strategy for me with DataMaxi+ data.
Thesis: Buy where a coin is cheap, sell where it is rich, only when the gap survives both venues' taker fees.

Connect to the DataMaxi+ MCP server at https://mcp.datamaxiplus.com/mcp (header X-DTMX-APIKEY, read from env DATAMAXI_API_KEY).

## Data (call these tools; arguments are examples — loop over the symbols and venues you need)
1. premium(premium_type="spot-spot", key="pdp", sort="desc", min_sv="1000000", min_tv="1000000", limit="50") — Widest spot spreads across venues; about 120×/hour
2. cex_fees(exchange="gateio") — Taker fees for both legs; about 1×/hour
3. ticker(exchange="bybit", symbol="ARB-USDT", market="spot") — Depth and volume confirmation; about 60×/hour

## Rules
Signal: Spot–spot premium for every venue pair, minus both taker fees (net spread, bp).
Entry:  Net spread ≥ 30bp, depth within 2% covers the size on both books, 24h volume ≥ $1M.
Exit:   Both legs fill at once; unwind any residual when net spread ≤ 5bp or after 10 minutes.
Risk:   Inventory held on both venues (no transfer race). Cap each trade at 25% of the thinner book within 2%.

## What to do
1. Build the signal from the tools above and backtest the rules on the history you can pull; report trades, win rate, average trade and max drawdown.
2. Then run it live in paper mode and show me a ranked list of pairs with gross and net spread and fillable size, refreshed on the cadence above.
3. Never place real orders. Propose trades and wait for my confirmation.

## Budget
Every call is billed from my prepaid DataMaxi+ balance. Expected load: ~181 calls/hour ≈ 4,344 credits/day (≈ $0.43/day).
Cache results, never repeat a call inside its refresh window, and print the number of calls each refresh made.

If DataMaxi+ is not connected, ask me to [connect DataMaxi+](https://claude.ai/customize/connectors?modal=add-custom-connector) using https://mcp.datamaxiplus.com/mcp before continuing.

Risk notes

  • Spreads that only exist for a second are usually stale quotes — confirm with ticker before sending.
  • Inventory drifts to the cheap venue; rebalancing transfers cost fees and time.
  • Fee tiers change; refresh cex_fees daily.

Educational example, not investment advice. Sample charts and figures are illustrative. See the live screen it builds on: CEX–CEX Spread Scanner.

Keep exploring

Live screens, dashboards and the data behind this strategy.

More strategies

All 20 →
KRW premium by Hour (KST)
Hour (KST)Premium
Nov 15, 00:001.45%
Nov 15, 01:001.55%
Nov 15, 02:001.43%
Nov 15, 03:001.49%
Nov 15, 04:001.59%
Nov 15, 05:001.36%
Nov 15, 06:001.08%
Nov 15, 07:001.09%
Nov 15, 08:001.1%
Nov 15, 09:000.89%
Nov 15, 10:000.84%
Nov 15, 11:001.07%
Nov 15, 12:001.16%
Nov 15, 13:001.03%
Nov 15, 14:004.09%
Nov 15, 15:003.88%
Nov 15, 16:003.38%
Nov 15, 17:002.8%
Nov 15, 18:002.49%
Nov 15, 19:002.23%
Nov 15, 20:001.74%
Nov 15, 21:001.39%
Nov 15, 22:001.39%
Nov 15, 23:001.33%
Nov 16, 00:001.1%
Nov 16, 01:001.1%
Nov 16, 02:001.28%
Nov 16, 03:001.18%
Nov 16, 04:000.93%
Nov 16, 05:000.9%
Nov 16, 06:000.89%
Nov 16, 07:000.59%
Nov 16, 08:000.35%
Nov 16, 09:000.42%
Nov 16, 10:000.47%
Nov 16, 11:000.34%
Nov 16, 12:000.43%
Nov 16, 13:000.77%
Nov 16, 14:000.89%
Nov 16, 15:000.83%
Nov 16, 16:000.98%
Nov 16, 17:001.16%
Nov 16, 18:001.01%
Nov 16, 19:000.81%
Nov 16, 20:000.89%
Nov 16, 21:000.93%
Nov 16, 22:003.56%
Nov 16, 23:003.18%
Nov 17, 00:003.14%
Nov 17, 01:003%
Nov 17, 02:002.72%
Nov 17, 03:002.69%
Nov 17, 04:002.77%
Nov 17, 05:002.54%
Nov 17, 06:002.22%
Nov 17, 07:002.13%
Nov 17, 08:002.02%
Nov 17, 09:001.65%
Nov 17, 10:001.41%
Nov 17, 11:001.48%
Nov 17, 12:001.46%
Nov 17, 13:001.28%
Nov 17, 14:001.33%
Nov 17, 15:001.56%
Nov 17, 16:001.5%
Nov 17, 17:001.3%
Nov 17, 18:001.31%
Nov 17, 19:001.29%
Nov 17, 20:000.96%
Nov 17, 21:000.66%
Nov 17, 22:000.65%
Nov 17, 23:000.58%

Kimchi Premium Mean Reversion

Sell the KRW premium when it stretches past 3%, buy it back as it reverts toward zero.

KoreaMedium risk≈ $0.3168/day
Live
Loading live prices
  • Pages
    ExploreHome
  • DatasetsAll datasets
  • DashboardsGallery
  • StrategiesGallery
  • MCPConnect and tools
  • Actions
    Top up balance
  • My pageUsage, billing, API keys
  • Classic UIPrevious terminal
  • API keys
  • Quick start
  • Sign in
↑↓ move↵ open⌘K anywhere