All lessons
Understand crypto before trading
1What is crypto trading? 2Blockchains, ledgers and consensus 3Bitcoin, Ethereum, coins and tokens 4Build a safe practice plan
Wallets and personal security
5Wallets, keys and custody 6Recovery phrases and backups 7Networks, addresses and transfers 8Phishing, approvals and scams
Understand the trading venue
9Centralized and decentralized venues 10Pairs, order books and spreads 11Spot orders and execution 12Fees, slippage and liquidity
Risk before returns
13Size a spot position 14Portfolio concentration and correlations 15Drawdown, R multiples and expectancy 16Stablecoins and counterparty risk
Read crypto market structure
17Candles and an around-the-clock market 18Trends, ranges and price levels 19Breakouts, volume and confirmation 20Indicators and volatility
Apply chart frameworks to crypto
21Dow-style structure: what would change your view? 22Wyckoff in spot crypto: read the range carefully 23Elliott counts: keep an alternative on the page 24Liquidity sweeps: separate the wick from the story 25FVG and OTE: transfer the rules, not the promises
Understand asset economics
26Supply, market cap and FDV 27Token unlocks and distribution 28Network activity and on-chain data 29Research a project critically
Understand derivatives before considering them
30Spot, futures and perpetual contracts 31Funding, basis and mark price 32Margin, leverage and liquidation 33Open interest and liquidation data
Derivatives through paper examples
34Linear perpetual P&L: calculate the money, not the excitement 35Collateral and liquidation: a deliberately simplified worksheet 36Funding carry: count what you keep 37Dated futures: follow both sides of the hedge 38Calls and puts: payoff is not profit
Explore DeFi with caution
39Smart contracts and applications 40AMM pools and price impact 41Liquidity provision and changing asset value 42Staking, lending and bridges
Understand ecosystem risks
43Constant-product AMMs: calculate the moving price 44LP divergence loss: choose the right comparison 45Reorgs, bridges and L2s: what is actually final? 46MEV and arbitrage: subtract the competition 47DEX approvals: inspect before you sign
Build and test market hypotheses
48Market context and catalysts 49Write a setup rulebook 50Profiles, order flow and SMC limits 51Backtest crypto data honestly
Research, allocation and review
52Token vesting: size the unlock, then ask why 53On-chain metrics: count activity, not stories 54Stablecoin depeg: map access, not just reserves 55Rebalancing: weights change even when you do nothing 56Advanced crypto capstone: defend the whole plan
Practice, review and stay informed
57Paper trade and keep a journal 58FOMO and decision routines 59Records, local rules and changing information 60Capstone: research and risk plan
51 / 60

Backtest crypto data honestly

3 min read

A dataset can forget failed tokens or miss an exchange outage. Those missing pages can make a backtest look better than reality.

Here is what we will figure out

Build a historical simulation that respects what was tradable and knowable at the time.

A backtest applies written rules to historical data. Keep timestamps, venue, pair and price field explicit. Signals based on a candle's close cannot assume entry earlier within that candle; indicators must use only information available at each decision.

Include assets that failed or delisted when evaluating a historical universe. Selecting today's survivors can hide losses. Model fees, spread, slippage, partial fills and outages. Derivative simulations additionally need contract specifications, historical funding and liquidation rules; spot data alone cannot reproduce them.

Separate development data from an untouched later evaluation period. Trying many settings and keeping the best can fit noise. Record every version and compare sensitivity to costs and parameters. A promising historical result remains a hypothesis for forward testing, not proof of future earnings.

Let’s use numbers · hypothetical example

A paper strategy makes USD 30 gross across 20 round trips. At an assumed USD 2 total cost per round trip, costs are USD 40 and the result is −USD 10. Omitting costs reverses the conclusion.

Keep in mind

Even a detailed simulation cannot reproduce every live liquidity constraint or emotional decision.

Your turn

Audit one sample trade for signal time, earliest possible fill, fees and available data; then double the cost assumption.

A quick check before we move on

Why can testing only today's listed tokens mislead?

  1. Failed or delisted tokens may be excluded
  2. Today's list contains every historical failure
  3. Listing automatically proves long-term quality
Check answer

Failed or delisted tokens may be excluded Excluding assets that disappeared creates survivorship bias and can make a historical strategy look better than it was.

Sources and further reading

Content reviewed: 29 October 2026

All lessons

Educational material with hypothetical examples. Trading can cause substantial losses. A course, pattern, stop order or past result cannot guarantee a profit or limit every loss. Practise in simulation and check current rules and product terms in your jurisdiction.