Help ›

Strategy Lab: Signal Backtest

The Signal Backtest is the Strategy Lab, powered by the Khwarizmi engine. It replays a buy signal over past candles: "what if I had bought every time RSI fell below 30, and sold 10 % higher or 5 % lower?" A rule that holds up can be saved as a strategy for the Trading Bot.

Admins only for now. The Signal Backtest and the Trading Bot pages (Trading Strategies, Ready Strategies, Paper Bot, Demo Bot, Live Bot, Transactions, Risk Control) open only for admins at the moment. On Free and Pro they show a locked card, and the menu marks them with a small lock. The Pro parts of Symbol Anatomy stay part of Pro.

Set it up

The options are four numbered steps, one card each: 1 What to test (the assets, the time frame and the dates), 2 When to buy (the rule and its filters), 3 When to sell (the target, the stop and the time limit) and 4 How much, and what it costs (fees, costs, size and the one account), one under the other, each in its own color (blue, green, red, amber). Click a step's title bar, or the arrow at its right, to fold it to one line that shows its choices (e.g. Binance · Spot · BTC/USDT · 1 hour); click again to open it. Every section of the result folds the same way, and the page remembers which ones you folded. Every setting is a row: its name on the left, the box on the right and one grey line under it on what it does (point at the name for more). The settings few people need are folded under More: filters and how the buy is placed and More ways to sell - click to open them. A blue bar on a box's left edge means you changed that setting from the page's start, so you can see at a glance what differs; your settings are kept for next time as before. A rotation (step 2, Strategy) shows its own step 3 instead. When the test is done, step 5, Next: start it on paper, sits under its first numbers.

