Short answer: Survivorship bias in crypto backtests comes from testing only coins still listed today: markets delisted after falling drop out, so results look better than a test run at the time could have. In a seeded simulation on synthetic data where every coin's expected return is zero, the survivors-only universe averaged +2.62% a month against +0.16% point in time with exit at the last price. The fix is a dated symbol list that keeps delisted markets, plus a stated return at delisting.
Most crypto backtests start from a symbol list downloaded today, which has already lost the coins that failed. This guide shows where delisted markets can still be found (official documentation and public endpoints, read 26 November 2026) and measures the effect with tested Python on synthetic data. It describes a data error: no strategy or setting is suggested, and automated trading can lose money.
Naming an exchange describes its documentation, not a recommendation; access depends on your jurisdiction and the platform's terms. Article 99/A of Capital Markets Law No. 6362 treats activity by foreign crypto-asset platforms directed at Turkish residents as unauthorized. Other backtest errors are covered in backtesting pitfalls.
Survivorship bias in crypto: why today's coin list misleads
A universe built from today's listings keeps only the coins that survived, and when survival is linked to past returns, its average return is biased upward.
When removal follows a fall in price or volume, losers leave and winners stay. Two errors follow:
- Survivorship bias: delisted coins are missing, so the test never holds them.
- Delisting bias: the coins are present, but their history stops at the last trade, and the return a holder got when trading ended is missing.
Using 3,904 cryptocurrencies from 2014 to 2021, Ammann, Burdorf, Liebi and Stöckl estimate an annualized bias of 0.93% for value-weighted portfolios and 62.19% for equal-weighted ones (University of St. Gallen repository, 28 November 2022). Those figures belong to that sample; measure your own.
Delisted coins data: what exchange APIs still return
Some public APIs keep delisted markets with a status flag, others drop them, and none of the lists read here gives a delisting date.
| Source | What it showed | For a backtest |
|---|---|---|
Binance Spot exchangeInfo | 3,756 symbols: 1,381 TRADING, 2,375 BREAK, including BCCUSDT. The enum page (modified 26 November 2026) lists BREAK among five statuses without defining it | Old symbols remain; take dates from candles |
| Binance klines and data.binance.vision | BCCUSDT daily candles from 11 November 2017 to 20 November 2018; 371 daily archive files | Removed pairs keep their history. Archive terms (updated 26 August 2026): CC BY-NC-SA 4.0; backtesting allowed only as personal non-production research |
Binance GET /sapi/v1/spot/delist-schedule | Official Swagger file: weight 100, API key and signature, returns delistTime and symbols | Not run (needs a key); whether it covers past delistings is unknown |
Coinbase Exchange GET /products | Documented statuses include delisted; 348 of 847 products delisted, all with trading_disabled true | Candles remain: UST-EUR to 27 May 2022, WBTC-USD to 19 December 2024 |
Kraken AssetPairs | Documented statuses: online, cancel_only, post_only, limit_only, reduce_only; 1,436 pairs | No delisted value, so removed pairs cannot be found here |
| OKX public instruments, spot | 1,250 instruments, all live | Removed instruments absent |
| Bybit V5 instruments info | Documentation: spot has Trading only; status=Closed returned the same 499 symbols | Closed spot pairs absent; perpetuals document deliveryTime as delisting time |
CoinGecko /coins/list | status=inactive lists coins no longer on CoinGecko, Analyst plan or above | Not run (paid key); aggregator IDs, not markets |
A status list is a snapshot: save it with the date read, because once a list drops a market, only earlier snapshots, announcements or a vendor can restore it. Ask vendors for a symbol you know was delisted, as the crypto tick data checklist suggests. Sources are compared in crypto historical data download and the Binance historical data API guide.
Delisted tokens in a backtest: dates, gaps and reused symbols
Status fields carry no dates, so each market's interval has to come from its first and last bars, checked for gaps and jumps at the edges.
Two Binance series read on 26 November 2026 show why. BCCUSDT has daily candles to 15 November 2018, none for four days, and a last one on 20 November with zero trades. LUNAUSDT starts on 21 August 2020, closes at 0.00005 on 13 May 2022, has no candles until 31 May 2022, then opens at 1.00: a 20,000-fold step that a symbol-keyed pipeline would book as one return. A separate LUNCUSDT series starts on 9 September 2022. A symbol string alone does not show whether a series is one asset, so key the universe by your own ID and split a series where announcements confirm a change. The code refuses ambiguous lookups (Python 3.11, standard library).
import datetime as dt
from typing import NamedTuple
class Listing(NamedTuple):
instrument_id: str # your own ID, never the ticker
symbol: str
first: dt.date # first bar with trades
last: dt.date | None # last bar with trades; None while trading
def listed(x, day):
return x.first <= day and (x.last is None or day <= x.last)
def check(master): # called by every lookup
ids = [x.instrument_id.strip() for x in master]
if not all(ids):
raise ValueError("empty instrument_id")
if len(set(ids)) < len(ids):
raise ValueError("duplicate instrument_id")
if any(x.last and x.last < x.first for x in master):
raise ValueError("last before first")
def universe(master, day):
check(master)
return sorted(x.instrument_id for x in master if listed(x, day))
def resolve(master, symbol, day):
check(master)
hits = [x for x in master if x.symbol == symbol and listed(x, day)]
if len(hits) == 1:
return hits[0].instrument_id
raise LookupError(f"{symbol} on {day}: {len(hits)} listings")
D = dt.date
master = [ # dates from Binance daily klines, 26 Nov 2026
Listing("bcc", "BCCUSDT", D(2017, 11, 11), D(2018, 11, 15)),
Listing("luna-a", "LUNAUSDT", D(2020, 8, 21), D(2022, 5, 13)),
Listing("luna-b", "LUNAUSDT", D(2022, 5, 31), None),
]
print(universe(master, D(2018, 6, 1)), universe(master, D(2026, 11, 6)))
print(resolve(master, "LUNAUSDT", D(2021, 1, 4)))
bad = [lambda: resolve(master, "LUNAUSDT", D(2022, 5, 20)), # gap
lambda: resolve(master + [Listing("x", "LUNAUSDT", D(2022, 1, 1), None)],
"LUNAUSDT", D(2023, 1, 2)), # overlap
lambda: resolve(master + [Listing(" ", "ABCUSDT", D(2024, 1, 1), None)],
"ABCUSDT", D(2024, 6, 1)), # empty ID
lambda: universe(master + [master[0]], D(2018, 6, 1)), # duplicate
lambda: universe([Listing("y", "YUSDT", D(2024, 5, 1), D(2024, 1, 1))],
D(2024, 3, 1))] # reversed
for case in bad:
try:
case()
print("NOT REJECTED")
except (LookupError, ValueError) as err:
print(type(err).__name__, err)
Output:
['bcc'] ['luna-b']
luna-a
LookupError LUNAUSDT on 2022-05-20: 0 listings
LookupError LUNAUSDT on 2023-01-02: 2 listings
ValueError empty instrument_id
ValueError duplicate instrument_id
ValueError last before first
Unchecked, each case corrupts the universe silently.
Survivorship bias in backtesting: measure it with a second run
To measure survivorship bias, run the same test on the point-in-time universe and on today's list, and report the difference.
The simulation does that on synthetic data: 400 hypothetical coins list at random in the first four of six years, each with an expected monthly return of zero by construction. A coin is removed when its price falls below 10% of its listing price, a model rule, not any exchange's. The statistic is the universe's average monthly equal-weighted return, which every backtest on it inherits.
import numpy as np
rng = np.random.default_rng(42) # synthetic data, not market prices
N, T, SIGMA = 400, 72, 0.25 # coins, months, monthly volatility
start = rng.integers(0, 48, N) # month each coin is listed
# log drift -SIGMA**2/2 gives every coin an expected monthly return of zero
logret = rng.normal(-SIGMA**2 / 2, SIGMA, (T, N))
ret = np.full((T, N), np.nan) # simple return while listed
end = np.full(N, T) # first month no longer listed
dead = np.zeros(N, dtype=bool)
for i in range(N):
price = 1.0
for t in range(start[i], T):
price *= np.exp(logret[t, i])
ret[t, i] = np.exp(logret[t, i]) - 1
if price < 0.1: # model rule: delisted below 10%
dead[i], end[i] = True, t + 1
break
def mean_monthly(r, members):
m = np.where(members, r, np.nan)
rows = ~np.isnan(m).all(axis=1)
return np.nanmean(m[rows], axis=1).mean()
print("coins", N, "delisted", dead.sum(), "still listed", (~dead).sum())
survivors = mean_monthly(ret, np.broadcast_to(~dead, ret.shape))
print(f"survivors only (today's list) {survivors:+.2%} a month")
for exit_ret in (0.0, -0.5, -1.0): # assumed return at delisting
r = ret.copy()
for i in np.flatnonzero(dead & (end < T)):
r[end[i], i] = exit_ret
pit = mean_monthly(r, ~np.isnan(r))
print(f"point in time, delisting {exit_ret:+.0%} {pit:+.2%} a month,"
f" gap {100 * (survivors - pit):.2f} points")
Output (numpy 2.0.0):
coins 400 delisted 138 still listed 262
survivors only (today's list) +2.62% a month
point in time, delisting +0% +0.16% a month, gap 2.46 points
point in time, delisting -50% -0.19% a month, gap 2.81 points
point in time, delisting -100% -0.54% a month, gap 3.16 points
Reading the synthetic result. Nothing in the model earns money, yet the survivors-only universe shows +2.62% a month, all from leaving out the 138 coins that hit the floor. Seeds 1 to 10 gave gaps of 2.28 to 4.07 points across the three delisting assumptions. Removing 138 coins in random months instead, regardless of price, gave gaps of -0.39 to +0.38 points in ten draws (exit at the last price): the bias comes from the link between falling prices and removal. These are properties of a model, not estimates for any market.
On real data, build both runs from the dated master and report universe size per date and results under several delisting returns. Test the final-month edge: two coins here left in the last month, and marking survivors with end == T would count them as survivors.
Failure modes that hide delisted coins
Most survivorship errors enter through ordinary data handling, not a decision to drop coins.
- Filtering by today's status. Selecting
TRADINGsymbols from a currentexchangeInforebuilds the survivors-only universe. - Forward-filled prices. On pandas 2.2.3,
Series.pct_change()on[1.0, 0.5, 0.2, NaN, NaN]returned 0.0 for both missing months, with a FutureWarning, keeping a dead coin in the universe at 0%;fill_method=Nonereturned NaN. The pandas 3.1.1 reference says the argument must beNoneand will be removed, so on 2.x passNoneand on 3.x omit it. - Inner joins on dates. They keep only dates on which every coin traded, so one early removal cuts the whole panel short.
- Vendor coverage. Some datasets keep only current symbols or start at a coin's listing on one venue.
- The venue. One exchange's data assumes it kept operating; a closed venue takes its history with it.
Tests for these belong with the checks in how to test trading bots; library handling of gaps is compared in backtesting Python libraries.
What a backtest cannot show about delisted coins
Even with complete data, a backtest cannot tell you whether you could have left a market before it closed, or at what price.
- Liquidity at the end. The last candle is the last trade; candles carry no order book depth, so a fill there is an assumption.
- Announcement timing. The time between notice and removal, and whether you would have acted, are outside the price series.
- Withdrawals and swaps. Suspended withdrawals and token swaps appear in announcements, not candles.
- Coins never listed. One venue's history reflects which coins it chose to list.
A backtest shows how rules would have behaved on the data you have, not future results. Related errors such as look-ahead bias are in the backtesting and risk guides. For integration work in general, see Fincode's market data pipelines page; naming an exchange here does not mean Fincode integrates it or has built on it.
Related guide: Backtest a crypto strategy in Python.
Frequently asked questions
Does survivorship bias always make crypto backtests look better?
Usually, when removal follows falling prices or volume. A coin removed after a token swap can leave on better terms, so measure the direction on your own universe.
Where can I find delisted coin price data?
On 26 November 2026, Binance klines and its data.binance.vision archive served removed pairs such as BCCUSDT, and Coinbase Exchange kept delisted products with candles. The Kraken, OKX and Bybit spot lists showed none, so keep dated snapshots or use a vendor, and check each license.
Is BREAK on Binance the same as delisted?
Binance's enum page lists BREAK without defining it, so it is not proof of delisting. Take the interval from the first and last candles and confirm removals in the exchange's announcements.
How big is survivorship bias in crypto?
One study of 3,904 cryptocurrencies from 2014 to 2021 estimated 0.93% a year for value-weighted and 62.19% for equal-weighted portfolios. Your sample will differ, so compare two runs.
What return should a backtest assume at delisting?
No single value is correct: the last traded price may not have been available to a holder. Report a labeled range from exit at the last price to total loss.
Sources
- Ammann, Burdorf, Liebi, Stöckl: Survivorship and Delisting Bias in Cryptocurrency Markets (University of St. Gallen repository entry, 2022, listed as not refereed) (opens in a new tab)
- Binance Spot API: Enum definitions, symbol status (last modified 26 November 2026) (opens in a new tab)
- Binance Spot exchangeInfo, live symbol list via the market data host (opens in a new tab)
- Binance Spot klines for BCCUSDT, daily, via the market data host (opens in a new tab)
- Binance public data archive: BCCUSDT daily klines (opens in a new tab)
- Binance Vision Dataset Terms (last updated 26 August 2026) (opens in a new tab)
- Binance API Swagger: spot_api.yaml, GET /sapi/v1/spot/delist-schedule (opens in a new tab)
- Coinbase Exchange API: Get all known trading pairs (product status values) (opens in a new tab)
- Coinbase Exchange products, live list (opens in a new tab)
- Kraken API: Get tradable asset pairs (status values) (opens in a new tab)
- OKX public instruments, spot, live list (opens in a new tab)
- Bybit V5 API: Get instruments info (status filter, deliveryTime) (opens in a new tab)
- CoinGecko API: Coins List (ID Map), status parameter (opens in a new tab)
- pandas 3.1.1 documentation: DataFrame.pct_change (opens in a new tab)
- Capital Markets Law No. 6362, Article 99/A (Turkish, consolidated text) (opens in a new tab)
This guide is general information about software and markets, not investment, legal or tax advice. Automated trading can lose money, past or backtested performance does not guarantee future results, and the rules that apply depend on your jurisdiction and your exchange's terms. Sources, checks and corrections: see the editorial policy.