DataMaxi+
CarryLow risk

Perp Basis Convergence

When a perp trades far above its index, sell the perp and hold spot; the basis has to close, and funding pays you while it does.

Horizon · Hours – daysLow risk4 endpoints · 29 calls/h≈ $0.6168 / day
Buy OKX spotShort OKX USDT perp
  1. SignalBasis ≥ 40 bp
  2. EntryBuy spot · short perp
  3. ExitBasis ≤ 5 bp

How it works

Two legs, one spread · holds hours – days
How it works: Buy OKX spot and short OKX USDT perp when Basis ≥ 40 bp; exit at Basis ≤ 5 bp.
Data in29 calls/h
  • index_price12/hIndex the perp should converge to
  • ticker12/hPerp price and volume
  • funding_rate_latest4/hFunding must not work against the short
  • cex_fees1/hTaker fees on both legs
  1. Signal
    Basis ≥ 40 bp
    Perp price minus index price, every 5 minutes
  2. Entry
    Buy spot · short perp
    Held 15 min, funding ≥ 0, perp volume ≥ $10M
  3. Exit
    Basis ≤ 5 bp
    Or 5 days in the trade
  4. Risk
    Rebalance at 2% drift
    Margin ≥ 3× maintenance; fees inside the threshold
BuyOKXspot
Perp − index basis
Equal size on both legs, so the spread is the P&L.
ShortOKXUSDT perp

The signal

SUI · OKX perp − index · bp · sample
Entry · entry 40bpExit · exit 5bpDots mark where the rules would have entered and exited.
Basis by Hour (UTC)
Hour (UTC)Basis
Nov 14, 00:008.87 bp
Nov 14, 01:008.23 bp
Nov 14, 02:004.03 bp
Nov 14, 03:001.22 bp
Nov 14, 04:003.06 bp
Nov 14, 05:004.07 bp
Nov 14, 06:002.32 bp
Nov 14, 07:003.31 bp
Nov 14, 08:006.79 bp
Nov 14, 09:006.5 bp
Nov 14, 10:003.6 bp
Nov 14, 11:003.65 bp
Nov 14, 12:004.08 bp
Nov 14, 13:000.41 bp
Nov 14, 14:00-2.92 bp
Nov 14, 15:00-1.7 bp
Nov 14, 16:00-0.7 bp
Nov 14, 17:00-2.37 bp
Nov 14, 18:00-1.2 bp
Nov 14, 19:003.54 bp
Nov 14, 20:005.49 bp
Nov 14, 21:004.73 bp
Nov 14, 22:0052.74 bp
Nov 14, 23:0052.21 bp
Nov 15, 00:0047.36 bp
Nov 15, 01:0041.78 bp
Nov 15, 02:0040.29 bp
Nov 15, 03:0038.78 bp
Nov 15, 04:0034.3 bp
Nov 15, 05:0032.32 bp
Nov 15, 06:0034.71 bp
Nov 15, 07:0035.39 bp
Nov 15, 08:0033.55 bp
Nov 15, 09:0034.68 bp
Nov 15, 10:0037.27 bp
Nov 15, 11:0035.45 bp
Nov 15, 12:0031.73 bp
Nov 15, 13:0031.25 bp
Nov 15, 14:0030.5 bp
Nov 15, 15:0025.89 bp
Nov 15, 16:0022.69 bp
Nov 15, 17:0023.91 bp
Nov 15, 18:0024.04 bp
Nov 15, 19:0021.68 bp
Nov 15, 20:0022.43 bp
Nov 15, 21:0025.65 bp
Nov 15, 22:0025.09 bp
Nov 15, 23:0022.16 bp
Nov 16, 00:0022.14 bp
Nov 16, 01:0021.94 bp
Nov 16, 02:0017.25 bp
Nov 16, 03:0012.77 bp
Nov 16, 04:0012.42 bp
Nov 16, 05:0011.34 bp
Nov 16, 06:007.62 bp
Nov 16, 07:007.02 bp
Nov 16, 08:0010 bp
Nov 16, 09:0010.29 bp
Nov 16, 10:008.33 bp
Nov 16, 11:009.48 bp
Nov 16, 12:0011.13 bp
Nov 16, 13:008.14 bp
Nov 16, 14:004.32 bp
Nov 16, 15:004.16 bp
Nov 16, 16:003.34 bp
Nov 16, 17:00-0.66 bp
Nov 16, 18:00-2.05 bp
Nov 16, 19:000.8 bp
Nov 16, 20:001.93 bp
Nov 16, 21:001.04 bp
Nov 16, 22:0041.61 bp
Nov 16, 23:0041.91 bp
Nov 17, 00:0038.28 bp
Nov 17, 01:0033.43 bp
Nov 17, 02:0032.1 bp
Nov 17, 03:0030.32 bp
Nov 17, 04:0024.76 bp
Nov 17, 05:0020.9 bp
Nov 17, 06:0021.44 bp
Nov 17, 07:0020.87 bp
Nov 17, 08:0018.29 bp
Nov 17, 09:0019.44 bp
Nov 17, 10:0023.29 bp
Nov 17, 11:0023.64 bp
Nov 17, 12:0022.19 bp
Nov 17, 13:0023.87 bp
Nov 17, 14:0025.1 bp
Nov 17, 15:0021.66 bp
Nov 17, 16:0018.42 bp
Nov 17, 17:0018.93 bp
Nov 17, 18:0018.19 bp
Nov 17, 19:0014.74 bp
Nov 17, 20:0014.58 bp
Nov 17, 21:0017.88 bp
Nov 17, 22:0018.46 bp
Nov 17, 23:0017.21 bp

