Basics
mode: spot
timeframe: 5m
interface version: 3
Settings
stoploss: -0.08
has minimal roi
startup candle count: 30
Indicators
RSI
talib
Methods
confirm_trade_entry
15 related strategies (⧉ identical code, ≈ similar name)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 | from datetime import datetime import talib.abstract as ta from pandas import DataFrame from freqtrade.strategy import IStrategy class DryRunRsiStrategy(IStrategy): """Conservative dry-run RSI example for deployment smoke tests.""" INTERFACE_VERSION = 3 timeframe = "5m" startup_candle_count = 30 can_short = False minimal_roi = { "0": 0.03, "60": 0.015, "120": 0 } stoploss = -0.08 trailing_stop = False def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe["rsi"] = ta.RSI(dataframe, timeperiod=14) return dataframe def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe.loc[ ( (dataframe["rsi"] < 30) & (dataframe["volume"] > 0) ), "enter_long", ] = 1 return dataframe def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe.loc[ ( (dataframe["rsi"] > 70) & (dataframe["volume"] > 0) ), "exit_long", ] = 1 return dataframe def confirm_trade_entry( self, pair: str, order_type: str, amount: float, rate: float, time_in_force: str, current_time: datetime, entry_tag: str | None, side: str, **kwargs, ) -> bool: return amount > 0 and rate > 0 |
Strategy League — fixed backtest that feeds the ranking
Export report Freqtrade logsRun finished · took 317.8s
pairs 33 pairs
timerange 20210101-20260101
mode spot
timeframe 5m
stake 100 USDT
wallet 1000 USDT
max open trades 10
fee exchange lowest tier
total profit-90.61%
final wallet94 USDT
win rate69.3%
max drawdown-93.44%
market change+451.55%
vs market-542.16%
timeframe5m
profit factor0.85
expectancy ratio-0.045
break-even fee0.0155%
sharpe-2.829
sortino-2.418
CAGR-37.7%
calmar-1.015
avg MFE+2.16%
avg MAE-3.00%
avg profit/trade-0.17%
avg duration2h 37m
best trade+3.05%
worst trade-8.18%
win/loss streak40 / 38
positive months3/9
consistent (3-mo)14.3%
worst 3-mo-104.47%
trades5376
revision1
likely annual return-97%
range (5th–95th)-99% … -90%
chance of profit0.0%
worst-5% outcome-99%
significance (p)1.0
risk of ruin0.0%
- profit isn't statistically significant (p=1.00) — hard to tell apart from luck
- only 0% of resampled runs were profitable
- profitable in only 14% of rolling 3-month windows
- did not beat simply holding the market
- very deep drawdown (-93%)
Resampling the trade sequence 2,000× shows the spread of results this edge could plausibly produce — separating a dependable strategy from one that got lucky once.
Loading charts…
Monthly breakdown
| Month | Regime | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|---|
| Sep 2021 | bearish trending high vol | 69 | -10.80 | -1.56 | 39 | 30 | 56.5 | -93.44 | 2h 13m |
| Aug 2021 | bullish trending high vol | 142 | +2.27 | 0.16 | 98 | 44 | 69.0 | -87.42 | 3h 52m |
| Jul 2021 | bearish trending high vol | 102 | -1.58 | -0.15 | 66 | 36 | 64.7 | -89.56 | 4h 38m |
| Jun 2021 | bearish trending high vol | 186 | -8.22 | -0.44 | 129 | 57 | 69.4 | -86.97 | 3h 51m |
| May 2021 | bearish trending high vol | 939 | -87.84 | -0.94 | 578 | 361 | 61.6 | -84.33 | 1h 58m |
| Apr 2021 | bearish choppy high vol | 1002 | -8.41 | -0.08 | 708 | 294 | 70.7 | -28.0 | 2h 25m |
| Mar 2021 | bullish choppy high vol | 835 | +16.63 | 0.20 | 591 | 244 | 70.8 | -22.92 | 3h 35m |
| Feb 2021 | bullish trending high vol | 1068 | -9.43 | -0.09 | 752 | 316 | 70.4 | -23.74 | 2h 15m |
| Jan 2021 | bullish trending high vol | 1033 | +16.77 | 0.16 | 767 | 266 | 74.2 | -13.84 | 2h 26m |
Trade charts — best 2 and worst 2 performing pairs (full OHLC candles are expensive to render for every pair)
Backtests — over a market period
Backtest this strategy over a chosen crypto-cycle period. These don't affect the League ranking, and need that period's candle data downloaded.
Log in or sign up to run backtests.
| Period | Range | Total % | Win % | Max DD | Trades | |
|---|---|---|---|---|---|---|
| 2020 · DeFi Summer & Pre-Halving Rally | 20200101-20210101 | not run | ||||
| 2021 · Institutional Bull Market | 20210101-20220101 | not run | ||||
| 2022 · Post-Bull Crash & Macro Tightening | 20220101-20230101 | not run | ||||
| 2023–2024 · Recovery & ETF Anticipation | 20230101-20250101 | not run | ||||
| 2025–2026 · Current Cycle | 20250101-20260101 | not run | ||||
Walk forward
Out-of-sample backtest on recent data · 33 pairs · 20260101-20260701.
Backtest trust check
no lookahead patterns · 1 thing(s) worth reviewing before trusting the numbers
| Line | Pattern | Detail | |
|---|---|---|---|
| 15 | review | startup_candles_too_small | startup_candle_count is 30, but RSI(timeperiod=14) needing 8x warmup needs at least 112 candles -- so the first 82+ candles of every backtest use an indicator that hasn't warmed up. Recursive indicators (EMA/RSI/ADX/ATR) want several times their period, not exactly it |
ran by Ron · took s
Lookahead analysis
freqtrade lookahead-analysis: detects strategies peeking at future candles.