What every setting does:

  1. Market: Spot (the default) buys the coin itself. Futures (perpetual) tests Binance's USDT perpetual contracts instead - the ones trading today, on their own candles: every time frame from 1m to 1W, from 1 January 2022 (the newest day or two arrive a day late). The minute time frames (1m to 30m) come from Binance's 1-minute futures archive, which is still being loaded contract by contract, the biggest first: an asset whose minutes are not loaded yet is named under the result as having no candles in the period. Two things change. The fee: 0.05 % per side by default (Binance's futures fee; spot 0.1 %) - a fee you typed yourself is kept when you switch. And the funding: every 8 hours (00:00, 08:00 and 16:00 UTC) the holders of a perpetual pay each other its funding rate. When the rate is above 0 a long pays it and a short receives it; below 0 it is the other way round. Each trade pays or receives every funding between its buy and the start of the candle it sells in, as a % of its size. The line under the result says how much a trade paid or received on average. Example: a long held 3 days while the rate is 0.01 % pays about 9 x 0.01 = 0.09 %. Shorts on futures receive that instead, which is why shorts are tested here. A rotation on futures holds the perpetuals and pays the funding of each one it holds, from the day it buys to the day it sells. Not yet with futures: the spread limit and liquidation conditions (they use spot data). A futures strategy on one asset, on 1H to 1W, long or short, can be saved (when switched on): the Trading Bot runs it on paper on the asset's perpetual - see Futures on paper. Not saved yet: futures over many assets, on 1m to 30m, or with a limit entry.
  2. Assets: one asset, one of your watchlists, or the top 10 / 20 / 50 / 100 by 24 h volume. Backtest this asset on Symbol Anatomy opens this page with that asset filled in.
  3. Time frame and period: 1H, 2H, 4H, 6H and 12H (back to 1 January 2022 for the Binance assets we follow; about a year for the others), 1D and 3D (back to 2017) or 1W. 2H, 6H and 12H are made from the hourly candles (a 6H candle runs 00:00-06:00, 06:00-12:00 ... UTC), 3D from the daily ones: a 3D candle starts every third day counted from 1 January 1970, so it may not line up with the 3D candles of another chart site. For intraday ideas also the short time frames 1m, 2m, 3m, 4m, 5m, 6m, 8m, 10m, 12m, 15m, 20m and 30m (lower-case m = minutes; 5m, 15m and 30m are stored, the others are added up from the 1m candles when read): the last 14 days for every Binance asset we follow, and further back, to 2022, for the assets whose minute history has been loaded. A short test may load at most 60,000 candles per asset, warm-up included - about 41 days of 1m, 124 days of 3m, 207 days of 5m, 1.7 years of 15m or 3.4 years of 30m; a longer period is refused with the longest one allowed. A test on a short time frame can be run, but not saved as a strategy yet: the Trading Bot looks at the market every 30 seconds, not at the close of every candle.
  4. Rule - when to buy: RSI above / below, crossing up / down a moving average, moving up / down X % within N candles, relative volume above X. The same maths as the live alerts. Unusual move up / down (x normal) judges the move by the coin's own volatility: 8 means the price moved 8 times as much as it usually does in N candles (its usual move is measured over the 96 candles before). A 3 % fall is a big event for a calm coin and noise for a wild one; this rule sees the difference, "moving down 3 %" does not. Example: Unusual move down, 8 x normal in 8 candles on 15m buys after a 2-hour crash; such moves are rare (a few a year for a large coin). And also adds up to 3 more conditions: the signal then comes only on the candle where all of them become true together - e.g. RSI below 30 and relative volume above 2, a dip that comes with heavy trading. A saved strategy keeps them and trades them the same way on paper.
  5. Intraday rules - for time frames shorter than 1D (all times UTC):
    • Crossing up / down VWAP - the close goes above / below the day's average price weighted by volume. VWAP from hour 0 = the UTC day's VWAP; another hour starts it there each day (13 = since the US session opened).
    • Opening range breakout up / down - the close goes above the high / below the low of the first N minutes of the UTC day (e.g. 60: the 00:00-01:00 range). Needs at least one candle (60 on a 1H test).
    • Taker buy % above / below - the share of the volume bought with market orders over the last N candles (1 when empty). 50 = as much bought as sold; e.g. above 60 over 4 candles = buyers in a hurry. Time frames 1m to 12H.
    • Day's net buying / selling % above - since 00:00 UTC, the volume bought minus the volume sold with market orders, as % of the day's volume (e.g. net buying above 10). Time frames 1m to 12H.
    • Long / short liquidations above (USD) - futures positions of the asset force-closed on every exchange within the last N candles: long liquidations are forced sales (a flush that often marks a short-term low), short ones forced buys. Recorded only since 2 October 2026, so test them on recent weeks; before that no signal is taken.
  6. Crowded-trade conditions - how the asset's futures market leans, read from its Binance perpetual contract as it was when the candle closed (any time frame, from 2022; an asset without a perpetual never gives the signal). They are the usual signs of a crowded trade that may snap back:
    • Funding % above / below - the last funding rate: above 0, long holders pay shorts; 0.01 is the usual rate, 0.05 or more an overheated market (many buyers with borrowed money). Below 0 (e.g. at most -0.01) shorts pay: a crowded short.
    • Long / short ratio above / below - Binance accounts holding longs per account holding shorts (1 = even, 3 = three times as many long).
    • Open interest 24h change % above / below - the money in open futures positions now against a day before: e.g. above 15 = fresh bets piling in; below -15 = positions being closed in a hurry.
    • Futures premium % above / below - how much dearer the futures are than spot (e.g. at least 0.05; below 0 = futures cheaper, sellers pressing).
    Example: Market Futures, Direction Short, Funding % above 0.05 - sell when funding overheats. They work as an And also condition too (RSI above 70 and funding above 0.05). A strategy with one is saved on the Futures market only (when switched on); the futures premium conditions are tests only: the premium is known only a day later, too late for the Trading Bot.
  7. Order book, BTC-first, open interest flush and big trades conditions (in the rule list) - more conditions from data few traders have:
    • Order book bid share % above / below - of the asset's Binance perpetual: the money waiting to buy within 1 % of the price, as a share of all the money waiting (buy and sell), averaged over the candle (from 2023). 50 = even; most minutes are between 47 and 58; e.g. at least 60 = buyers lining up. Over N candles averages the last N.
    • BTC up first, coin not yet (%) (and down) - BTC moved at least the level (e.g. 1 %) over the last N candles while the asset moved less than half of that: altcoins often follow BTC a few minutes later. Never true on BTC itself.
    • Open interest flush, price down (%) (and price up) - the open bets on the asset's Binance perpetual fell at least the level (e.g. 2 %) over the last N candles while the price fell (or rose): the trace of a liquidation cascade, when traders are forced out of their bets at once. Price down = buyers forced to sell; price up = sellers forced to buy back. From 2022; time frames 5m, 15m, 30m, 1H and 4H.
    • Big trades net buying above (USD) (and net selling) - on the asset's Binance spot pair, the money bought at the market by trades of $100,000 or more each, minus the money sold by them, added up over the last N candles, is at least the level. Example: 2,000,000 over 15 candles on 1m = big buyers took at least $2 million more than big sellers in 15 minutes. Known only where the asset's trades are kept: the last 7 days of every asset, and about a year of the 15 biggest assets.
    Time frames 1m to 30m, 1H and 4H. Tests only for now: a strategy with one cannot be saved yet.
  8. The Signals page's signals (in the rule list) - the same signals as Screeners > Signals, with the same maths, so you can test what the page shows:
    • EMA 20 crosses above / below EMA 50, Golden cross (SMA 50 over SMA 200), Death cross, MACD crosses above / below its signal line - nothing to fill in.
    • New high / low of N candles - the close beats the highest (lowest) close of the N candles before (50 if left empty, as the Signals page); only the first break counts.
    • Unusual volume, price up / down (x) - volume at least that many times the average of the 20 candles before, on a green (red) candle; 3 if left empty.
    • Big candle up / down (x ATR) - the candle's body at least that many times the usual range (ATR 14) of the candles before; 3 if left empty.
    Example: Golden cross on 1D, top 20 assets. They work as an And also condition too (MACD crosses up and unusual volume). Every time frame; a strategy with one can be saved and the Trading Bot runs it. Two big candles in a row give one buy here, two signals on the Signals page.
  9. The Technical Analysis reading (in the rule list) - the numbers of Screeners > Technical Analysis, the same maths:
    • Trend score at least / at most (-3 to 3) - EMA 20, SMA 50 and SMA 200 each count +1 when the price is above it and it is rising, -1 the other way; 3 = up on all three.
    • Momentum at least / at most (-2 to 2) - from the MACD histogram: 2 = rising and growing, 1 = rising but slowing, -1 falling but slowing, -2 = falling and growing.
    • Near support / Near resistance (within %) - the close at most that % above the nearest support (or under the nearest resistance) found in the last 150 candles. 1H, 4H, 1D and 1W only.
    Example: Trend score at least 3, And also Near support 2 - buy a dip to support in a strong up trend. A strategy with one can be saved and the Trading Bot runs it.
  10. Chart patterns (in the rule list) - the breakouts the Patterns page draws and the Signals page lists: Pattern breakout up / down (a triangle, wedge, channel or trend line whose line the close broke) and Double bottom / Double top confirmed (the close went past the neckline). Nothing to fill in. 4H, 1D and 1W only, and slower than the other rules (the pattern search runs at every candle: about a minute for 20 assets over 6 years of 1D). A strategy with one can be saved and the Trading Bot runs it.
  11. Against BTC (in the rule list) - the Strength vs BTC and Correlation pages as conditions:
    • Stronger than BTC by % / Weaker than BTC, % at most - the asset's move over the last N candles (30 if left empty) as if it were priced in BTC: e.g. at least 10 over 14 daily candles = it beat BTC by 10 % in two weeks; at most -10 = it fell behind by 10 %.
    • Correlation with BTC at least / at most (-1 to 1) - how closely its candle-to-candle moves followed BTC's over the last N candles (10 to 250; 30 if left empty): 1 = in step, 0 = no link, e.g. at most 0.3 = it is moving on its own.
    Every time frame. Tests only for now: a strategy with one cannot be saved yet (the Trading Bot does not read BTC's candles with the asset's).
  12. Market breadth % above / below (in the rule list) - the share of the 50 most traded coins whose daily close is above their 50-day average (the Market Overview's "% above SMA 50"), one number a day for the whole market: e.g. at least 60 = most coins are in an up trend; at most 20 = nearly everything is falling. A candle sees the newest day that has closed. Every time frame; good as an And also condition (RSI below 30 and market breadth at most 20). Tests only for now: a strategy with one cannot be saved yet.
  13. Max funding % / Max long / short ratio (under More: filters) - a filter, not a signal: it skips a buy while the asset's futures crowd is overheated - funding above the level (e.g. 0.03), or more long accounts per short one than the level (e.g. 3). Not the same as the And also conditions above: a condition must become true together with the rule and so adds later buys, a filter only removes buys. An asset without a perpetual, or a day before 2022, is not filtered. Saved on the Futures market only.
  14. Direction - Long buys on the signal and sells later; Short sells on the signal and buys back later, so a falling price is the profit. A short's stop sits above the sale price, its take profit below it, and its trailing stop follows the lowest price since the sale. A short is saved on the Futures market (when switched on): on spot the Trading Bot can only buy, then sell. With Market: Futures a short also receives the funding when the rate is above 0 (see Market).
  15. Exits - when to sell: take profit %, stop loss %, and / or after N candles, whichever comes first. A fee per side (default 0.1 %; 0.05 % on Futures).
  16. Costs (step 4): Real (estimated), the default, also charges every buy and sell what a market order really loses on top of the fee - half the gap between the buy and sell price (the spread) and the price it pushes by its own size (the impact). Both are worked out per asset from how much it trades a day and how much it moves, so BTC costs almost nothing and a thin asset a lot more; a bigger order costs more. The order size is 20 % of the starting capital (2,000 USDT by default), each trade's own size when you test as one account, and the strategy's USDT per trade when a strategy is tested. When switched on, the assets whose order book the site records (every Binance spot pair) are scaled to their real order book of the last weeks - the real gap and how much can be bought near the price - while the changes over the years still follow how much each traded and moved; the note under the results says how many assets were. Cost multiplier 2 doubles the spread and impact, to be on the safe side. Fee only leaves them out - kinder than any real exchange, above all for small assets. If you pay Binance's fee in BNB, set the fee to 0.075 %.
  17. More exits (optional, step 3 > More ways to sell):
    • Stop x ATR - the stop this many ATR below the buy price, instead of a fixed %. The ATR is how far the asset normally moves in a candle, so the stop fits the asset: 2 x ATR may be 1.5 % on BTC and 8 % on a small asset. Use either Stop loss % or Stop x ATR.
    • Trailing stop % or Trailing x ATR - the stop follows the highest price since the buy and never moves down, so a winner is kept while it runs.
    • Break-even after % - once the price has been this % above the buy, the stop moves up to the buy price plus fees: the trade can no longer lose.
    • Sell part at target % - at the take profit sell only this share (e.g. 50) and let the rest run to a stop, the candle limit or the rule. Needs a take profit and one more exit.
    • Sell when the rule turns false - sell at the next candle's open once the buy rule is no longer true at a candle's close (e.g. RSI back above 30, or the price back under the average).
    • Sell at the day's end (00:00 UTC) - a trade still open when the UTC day ends is sold at the close of the day's last candle, so nothing is held overnight. Time frames shorter than 1D; together with Sell after N candles (a time stop) whichever comes first.
    • Limit entry % and Limit waits (candles) - instead of buying at the next open, place a limit order this % below the signal's close (a short: above it), waiting that many candles (1 when empty). It fills only when the price trades through the limit - touching it is not enough, others were first in line - at the limit, or at a candle's open when it opens past it. It pays no spread on the way in, but the moves that run away without coming back are missed: the line under the title counts them ("N limit orders not filled"). One order at a time: a new signal while the order still waits is ignored (over many assets: "a limit order still waiting"), as a real account would. A strategy on one asset with a limit entry can be saved, and the Trading Bot places the same limit buy on paper (or on Binance, with a Binance copy) (Limit entries). Over many assets it can be tested, not saved yet.
    • Entry delay (minutes) - buy this many minutes after the signal candle closes, at the price of that minute, as a real order never fills at the exact open. The candle the buy falls in then counts only from that minute on (an earlier dip does not hit the stop). Example: 5 on a 1H test buys at 14:05 for a signal of the 13:00 candle. It needs the 1-minute history of that asset: where it is missing, the trade buys at the next open as before and the line under the title counts them ("N bought at the next open instead"). Empty = the next open. Not with a limit entry. A saved strategy keeps it as a test setting; the Trading Bot buys when it sees the signal, with its own real delay.
    • Wait after a stop-out (candles) - after a trade ends at a stop (stop loss, trailing or break-even stop), the asset is not bought again until this many candles have passed: an asset that just stopped you out often keeps falling, and buying it straight back is a common way to lose twice. With 3 on 1H candles, a signal in the 3 hours after the stop is ignored. In a test over many assets, only the asset that stopped out waits. Strategies on paper wait the same way.
    • Pause after a loss (candles) - the same wait after any losing trade, whatever sold it (a stop, the time limit, the rule turning false, the day's end). A trade counts as a loss when it made 0 % or less after the fee. With both this and the wait after a stop-out, the longer one holds. Example: 6 on 5m candles - after a losing trade the asset is left alone for half an hour.
    • Most trades a day - at most this many trades bought on one UTC day, per asset; later signals that day are left out (counted as "most trades that day" when testing as one account). Time frames shorter than 1D. Example: 3 on 1m candles stops a noisy rule from trading all day. Strategies on paper follow both limits the same way: the Decisions show "signal skipped: 3 trades today ..." or "waiting 2 more candles after a loss".
    The stops move only on candles that have closed: a candle does not show whether its high or its low came first, so the test never assumes the lucky order.
  18. Risk per trade % (needs a stop): each trade is sized so that a fall to its stop loses this % of the account. With 1 % and a stop 4 % below the buy, 25 % of the account goes into the trade; with a stop 10 % below, 10 %. Never more than the whole account. The risk is cut to a quarter of the Kelly % of the test's own trades (a measure of how good the edge is); when the trades lose on balance, no trade is placed. Leave it empty to see only the per-trade numbers.
  19. Trade only when the market is - trending up, ranging, trending down or panic. Each day the whole market gets one of these from Bitcoin's daily candle: panic when Fear & Greed is 15 or lower or Bitcoin swings twice as much as usual; trending up when Bitcoin is above its 200-day average and the 50-day average is above it too; trending down the opposite; ranging otherwise. A signal on a day whose state is not ticked is skipped. All ticked = no filter. A test of US Stocks & ETFs reads the S&P 500 ETF token's daily candle instead of Bitcoin's, and one of Commodities & FX gold's, both without Fear & Greed (a crypto index). The S&P 500 token has about half a year of candles, so its 200-day average is not known yet: those days count as unknown and let the signal through.
  20. Trend filter - take a signal only when the asset's own trend on a longer time frame agrees: for example a 1H signal only when the asset's 1D close is above its EMA 50. Choose 15m, 1H, 4H, 1D or 1W (longer than the test's time frame) and the average - for a 5m test e.g. 1H close above its EMA 50. The average needs history before the period, and on a short test that counts towards its 60,000 candles: a 1D average on a 1m test is refused, a 4H one leaves only a few weeks. Each signal sees only the longer candles already closed, and while an asset is too young for the average no trade is taken. A strategy saved with it runs with the same filter. Off = no filter.
  21. Min 24h volume (USDT) - take a signal only when the asset traded at least this many USDT in the 24 hours up to the signal's close (each candle's volume x its close). Thin assets cost more to trade than the test's cost estimate and fill badly. Example: 5000000 on a 1H test leaves out every signal of an asset that traded under 5 million USDT in the 24 hours before it - measured at that moment, so an asset that was small in 2022 is judged as it was then. A strategy saved with it runs with the same filter on the Trading Bot. Empty = off.
  22. Max spread (bps) - take a signal only when the asset's spread (the gap between the best buy and sell price; 1 bps = 0.01 %) in the hour it is acted on was at most this many bps. A wide spread is a hidden cost on every trade. The spread comes from the order book we record for Binance spot assets since 12 October 2026, one value per hour: signals before that, or on other exchanges, have no spread and are kept - the line under the result says how many had one, e.g. "spread known for 120 of 800 signals". On the Trading Bot a strategy saved with it reads the live order book before each buy and does not buy when the spread is wider, or not known (its Decisions say why). Example: 5 leaves out the hours when BTC's or ETH's spread widened past 0.05 %. Empty = off.
  23. Hours (UTC) - take a signal only when its candle closes (the moment of the buy) in these hours, in UTC whatever your own time zone. Choose a session - Asia 00-08, Europe 07-16, US 13-21 - or Other hours and enter from and to (up to, not including, the "to" hour; 22 to 6 runs over midnight). Example: a 15m rule with US 13-21 buys only on candles closing from 13:00 to 20:45 UTC. Only on time frames shorter than 1D. All day = no filter.
  24. Buy on - the weekdays (UTC) a signal may be bought; untick Saturday and Sunday to leave out the quiet weekend. A 1D candle closes at midnight, so Friday's daily candle is bought on Saturday. All ticked = no filter. Up to 1D (not on 3D or 1W).
  25. Minutes before funding - no buy in the last N minutes before a futures funding time (00:00, 08:00 and 16:00 UTC), when spreads widen and prices jump. Example: 15 leaves out a 5m signal closing at 07:50 but takes one closing at 08:00. Only on time frames shorter than 1D. Empty = off.
  26. Min ATR % / Max ATR % - take a signal only when the asset's usual move (ATR 14 of the test's candles, as % of the price) is within this range: too quiet a market does not pay the fees, too wild a one stops out at random. Example: min 0.3 on a 15m test skips signals while a 15m candle moves less than 0.3 % on average. Either can be empty (off).
  27. Hours before FOMC / Hours after FOMC - no buy when the signal candle closes this close before a US Federal Reserve rate decision (FOMC, eight a year, usually 18:00 or 19:00 UTC), or this soon after one: prices often jump on the decision. Every scheduled decision since 2017 is known, so a test over past years feels it. Example: 24 before and 2 after skips a daily signal bought at midnight before an evening decision. Empty = off.
  28. Before big unlocks - no buy of an asset with a token unlock of at least 2 % of its supply in the next 3 days (new supply often pushes the price down). The Trading Bot always skips these buys, so tick it to make a test match what the Bot will do. Past unlocks come from DefiLlama; an old unlock's size is measured against today's supply, so a few old ones may be missed.
Example with more exits: stop 2 x ATR, trailing 3 x ATR, break-even after 2 %, take profit 8 % selling 50 %. The trade list shows why each trade ended - e.g. "Part at target, then trailing stop".
Example: top 50 assets, 4H, the last 12 months, rule RSI below 30, take profit 8 %, stop loss 4 %, sell after 30 candles. Run, then sort the per-asset table to see where the idea works and where it does not.

While it runs

When switched on, your test runs on its own, so a big one never slows the rest of the site. The line under the form shows how far it is: waiting behind other users' tests, loading the candles, then "Testing 37 / 100 asset(s)" with a bar. A test of 100 assets over a year of 1H candles takes a few seconds, over all the hourly history since 2022 about half a minute. Cancel stops it; pressing Run backtest again starts a new test in place of the old one (one test at a time). A test counts toward your daily runs when it starts, also when you cancel it or start another in its place; a test that fails is given back.

Reading the result

  • Trades and win % - how often, and how often it paid.
  • Average / median trade after fees, best / worst, total.
  • Max drawdown - the deepest fall from a high, and losses in a row.
  • Profit factor - money won divided by money lost; above 1 makes money. In the tables it is red below 1 (the trades lost money) and green from 1.3 (the bar a strategy must reach to be saved).
  • Slippage a trade (with real costs) - what the spread and the impact took from the average trade, buy and sell together, and the total the same trades would have made with the fee only. Each trade shows its own in the Slippage column. A rule whose edge is smaller than its costs loses money in real trading, however good the fee-only total looks.
  • Buy and hold - what simply holding the assets did, to compare.
  • Results by market regime - the trades split by the market's state on their signal day, with their win %, average, profit factor and total. Run once with all states ticked, then untick the states where the rule loses.
  • Account at 1 % risk (with a risk per trade) - the account through the trades in the order they ended, each one sized by its stop: total, max drawdown and the average position size. With many assets the trades count one after another, not side by side.
  • ATR % - the average true range: how far the asset moves in a normal candle, as % of its price (14 candles). In the per-asset table it is the average over the period, in the trade list the value when the signal came. A 3 % stop is wide for an asset with an ATR of 0.8 % and plain noise for one with 4 %.
  • Print next to Export CSV: the result on white paper - tiles, the per-asset table, the chart and the trades, with the rule, time frame and dates at the top. Save as PDF in the print window keeps it as a file.

Test as one account

With a watchlist or the top assets, the normal test runs every asset on its own, as if each had all the money. Tick Test as one account to run them together from one money pot, the way the Trading Bot trades:

  • Starting capital, max open positions (assets held at the same time) and max per position % - the same limits as the Trading Bot's Risk Control (10,000 USDT, 5 assets and 20 % to begin with).
  • Each trade is sized from the account: with a risk per trade from its stop, else as size per trade % of the account.
  • When more assets signal than there is room for, the asset with the most USDT traded on its signal candle goes first. Signals that find no free slot or no money left are skipped and counted.
  • Max total risk % and Max risk % in assets that move together - the Trading Bot's risk budget, empty (off) to begin with. Risk is what a trade loses if its stop is hit. The first caps the risk of all assets held at once; the second the risk of the assets that move together with the one bought (their daily returns of the 90 days before were correlated 0.7 or more), so five assets that are one bet are counted as one. A trade over a limit is made smaller to fit, or skipped when nothing fits. Example: 10,000 USDT, trades of 2,000 with a 5 % stop risk 100 each (1 %); with 2 % in assets that move together, a third asset moving with the two already held is skipped. The test counts each held trade against its first stop, even when a trailing stop has moved it up, so it is a little stricter than the bot.
  • Max USDT per trade, Min USDT per trade and Size down by - size each buy in USDT by the asset's risk instead of a % of the account (empty = off; fill in both or neither, and leave Risk per trade % empty). A calm asset gets the max. One that moves more than BTC gets less: the max x BTC's normal daily move / the asset's (the middle daily move of the last 30 days). One that is stretched gets less again: x 0.6 when it closed 5-15 % above its 20-day average or its daily RSI is 70-80, x 0.3 when more than 15 % above or RSI over 80. Never below the min, never above the max (nor the cash or max per position). An asset with under 30 days of daily history gets the min. All from the days before the buy. Example: max 100, min 20 - BTC gets 100; a coin moving twice as much as BTC gets 50; the same coin after a run to RSI 75 gets 30. A strategy over many assets saved from the test sizes its buys the same way on the Trading Bot.
  • Stop buying at stuck trades and Stuck when down more than % - no new buy while at least that many trades held are down more than that % from their entry (valued at the close before the buy). Empty (off) to begin with; fill in both or neither. A signal skipped this way is counted as "too many trades stuck". It keeps money and slots for new chances instead of adding to a falling market, and it matters most for a strategy with no stop. Example: 3 and 3 % - with SOL at -4 %, AVAX at -5 % and LINK at -3.5 %, a fourth signal is skipped; once one of them is back above -3 % (or sold), buying starts again. A strategy over many assets saved from the test keeps this limit on the Trading Bot.

The One account section shows the account's value at every candle close against the same money put in BTC, the total and the yearly rate, the deepest fall of the account (valued at every close, so deeper than a test of single trades shows), the time money was in the market, the trades taken and the signals skipped, and the how solid numbers of the account. Moved together is how closely the assets held at the same time moved (the correlation of their daily returns, 1 = in step), with how many separate bets they really were: five assets that move in step are close to one bet. A rule that looks good asset by asset can lose as one account: the assets fall together, and the best signals may come while the account is full.

Rotation: hold the strongest assets

Choose Strategy: Rotation to test a different kind of strategy. It does not wait for a signal on each asset: it ranks all the assets of the test (the top assets or a watchlist) by how much they rose, holds the strongest few on one account and swaps out the ones that weaken. Daily candles; trades at the day's open, from the ranking at the close of the day before.

  • Rank by the return over 7 to 180 days: the asset's close then against its close that many days before.
  • Assets held: how many it holds at once. Each new asset gets an equal share of the account's value (or the cash left); assets kept are not resized.
  • Keep while in the top: an asset held stays while it ranks within this place, so an asset moving between 5th and 6th is not sold and bought back every week. Empty = the assets held.
  • Rebalance every week (ranked at Sunday's close, traded at Monday's open) or every day.
  • Min USDT traded a day (30-day average) leaves out thin assets; only assets ahead of BTC leaves out assets that did worse than BTC over the same days.
  • Trade only when the market is: on any other day it sells everything and waits in cash.
  • Invest % in an up market and Invest % otherwise: each new asset gets that share of its equal part, the rest stays in cash - e.g. 80 % while the market trends up, 30 % in any other market it may trade in. Empty = 100 % (and "otherwise" = the up-market %). Size by volatility makes an asset that moves more than BTC smaller still: x BTC's normal daily move / the asset's (the middle daily move of the last 30 days; never above 1). An asset moving three times as much as BTC gets a third; one with under 30 days of history is not bought. Assets kept at a rebalance are not resized. These cut the deepest falls, which full equal shares in a few small assets make very deep.
  • The costs are the same as any test (the fee, and with real costs each order's spread and impact). There are no stops: an asset leaves when it drops out of the top, or when the market turns.

The result is a test on one account: the same tiles, chart, how solid numbers, Does it hold up? and Against the benchmarks. The trades say why each one ended (Dropped out of the top, Market regime: to cash, or still open). Save and start on paper (step 5) saves it as a strategy over many assets with every asset it ranked, checked by the same pass rule; the Trading Bot then runs it on paper - see Trading Bot.

Example: top 50, from 2020, rank by the 30-day return, hold 5, every week, only when the market is trending up or ranging. Read the deepest fall next to the total: holding the strongest small assets earns in a bull market and falls hard when they turn together.

The top assets are today's: assets that collapsed and left the exchange are not in the test, which makes every test over many assets, and a rotation most of all, look better than it was.

How solid is it?

A good total can be luck - a few lucky trades, or one good stretch of the market. This row looks at the same trades another way:

  • Expectancy - the average trade in units of the risk taken (R = the distance from the buy to the first stop). +0.3 R means each trade made, on average, 30 % of what it risked. It needs a stop loss; trades without one are left out.
  • Sharpe / Sortino - return per unit of ups and downs, for a year of such trades. Above 1 is good, above 2 is rare. Sortino counts only the losing side, so a rule with big wins and small losses scores higher on it.
  • Time in market - how much of the time a trade was open. A rule that earns the same in less time leaves the money free for other trades.
  • Bad-run drawdown and bad-run total - the trades are drawn in a random order, with repeats, 1,000 times, as if the same rule had met a different run of luck. With a risk per trade each trade counts at its position size, so the drawdown is the account's, as the Trading Bot would trade it; without one, every trade uses the whole stake (much deeper). The drawdown shown is the one only 1 run in 20 was worse than - plan for that, not for the drawdown that happened to occur. The bad-run total is the result only 1 run in 20 was worse than, with the share of runs that ended at a loss. The same test always gives the same numbers. It needs at least 10 trades.

Does it hold up?

A rule tuned until it looks good on a period will often look good only on that period. This table cuts the period by time, and each trade counts in the part where its signal came:

  • First 70 % and unseen last 30 % - tune the rule while looking at the first part only, then judge it on the last 30 %, which it was not fitted to. If the unseen part loses money, the rule probably only fits the past. The unseen row is highlighted.
  • Parts 1 to 4 - four equal parts of the period, with how many made money (their trades add up above 0). A rule that earns in one part and loses in the other three rests on one lucky stretch.
  • Tested many times? From the fifth test of the same idea in a week - the same assets, rule type and time frame, whatever the levels, exits or dates - a note says how many of those tests could look good by luck alone: even a rule with no edge passes about 1 test in 20. The versions of the idea the Lab's own research has tried on the same assets count too, so the note can show from your first test.

Against the benchmarks

Every result is set next to two plans that need no skill, over the same dates:

  • BTC held - Bitcoin bought on the first day and simply held.
  • BTC with its 200-day filter - Bitcoin held only while its daily close is above its average of the last 200 days, cash otherwise (it switches at the next day's open and pays the fee). The simplest trend rule there is: a strategy that cannot match it adds work and risk for nothing.

All of them, your strategy too, are valued at every daily close, so the numbers compare like for like: the gain, the worst drop from a high, the Sharpe (the return for each unit of daily ups and downs - higher is better; above 1 is good for crypto) and the share of days in the market - for the whole period and for the unseen last 30 %. With each asset on its own, your strategy is the same money put in each asset on the first day; with Test as one account the account gets its own row. The line above the table says whether your strategy's Sharpe on the unseen 30 % matches or beats BTC with its 200-day filter.

Example: a daily trend rule on the top 50 assets looked strong trade by trade (profit factor 2) because a few trades gained several hundred percent. Day by day, with the same money in each asset, it made nothing on the unseen part (Sharpe 0.12), while BTC with its 200-day filter made 35 % (Sharpe 0.63): the benchmark row shows at once that it is not worth trading.

Honest by design: a buy happens at the next candle's open, never at a price only known afterwards; one trade at a time per asset. When one candle touches both the stop and the target, the test looks at the 1-minute candles inside it to see which came first (on 3m and longer time frames). On a 1m test it looks at the trades inside the minute instead: those of the last 7 days are always there; older months only for the coins and months the administrator loaded from Binance's archive (when switched on). On Futures it reads the futures' own 1-minute candles; a 1m futures test cannot look inside (no futures trades are kept), so there both in one minute count as the stop. When the order cannot be known - a minute missing, one minute that touched both, or a minute without all its trades - it counts as the stop, the worse case. A candle that opens already past the target sells at that open. The line under the result title says how many exits were settled each way, e.g. 12 exits with stop and target in one candle: 4 target first, 6 stop first, 2 not known (counted as the stop).

Next: start it on paper

Under the first numbers of a test on One asset, step 5 asks for a name and the most a buy may spend (USDT per trade); press Save and start on paper. If it passes, Trading Strategies opens by itself a moment later with the new strategy's row highlighted: press Start there to run it on paper (no real money). If it does not pass, you stay here with every check and what to do next. What it needs to pass (click it) lists the rule. The test runs once more on the server and is checked against the pass rule: at least 50 trades; profit factor 1.3 or more over the whole period and 1.1 or more on the unseen last 30 %; an average trade above 0.2 %; a bad-run drawdown of 30 % or less; at least 3 of the 4 parts making money (see How solid is it? and Does it hold up? above); and its profit must not be carried by a few: it still makes money without its 5 best trades, and no one part of the period holds more than all of the profit (the other parts together did not lose). Example: 60 trades that made +12 % in all, of which the best 5 made +15 %, fail - the other 55 lost money. With Test as one account the trades counted are the ones the account took. Against the benchmarks compares it with BTC and BTC with its 200-day filter for you to judge; it does not decide the pass. On 1m to 30m candles the rule is stricter, because fast trades live or die by their costs: at least 200 trades; the average trade still above 0 % when every trade pays its fee and spread twice; still above 0 % without the trades of its best hour of the day (UTC), so the profit does not come from one lucky hour; and, instead of the 4 parts, at least 8 weeks with trades of which at least 55 % made money. Such a strategy can be saved and run: the Trading Bot acts within seconds of each candle's close. Each check shows with a tick or a cross. The rule is strict on purpose: a rule that passes by luck loses money once it trades. A strategy is saved either way, but only one that passed can be started, on Trading Strategies in the Trading Bot menu - see Trading Bot. Change an option after the test and you are asked to run it again first, so what is saved is what was tested. When switched on, saving under the name of a strategy you already have saves its next version instead: the version it runs keeps running until you choose the new one - see Versions.

A strategy over many assets. Under the result of a test run with Test as one account, the same step saves the whole test as one strategy: all the assets it ran on, one money pot (the starting capital) and the same limits and size per trade. It is checked by the same pass rule, on the account's numbers, and its assets stay the ones tested. It is saved from the test itself, so change nothing between the test and the save (or run it again). When switched on, it appears in Trading Strategies under Strategies over many assets, where you start it on paper - see Trading Bot.

Example: One asset, ETHUSDT, 4H, the last 2 years, rule RSI below 30, stop 2 x ATR, trailing 3 x ATR. Run; if the numbers look good, name it "ETH RSI dip", 200 USDT per trade, and save.
Example: RSI below 30 on the top 100 assets, 1H, stop 4 %, target 6 %, sell after 24 candles, June to September 2026: with the fee only the profit factor is 1.01; with real costs (about 0.19 % a trade on these assets) it is 0.90 - on the top 10 assets the costs are about 0.04 % a trade. Small assets' costs eat small edges.

Past results do not promise future ones. Real costs are an estimate, close on average for orders of a few thousand USDT; large orders in thin assets cost more than shown.