Sample backtest

Sample · illustrative 120D · not real performance
Trades
34
Avg capture
29bp
Median hold
19h
Max drawdown
−0.9%
Cumulative return by Date (UTC)
Date (UTC)Equity
Jul 210.05%
Jul 220.08%
Jul 230.08%
Jul 240.11%
Jul 250.16%
Jul 260.2%
Jul 270.26%
Jul 280.28%
Jul 290.28%
Jul 300.29%
Jul 310.29%
Aug 10.33%
Aug 20.4%
Aug 30.44%
Aug 40.49%
Aug 50.51%
Aug 60.52%
Aug 70.58%
Aug 80.63%
Aug 90.71%
Aug 100.81%
Aug 110.86%
Aug 120.91%
Aug 130.96%
Aug 141%
Aug 151.09%
Aug 161.17%
Aug 171.24%
Aug 181.31%
Aug 191.33%
Aug 201.35%
Aug 211.4%
Aug 221.43%
Aug 231.5%
Aug 241.56%
Aug 251.57%
Aug 261.59%
Aug 271.58%
Aug 281.59%
Aug 291.64%
Aug 301.68%
Aug 311.73%
Sep 11.77%
Sep 21.77%
Sep 31.79%
Sep 41.83%
Sep 51.87%
Sep 61.96%
Sep 72.03%
Sep 82.08%
Sep 92.14%
Sep 102.17%
Sep 112.22%
Sep 122.31%
Sep 132.39%
Sep 142.48%
Sep 152.54%
Sep 162.57%
Sep 172.61%
Sep 182.65%
Sep 192.7%
Sep 202.79%
Sep 212.83%
Sep 222.86%
Sep 232.88%
Sep 242.87%
Sep 252.9%
Sep 262.94%
Sep 272.97%
Sep 283.03%
Sep 293.04%
Sep 303.05%
Oct 13.07%
Oct 23.08%
Oct 33.14%
Oct 43.22%
Oct 53.27%
Oct 63.33%
Oct 73.36%
Oct 83.39%
Oct 93.46%
Oct 103.52%
Oct 113.61%
Oct 123.71%
Oct 133.75%
Oct 143.81%
Oct 153.85%
Oct 163.88%
Oct 173.97%
Oct 184.04%
Oct 194.1%
Oct 204.15%
Oct 214.15%
Oct 224.17%
Oct 234.2%
Oct 244.22%
Oct 254.29%
Oct 264.33%
Oct 274.34%
Oct 284.35%
Oct 294.35%
Oct 304.37%
Oct 314.43%
Nov 14.47%
Nov 24.53%
Nov 34.58%
Nov 44.59%
Nov 54.63%
Nov 64.68%
Nov 74.75%
Nov 84.85%
Nov 94.92%
Nov 104.98%
Nov 115.03%
Nov 125.06%
Nov 135.13%
Nov 145.21%
Nov 155.28%
Nov 165.36%
Nov 175.4%

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 at 5 minutes (one index_price call per coin)
History calls
55
Credits
350
Cost per run
≈ $0.035
Backtest prompt
Backtest the "Perp Basis Convergence" strategy on DataMaxi+ history.
Thesis: When a perp trades far above its index, sell the perp and hold spot; the basis has to close, and funding pays you while it does.

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. index_price(asset="SUI", interval="5m") — index price per asset, a month of 5-minute prints per call; about 5 calls
2. cex_candle(exchange="okx", market="futures", symbol="SUI-USDT", interval="5m") — OHLCV, up to 1,000 candles per call, history from Jan 2024; about 45 calls
3. funding_rate_history(exchange="okx", symbol="SUI-USDT", limit="100") — every funding print, 100 per call; about 5 calls
Universe: SUI, SOL, DOGE, AVAX and LINK on OKX: spot and USDT perp
Period: the last 30 days at 5 minutes (one index_price call per coin)

