Skip to content

Funding Income: full test results

1d barsPractice only (paper)Failed the test strategy id: carry

Spot long plus an equal perpetual short to collect funding when it is persistently positive. Needs futures; paper only.

Terms used here

Research only. Flivz trades spot only, so this strategy is not offered for bots or tests.

Not available for live trading. Needs futures (perpetual swaps), which are not offered for live trading yet; paper mode only.

Out-of-sample summary

CAGR

+3.4%

BTC +13.0%

CAGR at 3× costs

−0.7%

stress test

Sharpe

3.55

BTC 0.50

Max drawdown

−1.3%

BTC −76.6%

Average invested

35%

rest in stablecoin

Kill switch

Not fired

at 45% drawdown

Out-of-sample equity (growth of 1) against both benchmarks, with the underwater chart
Funding IncomeBTC buy & holdEqual weight of the top-N members Funding Income drawdown (computed from the curve)

The drawdown panel is computed from the strategy's curve: the fall from its previous high at each point. Curves are weekly points.

Show the numbers as a table
DateFunding IncomeBTC buy & holdEqual weight of the top-N membersFunding Income drawdown (computed from the curve)
2021-01-031.002×1.123×1.121×0.0%
2021-02-281.084×1.536×2.619×−0.1%
2021-04-251.159×1.670×3.406×0.0%
2021-06-201.166×1.212×2.637×−0.3%
2021-08-151.170×1.599×3.252×0.0%
2021-10-101.183×1.861×3.623×−0.1%
2021-12-051.205×1.682×3.398×−0.1%
2022-01-301.199×1.290×2.459×−0.6%
2022-03-271.199×1.594×2.882×−0.6%
2022-05-221.199×1.031×1.149×−0.6%
2022-07-171.199×0.708×0.877×−0.6%
2022-09-111.197×0.743×1.027×−0.8%
2022-11-061.197×0.712×0.991×−0.8%
2023-01-011.197×0.566×0.627×−0.8%
2023-02-261.197×0.802×1.011×−0.8%
2023-04-231.197×0.939×0.905×−0.8%
2023-06-181.197×0.897×0.650×−0.8%
2023-08-131.197×0.998×0.681×−0.8%
2023-10-081.197×0.950×0.597×−0.8%
2023-12-031.197×1.361×0.922×−0.8%
2024-01-281.197×1.431×1.001×−0.8%
2024-03-241.215×2.288×1.543×0.0%
2024-05-191.213×2.256×1.300×−0.4%
2024-07-141.212×2.070×1.037×−0.5%
2024-09-081.208×1.868×0.879×−0.8%
2024-11-031.208×2.341×0.965×−0.9%
2024-12-291.219×3.191×1.457×−0.1%
2025-02-231.218×3.277×1.081×−0.2%
2025-04-201.218×2.900×0.878×−0.2%
2025-06-151.218×3.595×1.004×−0.2%
2025-08-101.218×4.061×1.282×−0.2%
2025-10-051.218×4.204×1.209×−0.2%
2025-11-301.218×3.076×0.696×−0.2%
2026-01-251.218×2.950×0.560×−0.2%
2026-03-221.218×2.310×0.428×−0.2%
2026-05-171.218×2.637×0.462×−0.2%
2026-07-121.218×2.171×0.387×−0.2%
2026-09-061.218×2.735×0.484×−0.2%
2026-11-011.218×2.667×0.475×−0.2%
Return per calendar year, next to BTC buy & hold
Show the numbers as a table
YearFunding IncomeBitcoin
2021+20.5%+57.3%
2022−0.7%−64.2%
20230.0%+155.6%
2024+1.8%+121.3%
2025−0.1%−6.3%
20260.0%−31.0%

Bad stretches

2021+21%
2022−1%
20230%
2024+2%
20250%
20260%

Worst month: −0.6%.

Past performance, simulated or real, does not guarantee future results. These are backtests on historical data with modelled costs; live trading can and will differ. Crypto assets can lose most of their value.

What it does #

For each coin with a USDT perpetual, the bot annualises the average funding rate over a trailing window. When it exceeds an entry level it holds the coin on spot and an equal short on the perpetual (delta-neutral), and exits when funding decays below an exit level. Backtests use real funding history and both legs' fees and slippage.

Why it is disabled #

At three times the modelled costs it loses money out of sample, so it fails the enable rule. It also needs futures, which are not offered for live trading on this site.

When it fails #

  • Funding compresses or turns negative and no longer covers the costs.
  • The spot/perpetual price gap moves against the position on entry and exit.
  • The short leg needs margin and can be liquidated in a very sharp rally if collateral is not moved in time. The backtest assumes collateral is always sufficient, which flatters it.

All metrics next to BTC buy & hold

MetricFunding Incomeat 3× costsBTC buy & hold
CAGRCompound annual growth rate over the out-of-sample period, after costs. +3.4% −0.7% +13.0%
SharpeAnnualised return divided by annualised volatility (zero risk-free rate). 3.55 −0.57 0.50
Max drawdownThe worst fall from a previous high. −1.3% −13.8% −76.6%
VolatilityAnnualised volatility of daily returns. 1.0% 1.2% 56.7%
SortinoLike Sharpe, counting only downside volatility. 8.89 −0.79 0.73
CalmarCAGR divided by the size of the worst drawdown. 2.60 −0.05 0.17
Worst monthThe worst calendar month. −0.6% −2.1% −37.3%
Average investedAverage share of the account held in coins (the rest is stablecoin). 35.2% 35.2% 100.0%
Turnover / yearHow many times the account is traded over per year. 16.71 16.71 0.17
CostsFees and slippage paid, as a share of the starting equity. 14.3% 38.0% 0.1%

Parameters

The defaults are the registry's current choices. Change them for a paper bot or a backtest; results with your own parameters are not out-of-sample results.

NameTypeDefaultRangeMeaning
symbolsarray<string> BTC/USDT, ETH/USDT, BNB/USDT, SOL/USDT, XRP/USDT, ADA/USDT, DOGE/USDT, AVAX/USDT, LINK/USDT, LTC/USDT, DOT/USDT, TRX/USDT, BCH/USDT, ATOM/USDT, MATIC/USDT – Spot symbols (ccxt unified, e.g. BTC/USDT).
excludearray<string> – Coins never traded (spot symbols, e.g. DOGE/USDT): removed from `symbols` and from the dynamic universe before ranking, so the next coin by volume takes the place. BTC still feeds the BTC rules when it is excluded from trading.
window_daysinteger 21 1 – 90 Trailing funding window (days).
entry_aprnumber 0.1 0.0 – 2.0 Enter when trailing funding, annualized, exceeds this (gross of costs).
exit_aprnumber 0.05 -1.0 – 2.0 Exit when trailing annualized funding falls below this.
max_pairsinteger 5 1 – 20 Max coins held at once (highest funding first).
max_pair_capitalnumber 0.34 0.05 – 1.0 Max equity per coin pair (split half spot, half perp short).

Every trial of this research

Each parameter set that was tried, with its own out-of-sample Sharpe ratio (balanced profile, modelled costs). All of them count in the deflated Sharpe above.

ConfigurationParametersOOS Sharpe
carry fixed-15{"entry_apr": 0.1, "window_days": 7}1.85
carry fixed-15{"entry_apr": 0.1, "window_days": 21}3.90
carry fixed-15{"entry_apr": 0.2, "window_days": 7}3.37
carry fixed-15{"entry_apr": 0.2, "window_days": 21}4.19

Past performance, simulated or real, does not guarantee future results. These are backtests on historical data with modelled costs; live trading can and will differ. Crypto assets can lose most of their value.