Funding-Rate Carry
Hold spot and short the same coin's perp: price risk cancels, the funding shorts receive is the yield.
- Signal3d APR ≥ 15%
- EntryLong spot · short perp
- ExitAPR < 5%
How it works
Two legs, one spread · holds days – weeks- funding_rate_latest12/hCurrent funding print and interval
- funding_rate_history2/h3-day average (9 × 8h prints)
- ticker12/hVolume and spot–perp basis
- Signal3d APR ≥ 15%Perp funding as APR, 3-day average, per venue
- EntryLong spot · short perpPerp volume ≥ $5M; spot–perp basis under 0.3%
- ExitAPR < 5%Or two negative prints in a row
- RiskRebalance at 2% driftPerp margin ≥ 3× maintenance; 1–2× on the short
The signal
SOL-USDT · Binance · funding APR (3d avg) · sample| Date (UTC) | Funding APR |
|---|---|
| Sep 19 | 10.51% |
| Sep 20 | 9.32% |
| Sep 21 | 11.44% |
| Sep 22 | 13.78% |
| Sep 23 | 13.37% |
| Sep 24 | 13.51% |
| Sep 25 | 15.71% |
| Sep 26 | 15.78% |
| Sep 27 | 12.99% |
| Sep 28 | 11.74% |
| Sep 29 | 11.91% |
| Sep 30 | 9.67% |
| Oct 1 | 6.74% |
| Oct 2 | 7.07% |
| Oct 3 | 8.32% |
| Oct 4 | 7.24% |
| Oct 5 | 6.82% |
| Oct 6 | 9.1% |
| Oct 7 | 22.98% |
| Oct 8 | 20% |
| Oct 9 | 18.24% |
| Oct 10 | 18% |
| Oct 11 | 15.28% |
| Oct 12 | 11.17% |
| Oct 13 | 10.01% |
| Oct 14 | 10.16% |
| Oct 15 | 8.23% |
| Oct 16 | 6.96% |
| Oct 17 | 9.02% |
| Oct 18 | 10.63% |
| Oct 19 | 9.57% |
| Oct 20 | 9.58% |
| Oct 21 | 11.36% |
| Oct 22 | 10.67% |
| Oct 23 | 7.83% |
| Oct 24 | 7.26% |
| Oct 25 | 7.96% |
| Oct 26 | 6.37% |
| Oct 27 | 4.95% |
| Oct 28 | 7.01% |
| Oct 29 | 9.35% |
| Oct 30 | 9.28% |
| Oct 31 | 10.25% |
| Nov 1 | 13.45% |
| Nov 2 | 14.52% |
| Nov 3 | 12.89% |
| Nov 4 | 12.86% |
| Nov 5 | 13.94% |
| Nov 6 | 12.31% |
| Nov 7 | 9.99% |
| Nov 8 | 10.86% |
| Nov 9 | 12.4% |
| Nov 10 | 11.66% |
| Nov 11 | 11.9% |
| Nov 12 | 14.93% |
| Nov 13 | 16.5% |
| Nov 14 | 15.28% |
| Nov 15 | 15.31% |
| Nov 16 | 16.51% |
| Nov 17 | 14.8% |
Sample backtest
Sample · illustrative 180D · not real performance| Date (UTC) | Equity |
|---|---|
| Jul 21 | 0.09% |
| Jul 22 | 0.17% |
| Jul 23 | 0.22% |
| Jul 24 | 0.28% |
| Jul 25 | 0.37% |
| Jul 26 | 0.44% |
| Jul 27 | 0.54% |
| Jul 28 | 0.61% |
| Jul 29 | 0.64% |
| Jul 30 | 0.68% |
| Jul 31 | 0.71% |
| Aug 1 | 0.77% |
| Aug 2 | 0.86% |
| Aug 3 | 0.92% |
| Aug 4 | 0.99% |
| Aug 5 | 1.05% |
| Aug 6 | 1.07% |
| Aug 7 | 1.14% |
| Aug 8 | 1.22% |
| Aug 9 | 1.3% |
| Aug 10 | 1.43% |
| Aug 11 | 1.51% |
| Aug 12 | 1.58% |
| Aug 13 | 1.66% |
| Aug 14 | 1.72% |
| Aug 15 | 1.83% |
| Aug 16 | 1.96% |
| Aug 17 | 2.06% |
| Aug 18 | 2.17% |
| Aug 19 | 2.24% |
| Aug 20 | 2.3% |
| Aug 21 | 2.38% |
| Aug 22 | 2.46% |
| Aug 23 | 2.56% |
| Aug 24 | 2.66% |
| Aug 25 | 2.72% |
| Aug 26 | 2.78% |
| Aug 27 | 2.82% |
| Aug 28 | 2.84% |
| Aug 29 | 2.92% |
| Aug 30 | 2.99% |
| Aug 31 | 3.06% |
| Sep 1 | 3.14% |
| Sep 2 | 3.16% |
| Sep 3 | 3.2% |
| Sep 4 | 3.26% |
| Sep 5 | 3.31% |
| Sep 6 | 3.42% |
| Sep 7 | 3.51% |
| Sep 8 | 3.58% |
| Sep 9 | 3.66% |
| Sep 10 | 3.71% |
| Sep 11 | 3.79% |
| Sep 12 | 3.9% |
| Sep 13 | 4% |
| Sep 14 | 4.13% |
| Sep 15 | 4.23% |
| Sep 16 | 4.29% |
| Sep 17 | 4.38% |
| Sep 18 | 4.45% |
| Sep 19 | 4.54% |
| Sep 20 | 4.66% |
| Sep 21 | 4.76% |
| Sep 22 | 4.83% |
| Sep 23 | 4.9% |
| Sep 24 | 4.93% |
| Sep 25 | 4.98% |
| Sep 26 | 5.06% |
| Sep 27 | 5.13% |
| Sep 28 | 5.22% |
| Sep 29 | 5.27% |
| Sep 30 | 5.3% |
| Oct 1 | 5.34% |
| Oct 2 | 5.37% |
| Oct 3 | 5.44% |
| Oct 4 | 5.54% |
| Oct 5 | 5.61% |
| Oct 6 | 5.69% |
| Oct 7 | 5.75% |
| Oct 8 | 5.79% |
| Oct 9 | 5.87% |
| Oct 10 | 5.96% |
| Oct 11 | 6.07% |
| Oct 12 | 6.2% |
| Oct 13 | 6.28% |
| Oct 14 | 6.36% |
| Oct 15 | 6.44% |
| Oct 16 | 6.51% |
| Oct 17 | 6.62% |
| Oct 18 | 6.74% |
| Oct 19 | 6.84% |
| Oct 20 | 6.94% |
| Oct 21 | 6.99% |
| Oct 22 | 7.04% |
| Oct 23 | 7.11% |
| Oct 24 | 7.17% |
| Oct 25 | 7.27% |
| Oct 26 | 7.35% |
| Oct 27 | 7.4% |
| Oct 28 | 7.45% |
| Oct 29 | 7.47% |
| Oct 30 | 7.51% |
| Oct 31 | 7.59% |
| Nov 1 | 7.66% |
| Nov 2 | 7.73% |
| Nov 3 | 7.81% |
| Nov 4 | 7.84% |
| Nov 5 | 7.89% |
| Nov 6 | 7.96% |
| Nov 7 | 8.04% |
| Nov 8 | 8.16% |
| Nov 9 | 8.26% |
| Nov 10 | 8.34% |
| Nov 11 | 8.43% |
| Nov 12 | 8.49% |
| Nov 13 | 8.57% |
| Nov 14 | 8.69% |
| Nov 15 | 8.8% |
| Nov 16 | 8.92% |
| Nov 17 | 9.01% |
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 365 days; funding every 8 hours, daily candles
- History calls
- 60
- Credits
- 300
- Cost per run
- ≈ $0.03
Backtest the "Funding-Rate Carry" strategy on DataMaxi+ history. Thesis: Hold spot and short the same coin's perp: price risk cancels, the funding shorts receive is the yield. 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. funding_rate_history(exchange="binance", symbol="BTC-USDT", limit="100") — every funding print, 100 per call; about 55 calls 2. cex_candle(exchange="binance", market="futures", symbol="BTC-USDT", interval="1d") — OHLCV, up to 1,000 candles per call, history from Jan 2024; about 5 calls Universe: BTC-USDT on Binance, Bybit, OKX, Bitget and Gate, one position per venue Period: the last 365 days; funding every 8 hours, daily candles ## Rules to test Signal: Perp funding normalized to APR, 3-day average, per symbol and venue. Entry: 3-day funding APR ≥ 15%, perp 24h volume ≥ $5M, basis between spot and perp under 0.3%. Exit: 3-day APR < 5%, or two negative prints in a row. Risk: Delta-neutral: rebalance when legs drift > 2% apart. Keep perp margin ≥ 3× maintenance; 1–2× leverage on the short. ## Assumptions Costs: 0.1% spot and 0.05% perp taker on entry and exit, 0.05% slippage per leg Data: Daily closes stand in for the basis check; venues that settle every 1h or 4h need more funding pages. 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 60 history calls ≈ 300 credits ≈ $0.03 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 | Perp funding normalized to APR, 3-day average, per symbol and venue. |
|---|---|
| Entry | 3-day funding APR ≥ 15%, perp 24h volume ≥ $5M, basis between spot and perp under 0.3%. |
| Exit | 3-day APR < 5%, or two negative prints in a row. |
| Risk | Delta-neutral: rebalance when legs drift > 2% apart. Keep perp margin ≥ 3× maintenance; 1–2× leverage on the short. |
Data used
≈ $0.0816 / day| MCP tool · REST route | Dataset | Tier | Calls / h | Credits / day | USD / day |
|---|---|---|---|---|---|
funding_rate_latest GET /funding-rate/latest | Funding rate | Latest · 1 cr | 12 | 288 | $0.0288 |
funding_rate_history GET /funding-rate/history | Funding rate | History · 5 cr | 2 | 240 | $0.024 |
ticker GET /ticker | Candle · ticker | Latest · 1 cr | 12 | 288 | $0.0288 |
| Total | 26 | 816 | $0.0816 |
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 "Funding-Rate Carry" strategy for me with DataMaxi+ data. Thesis: Hold spot and short the same coin's perp: price risk cancels, the funding shorts receive is the yield. 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. funding_rate_latest(exchange="binance", symbol="SOL-USDT") — Current funding print and interval; about 12×/hour 2. funding_rate_history(exchange="binance", symbol="SOL-USDT", limit="9") — 3-day average (9 × 8h prints); about 2×/hour 3. ticker(exchange="binance", symbol="SOL-USDT", market="futures") — Volume and spot–perp basis; about 12×/hour ## Rules Signal: Perp funding normalized to APR, 3-day average, per symbol and venue. Entry: 3-day funding APR ≥ 15%, perp 24h volume ≥ $5M, basis between spot and perp under 0.3%. Exit: 3-day APR < 5%, or two negative prints in a row. Risk: Delta-neutral: rebalance when legs drift > 2% apart. Keep perp margin ≥ 3× maintenance; 1–2× leverage on the short. ## 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 the top 10 symbols by 3-day funding APR with volume and basis, 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: ~26 calls/hour ≈ 816 credits/day (≈ $0.08/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
- Funding can flip negative fast in a sell-off; the exit rule must run every interval.
- Exchange counterparty risk: spot and perp sit on one venue.
- A short squeeze can liquidate an under-margined short even though the book is hedged.
Educational example, not investment advice. Sample charts and figures are illustrative.
Keep exploring
Live screens, dashboards and the data behind this strategy.