## Rules to test
Signal: Perp last price minus the index price, in basis points, per symbol and venue, every 5 minutes.
Entry:  Basis ≥ 40 bp for 15 minutes with funding ≥ 0 and perp 24h volume ≥ $10M: buy spot, short the perp for the same size.
Exit:   Basis ≤ 5 bp, or 5 days.
Risk:   Rebalance when legs drift > 2% apart. Perp margin ≥ 3× maintenance. Count both taker fees in the entry threshold.

## Assumptions
Costs: 0.1% spot and 0.05% perp taker per leg, 0.02% slippage per leg
Data: Basis is the perp's 5-minute close against the index print at the same time, coarser than live ticks. Fee tiers keep no history; use today's and say so.
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 55 history calls ≈ 350 credits ≈ $0.035 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
SignalPerp last price minus the index price, in basis points, per symbol and venue, every 5 minutes.
EntryBasis ≥ 40 bp for 15 minutes with funding ≥ 0 and perp 24h volume ≥ $10M: buy spot, short the perp for the same size.
ExitBasis ≤ 5 bp, or 5 days.
RiskRebalance when legs drift > 2% apart. Perp margin ≥ 3× maintenance. Count both taker fees in the entry threshold.

Data used

≈ $0.6168 / day
Endpoints this strategy calls, with price and daily cost
MCP tool · REST routeDatasetTierCalls / hCredits / dayUSD / day
index_price
GET /index-price
Index price · forexAggregated · 20 cr125,760$0.576
ticker
GET /ticker
Candle · tickerLatest · 1 cr12288$0.0288
funding_rate_latest
GET /funding-rate/latest
Funding rateLatest · 1 cr496$0.0096
cex_fees
GET /cex/fees
Margin · feesLatest · 1 cr124$0.0024
Total296,168$0.6168

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 "Perp Basis Convergence" strategy for me with DataMaxi+ data.
Thesis: When a perp trades far above its index, sell the perp and hold spot; the basis has to close, and funding pays you while it does.

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. index_price(asset="SUI", interval="5m") — Index the perp should converge to; about 12×/hour
2. ticker(exchange="okx", symbol="SUI-USDT", market="futures") — Perp price and volume; about 12×/hour
3. funding_rate_latest(exchange="okx", symbol="SUI-USDT") — Funding must not work against the short; about 4×/hour
4. cex_fees(exchange="okx", symbol="SUI-USDT") — Taker fees on both legs; about 1×/hour

## Rules
Signal: Perp last price minus the index price, in basis points, per symbol and venue, every 5 minutes.
Entry:  Basis ≥ 40 bp for 15 minutes with funding ≥ 0 and perp 24h volume ≥ $10M: buy spot, short the perp for the same size.
Exit:   Basis ≤ 5 bp, or 5 days.
Risk:   Rebalance when legs drift > 2% apart. Perp margin ≥ 3× maintenance. Count both taker fees in the entry threshold.

## 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 symbols with basis ≥ 40 bp, funding, volume and net capture after fees, 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: ~29 calls/hour ≈ 6,168 credits/day (≈ $0.62/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

  • Basis can keep widening in a squeeze; the trade is hedged on price but the short leg still needs margin.
  • Both legs sit on one venue, so venue risk is concentrated.
  • Captures are small; fees and slippage decide whether this is worth running.

Educational example, not investment advice. Sample charts and figures are illustrative.

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