Skip to content

Range Trader: full test results

4h barsPractice only (paper)Failed the test strategy id: grid

Buys a step lower and sells a step higher inside a price range, pausing when price leaves it. Loses after costs; paper only.

The plain-language page for Range Trader · Terms used here

Not available for live trading. Disabled for live trading by the out-of-sample research: Disabled: OOS CAGR -2.4% <= 0 after costs; OOS CAGR at 3x costs -8.1% <= 0; OOS Sharpe -0.22 < 0.5. (fixed 15-coin list) Paper mode only.

Out-of-sample summary

CAGR

−2.4%

BTC +13.0%

CAGR at 3× costs

−8.1%

stress test

Sharpe

−0.22

BTC 0.50

Max drawdown

−26.4%

BTC −76.6%

Average invested

7%

rest in stablecoin

Kill switch

Not fired

at 45% drawdown

Out-of-sample equity (growth of 1) against both benchmarks, with the underwater chart
Range TraderBTC buy & holdEqual weight of the top-N members Range Trader 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
DateRange TraderBTC buy & holdEqual weight of the top-N membersRange Trader drawdown (computed from the curve)
2021-01-031.000×1.123×1.121×0.0%
2021-02-281.064×1.536×2.619×−5.4%
2021-04-251.127×1.670×3.406×0.0%
2021-06-201.002×1.212×2.637×−11.1%
2021-08-151.015×1.599×3.252×−9.9%
2021-10-101.030×1.861×3.623×−8.7%
2021-12-050.991×1.682×3.398×−12.1%
2022-01-300.983×1.290×2.459×−12.8%
2022-03-270.987×1.594×2.882×−12.5%
2022-05-220.934×1.031×1.149×−17.2%
2022-07-170.933×0.708×0.877×−17.2%
2022-09-110.909×0.743×1.027×−19.4%
2022-11-060.915×0.712×0.991×−18.9%
2023-01-010.889×0.566×0.627×−21.2%
2023-02-260.876×0.802×1.011×−22.3%
2023-04-230.849×0.939×0.905×−24.7%
2023-06-180.851×0.897×0.650×−24.5%
2023-08-130.838×0.998×0.681×−25.7%
2023-10-080.843×0.950×0.597×−25.2%
2023-12-030.868×1.361×0.922×−23.0%
2024-01-280.855×1.431×1.001×−24.1%
2024-03-240.885×2.288×1.543×−21.5%
2024-05-190.879×2.256×1.300×−22.1%
2024-07-140.862×2.070×1.037×−23.6%
2024-09-080.847×1.868×0.879×−24.8%
2024-11-030.863×2.341×0.965×−23.5%
2024-12-290.858×3.191×1.457×−23.9%
2025-02-230.846×3.277×1.081×−25.0%
2025-04-200.841×2.900×0.878×−25.4%
2025-06-150.853×3.595×1.004×−24.3%
2025-08-100.858×4.061×1.282×−23.9%
2025-10-050.869×4.204×1.209×−22.9%
2025-11-300.851×3.076×0.696×−24.6%
2026-01-250.862×2.950×0.560×−23.5%
2026-03-220.862×2.310×0.428×−23.5%
2026-05-170.862×2.637×0.462×−23.6%
2026-07-120.853×2.171×0.387×−24.3%
2026-09-060.881×2.735×0.484×−21.8%
2026-11-010.868×2.667×0.475×−23.0%
2026-11-290.868×2.058×0.348×−23.0%
Return per calendar year, next to BTC buy & hold
Show the numbers as a table
YearRange TraderBitcoin
2021−1.7%+57.3%
2022−9.6%−64.2%
2023−0.6%+155.6%
2024−2.8%+121.3%
2025−1.3%−6.3%
2026+2.4%−31.0%

Bad stretches

2021−2%
2022−10%
2023−1%
2024−3%
2025−1%
2026+2%

Worst month: −11.3%.

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 #

Between a lower and an upper bound with a number of levels, the invested share rises one level for each level the price falls and drops one level for each level it rises: a classic grid. Bounds are either fixed (one coin) or rolling (the high and low of a recent window). When a close leaves the range, or the price is below its long average, the grid sells and waits before re-arming.

Why it is disabled #

It loses money out of sample even at the modelled costs, and more at three times the costs.

When it fails #

  • The classic grid blow-up: the price leaves the range downwards and the grid ends fully invested in a falling coin. The auto-pause turns that into a realised loss instead.
  • Breakouts upwards leave it in cash.
  • Many small trades pay many fees.

All metrics next to BTC buy & hold

MetricRange Traderat 3× costsBTC buy & hold
CAGRCompound annual growth rate over the out-of-sample period, after costs. −2.4% −8.1% +13.0%
SharpeAnnualised return divided by annualised volatility (zero risk-free rate). −0.22 −1.02 0.50
Max drawdownThe worst fall from a previous high. −26.4% −45.0% −76.6%
VolatilityAnnualised volatility of daily returns. 9.1% 8.0% 56.7%
SortinoLike Sharpe, counting only downside volatility. −0.29 −1.22 0.73
CalmarCAGR divided by the size of the worst drawdown. −0.09 −0.18 0.17
Worst monthThe worst calendar month. −11.3% −12.3% −37.3%
Average investedAverage share of the account held in coins (the rest is stablecoin). 7.4% 3.8% 100.0%
Turnover / yearHow many times the account is traded over per year. 36.64 18.89 0.17
CostsFees and slippage paid, as a share of the starting equity. 29.4% 40.9% 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 – Spot symbols; capital is split equally.
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.
levelsinteger 10 2 – 100 Number of grid levels.
lowernumber, may be empty empty 0.0 – Fixed lower bound (single symbol only). Null = rolling range.
uppernumber, may be empty empty 0.0 – Fixed upper bound (single symbol only). Null = rolling range.
range_barsinteger 180 10 – 5000 Rolling mode: bounds = low/high of the last range_bars at (re)arm time.
trend_barsinteger 300 10 – 5000 Pause while close < SMA(trend_bars).
cooldown_barsinteger 42 0 – 5000 Bars to wait after a breakout pause.

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
grid fixed-15{"levels": 10, "range_bars": 180}−0.13
grid fixed-15{"levels": 10, "range_bars": 90}−0.27
grid fixed-15{"levels": 5, "range_bars": 180}−0.14
grid fixed-15{"levels": 5, "range_bars": 90}−0.35

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.