Basics
mode: spot
timeframe: 15m
interface version: 3
Settings
stoploss: -0.3604
has minimal roi
process only new candles: false
startup candle count: 30
Indicators
Bollinger_Bands
RSI
talib
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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 | # pragma pylint: disable=missing-docstring, invalid-name, pointless-string-statement # isort: skip_file # --- Do not remove these libs --- import numpy as np # noqa import pandas as pd # noqa from pandas import DataFrame from freqtrade.strategy.interface import IStrategy # -------------------------------- # Add your lib to import here import talib.abstract as ta import freqtrade.vendor.qtpylib.indicators as qtpylib class BBRSIStrategy(IStrategy): # Strategy interface version - allow new iterations of the strategy interface. # Check the documentation or the Sample strategy to get the latest version. INTERFACE_VERSION = 3 # Minimal ROI designed for the strategy. # This attribute will be overridden if the config file contains "minimal_roi". minimal_roi = {'0': 0.21547444718127343, '21': 0.054918778723794665, '48': 0.013037720775643222, '125': 0} # Optimal stoploss designed for the strategy. # This attribute will be overridden if the config file contains "stoploss". stoploss = -0.3603667187598833 # Trailing stoploss trailing_stop = False # trailing_only_offset_is_reached = False # trailing_stop_positive = 0.01 # trailing_stop_positive_offset = 0.0 # Disabled / not configured # Optimal ticker interval for the strategy. timeframe = '15m' # Run "populate_indicators()" only for new candle. process_only_new_candles = False # These values can be overridden in the "ask_strategy" section in the config. use_exit_signal = True exit_profit_only = False ignore_roi_if_entry_signal = False # Number of candles the strategy requires before producing valid signals startup_candle_count: int = 30 # Optional order type mapping. order_types = {'entry': 'limit', 'exit': 'limit', 'stoploss': 'market', 'stoploss_on_exchange': False} # Optional order time in force. order_time_in_force = {'entry': 'gtc', 'exit': 'gtc'} # plot_config = { # 'main_plot': { # 'tema': {}, # 'sar': {'color': 'white'}, # }, # 'subplots': { # "MACD": { # 'macd': {'color': 'blue'}, # 'macdsignal': {'color': 'orange'}, # }, # "RSI": { # 'rsi': {'color': 'red'}, # } # } # } def informative_pairs(self): """ Define additional, informative pair/interval combinations to be cached from the exchange. These pair/interval combinations are non-tradeable, unless they are part of the whitelist as well. For more information, please consult the documentation :return: List of tuples in the format (pair, interval) Sample: return [("ETH/USDT", "5m"), ("BTC/USDT", "15m"), ] """ return [] def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame: # RSI dataframe['rsi'] = ta.RSI(dataframe) # Bollinger bands bollinger_1sd = qtpylib.bollinger_bands(qtpylib.typical_price(dataframe), window=20, stds=1) dataframe['bb_upperband_1sd'] = bollinger_1sd['upper'] dataframe['bb_lowerband_1sd'] = bollinger_1sd['lower'] bollinger_4sd = qtpylib.bollinger_bands(qtpylib.typical_price(dataframe), window=20, stds=4) dataframe['bb_lowerband_4sd'] = bollinger_4sd['lower'] return dataframe def populate_entry_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe.loc[(dataframe['rsi'] > 25) & (dataframe['close'] < dataframe['bb_lowerband_1sd']), 'enter_long'] = 1 return dataframe def populate_exit_trend(self, dataframe: DataFrame, metadata: dict) -> DataFrame: dataframe.loc[(dataframe['rsi'] > 95) & (dataframe['close'] > dataframe['bb_upperband_1sd']), 'exit_long'] = 1 return dataframe |
Strategy League — fixed backtest that feeds the ranking
Export report Freqtrade logsRun finished · took 214.8s
pairs 33 pairs
timerange 20210101-20260101
mode spot
timeframe 15m
stake 100 USDT
wallet 1000 USDT
max open trades 10
fee exchange lowest tier
total profit-47.01%
final wallet530 USDT
win rate69.5%
max drawdown-75.89%
market change+457.08%
vs market-504.09%
timeframe15m
profit factor0.94
expectancy ratio-0.017
break-even fee0.0845%
sharpe-1.083
sortino-0.63
CAGR-11.9%
calmar-0.648
avg MFE+1.50%
avg MAE-2.94%
avg profit/trade-0.03%
avg duration26h 19m
best trade+21.55%
worst trade-36.16%
win/loss streak34 / 9
positive months26/61
consistent (3-mo)35.6%
worst 3-mo-60.16%
trades15271
revision1
likely annual return-12%
range (5th–95th)-24% … +2%
chance of profit8.3%
worst-5% outcome-27%
significance (p)0.7981
risk of ruin0.0%
- profit isn't statistically significant (p=0.80) — hard to tell apart from luck
- only 8% of resampled runs were profitable
- profitable in only 36% of rolling 3-month windows
- did not beat simply holding the market
- very deep drawdown (-76%)
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 |
|---|---|---|---|---|---|---|---|---|---|
| Jan 2026 | bullish trending low vol | 6 | -7.95 | -13.24 | 0 | 6 | 0.0 | -75.89 | 1190h 18m |
| Dec 2025 | bearish trending low vol | 33 | -6.43 | -1.95 | 22 | 11 | 66.7 | -72.28 | 64h 14m |
| Nov 2025 | bearish trending high vol | 124 | -10.15 | -0.82 | 70 | 54 | 56.5 | -70.07 | 36h 56m |
| Oct 2025 | bearish trending low vol | 109 | -18.25 | -1.68 | 74 | 35 | 67.9 | -67.36 | 101h 27m |
| Sep 2025 | bullish choppy low vol | 30 | -2.69 | -0.89 | 20 | 10 | 66.7 | -56.54 | 78h 26m |
| Aug 2025 | bullish choppy low vol | 58 | +1.78 | 0.31 | 39 | 19 | 67.2 | -56.01 | 47h 51m |
| Jul 2025 | bullish choppy low vol | 211 | +8.18 | 0.39 | 148 | 63 | 70.1 | -59.73 | 58h 08m |
| Jun 2025 | bearish choppy low vol | 104 | -8.21 | -0.79 | 66 | 38 | 63.5 | -60.83 | 38h 43m |
| May 2025 | bullish trending low vol | 216 | +8.22 | 0.38 | 139 | 77 | 64.4 | -59.74 | 36h 10m |
| Apr 2025 | bullish choppy low vol | 174 | -11.19 | -0.64 | 116 | 58 | 66.7 | -62.81 | 32h 43m |
| Mar 2025 | bearish trending high vol | 70 | -8.32 | -1.19 | 55 | 15 | 78.6 | -55.47 | 45h 08m |
| Feb 2025 | bearish trending low vol | 152 | -27.32 | -1.80 | 106 | 46 | 69.7 | -51.58 | 35h 31m |
| Jan 2025 | bearish choppy low vol | 236 | -2.53 | -0.11 | 163 | 73 | 69.1 | -39.28 | 32h 45m |
| Dec 2024 | bullish trending low vol | 286 | -2.56 | -0.09 | 200 | 86 | 69.9 | -38.28 | 15h 20m |
| Nov 2024 | bullish trending low vol | 625 | +31.67 | 0.51 | 467 | 158 | 74.7 | -52.17 | 18h 47m |
| Oct 2024 | bullish choppy low vol | 90 | +3.01 | 0.33 | 54 | 36 | 60.0 | -51.89 | 100h 56m |
| Sep 2024 | bearish choppy low vol | 185 | +4.66 | 0.25 | 112 | 73 | 60.5 | -54.01 | 25h 58m |
| Aug 2024 | bearish choppy high vol | 312 | -11.76 | -0.38 | 203 | 109 | 65.1 | -60.12 | 36h 31m |
| Jul 2024 | bearish trending low vol | 229 | -4.44 | -0.19 | 151 | 78 | 65.9 | -51.56 | 33h 20m |
| Jun 2024 | bearish choppy low vol | 81 | -4.24 | -0.52 | 57 | 24 | 70.4 | -47.12 | 58h 09m |
| May 2024 | bullish choppy high vol | 146 | +3.57 | 0.24 | 91 | 55 | 62.3 | -46.34 | 26h 11m |
| Apr 2024 | bearish choppy high vol | 140 | -24.83 | -1.77 | 90 | 50 | 64.3 | -47.95 | 45h 29m |
| Mar 2024 | bullish trending high vol | 291 | +12.11 | 0.42 | 202 | 89 | 69.4 | -40.55 | 19h 47m |
| Feb 2024 | bullish trending low vol | 249 | +9.67 | 0.39 | 174 | 75 | 69.9 | -44.95 | 38h 32m |
| Jan 2024 | bearish choppy high vol | 166 | -1.34 | -0.08 | 104 | 62 | 62.7 | -46.06 | 19h 32m |
| Dec 2023 | bullish trending low vol | 495 | +20.57 | 0.42 | 362 | 133 | 73.1 | -53.7 | 16h 00m |
| Nov 2023 | bullish trending low vol | 406 | +13.90 | 0.34 | 283 | 123 | 69.7 | -60.02 | 34h 52m |
| Oct 2023 | bullish trending low vol | 120 | +4.20 | 0.35 | 88 | 32 | 73.3 | -61.93 | 66h 58m |
| Sep 2023 | bearish choppy low vol | 13 | +0.14 | 0.11 | 12 | 1 | 92.3 | -61.99 | 125h 09m |
| Aug 2023 | bearish choppy low vol | 11 | -18.09 | -16.44 | 1 | 10 | 9.1 | -62.0 | 545h 52m |
| Jul 2023 | bullish trending low vol | 90 | +3.37 | 0.37 | 58 | 32 | 64.4 | -55.3 | 37h 43m |
| Jun 2023 | bullish trending low vol | 65 | -16.45 | -2.53 | 37 | 28 | 56.9 | -56.04 | 211h 35m |
| May 2023 | bearish choppy low vol | 14 | -3.56 | -2.54 | 7 | 7 | 50.0 | -47.84 | 145h 21m |
| Apr 2023 | bullish trending low vol | 128 | +3.43 | 0.27 | 70 | 58 | 54.7 | -47.74 | 39h 49m |
| Mar 2023 | bullish trending high vol | 215 | -6.46 | -0.30 | 138 | 77 | 64.2 | -51.26 | 29h 09m |
| Feb 2023 | bullish trending low vol | 256 | +6.23 | 0.24 | 172 | 84 | 67.2 | -47.59 | 16h 24m |
| Jan 2023 | bullish trending low vol | 578 | +18.99 | 0.33 | 395 | 183 | 68.3 | -56.68 | 21h 49m |
| Dec 2022 | bearish trending low vol | 66 | -12.99 | -1.97 | 45 | 21 | 68.2 | -56.37 | 67h 40m |
| Nov 2022 | bearish trending high vol | 289 | -9.48 | -0.33 | 202 | 87 | 69.9 | -52.64 | 18h 27m |
| Oct 2022 | bullish choppy low vol | 278 | -3.31 | -0.12 | 186 | 92 | 66.9 | -49.72 | 36h 04m |
| Sep 2022 | bearish choppy high vol | 132 | -2.48 | -0.19 | 89 | 43 | 67.4 | -46.2 | 41h 07m |
| Aug 2022 | bullish choppy high vol | 227 | -3.28 | -0.14 | 169 | 58 | 74.4 | -43.49 | 24h 00m |
| Jul 2022 | bearish trending high vol | 356 | +20.10 | 0.56 | 256 | 100 | 71.9 | -51.08 | 19h 32m |
| Jun 2022 | bearish trending high vol | 269 | -21.39 | -0.80 | 174 | 95 | 64.7 | -56.02 | 25h 56m |
| May 2022 | bearish trending high vol | 309 | -26.34 | -0.85 | 213 | 96 | 68.9 | -47.75 | 30h 44m |
| Apr 2022 | bearish choppy high vol | 96 | -12.43 | -1.29 | 58 | 38 | 60.4 | -29.36 | 32h 36m |
| Mar 2022 | bullish choppy high vol | 447 | +18.03 | 0.40 | 291 | 156 | 65.1 | -31.91 | 17h 32m |
| Feb 2022 | bearish trending high vol | 355 | -5.63 | -0.16 | 243 | 112 | 68.5 | -34.76 | 17h 12m |
| Jan 2022 | bearish trending high vol | 160 | -28.13 | -1.76 | 108 | 52 | 67.5 | -32.44 | 55h 44m |
| Dec 2021 | bearish trending high vol | 339 | -10.56 | -0.31 | 234 | 105 | 69.0 | -24.32 | 18h 58m |
| Nov 2021 | bullish trending high vol | 260 | -2.42 | -0.09 | 165 | 95 | 63.5 | -12.41 | 25h 55m |
| Oct 2021 | bullish trending high vol | 302 | +12.25 | 0.41 | 201 | 101 | 66.6 | -16.22 | 23h 57m |
| Sep 2021 | bearish trending high vol | 402 | -6.68 | -0.17 | 286 | 116 | 71.1 | -18.35 | 16h 19m |
| Aug 2021 | bullish trending high vol | 672 | +33.84 | 0.50 | 485 | 187 | 72.2 | -28.52 | 7h 43m |
| Jul 2021 | bearish trending high vol | 325 | +2.56 | 0.08 | 230 | 95 | 70.8 | -33.44 | 21h 13m |
| Jun 2021 | bearish trending high vol | 346 | -20.16 | -0.58 | 247 | 99 | 71.4 | -35.0 | 19h 04m |
| May 2021 | bearish trending high vol | 577 | -33.80 | -0.59 | 432 | 145 | 74.9 | -28.83 | 12h 00m |
| Apr 2021 | bearish choppy high vol | 530 | +6.11 | 0.11 | 381 | 149 | 71.9 | -9.13 | 14h 49m |
| Mar 2021 | bullish choppy high vol | 330 | +15.29 | 0.46 | 235 | 95 | 71.2 | -6.81 | 18h 46m |
| Feb 2021 | bullish trending high vol | 721 | +30.27 | 0.42 | 554 | 167 | 76.8 | -11.91 | 8h 01m |
| Jan 2021 | bullish trending high vol | 769 | +56.71 | 0.74 | 582 | 187 | 75.7 | -5.41 | 7h 25m |
Yearly breakdown
| Year | Trades | Profit % | Avg % | Win | Loss | Win % | DD % | Avg dur |
|---|---|---|---|---|---|---|---|---|
| 2026 | 6 | -7.95 | -13.24 | 0 | 6 | 0.0 | -75.89 | 1190h 18m |
| 2025 | 1517 | -76.91 | -0.51 | 1018 | 499 | 67.1 | -72.28 | 45h 28m |
| 2024 | 2800 | +15.52 | 0.06 | 1905 | 895 | 68.0 | -60.12 | 29h 29m |
| 2023 | 2391 | +26.27 | 0.11 | 1623 | 768 | 67.9 | -62.0 | 35h 35m |
| 2022 | 2984 | -87.33 | -0.29 | 2034 | 950 | 68.2 | -56.37 | 26h 51m |
| 2021 | 5573 | +83.41 | 0.15 | 4032 | 1541 | 72.3 | -35.0 | 14h 01m |
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 | |
|---|---|---|---|
| 31 | review | unthrottled_candle_processing | process_only_new_candles is False, so populate_indicators/populate_entry_trend/populate_exit_trend re-run every throttle_secs (default 5s) even though their inputs -- closed candles -- haven't changed since the last run. This wastes CPU without changing any value; if the goal is order-book-level checks, put that logic in confirm_trade_entry/custom_exit instead, which already run every loop |
ran by Ron · took s
Lookahead analysis
freqtrade lookahead-analysis: detects strategies peeking at future candles.