Skip to main content
backtestingcrypto trading strategybacktest results
How to backtest a crypto trading strategy

How to backtest a crypto trading strategy

Imagine you're about to fly a plane for the first time. Would you skip the flight simulator and go straight to a real aircraft with passengers on board? Of course not. You'd practice in a simulator first: a safe environment where mistakes don't cost lives.

Backtesting plays a similar role in crypto trading. It lets you test your strategy against real historical market data before you risk a single dollar of real money. It can't make a strategy safe, but it can expose many avoidable mistakes before they cost you anything.

Whether you're configuring your first DCA bot or fine-tuning an advanced signal-based strategy, this guide will teach you how to backtest effectively and, just as importantly, how to interpret the results without fooling yourself. (On Freya Finance, strategies that trade on webhook signals can't be backtested; the walkthrough below uses a DCA bot.)

Key Takeaways

  • Backtesting simulates your trading strategy against historical data to estimate how it would have performed.
  • Key metrics to evaluate include total profit, win rate, max drawdown, Sharpe ratio, and average deal duration.
  • Curve fitting (over-optimization) is the biggest backtesting trap: a strategy that looks perfect on past data often fails in live markets.
  • The equity curve shape tells you more about strategy quality than any single number.
  • Backtesting is step one. Freya has no paper trading or demo mode, so on Freya the next step is a live bot with a small amount, before full deployment.

If you're new to trading bots, start with our Complete Guide to Crypto Trading Bots for foundational context.


Trading risk

The dollar amounts and percentages in this guide are hypothetical worked examples, not recommendations or forecasts. Crypto trading can lose money: size every bot with funds you can afford to lose, and read the full Risk Disclosure before going live.

What Is Backtesting and Why Does It Matter?

Backtesting is the process of running your trading strategy against historical market data to see how it would have performed during that time period. Instead of waiting weeks or months to find out if your bot configuration works, you can simulate months (or, with enough history, years) of trading in seconds.

Why Every Serious Trader Backtests

Think of backtesting like test-driving a car before buying it. You wouldn't spend $30,000 on a car based solely on the brochure: you'd want to drive it, feel how it handles, and see if it fits your needs. Backtesting lets you "test drive" a strategy before committing capital.

Here's what backtesting helps you do:

  • Validate your logic. Does your strategy actually make money in the conditions you're targeting? A DCA bot with a 0.5% take profit might sound conservative and safe, but backtesting might reveal that exchange fees eat most of that profit.
  • Spot fatal flaws early. Maybe your safety order spacing is too tight, causing the bot to exhaust all capital during a routine 8% dip. Better to discover that in a simulation than with real money.
  • Build confidence. Knowing how your strategy handled a sharp selloff or a strong rally in the past gives you the conviction to stick with it when live markets get choppy.
  • Compare configurations. Should you use 4 safety orders or 6? A 1.5% take profit or 2.5%? Backtesting lets you run both and compare the results objectively. (On Freya, you can compare 2 backtests side by side on Free, 4 on Plus and 10 on Pro.)

Backtesting doesn't predict the future. Markets are inherently unpredictable, and past performance never guarantees future results. But backtesting does help you eliminate clearly bad strategies and understand the behavior of promising ones, and that's enormously valuable.

What Backtesting Cannot Do

Let's be upfront about the limitations:

  • It can't predict future market conditions. A strategy that thrived in a bull market might struggle in a sideways market.
  • It can't reproduce live conditions exactly. A good engine models slippage (orders filling at slightly different prices) and fees, but live slippage, latency (delays in order execution), and liquidity gaps can differ from the model.
  • It can create false confidence. If you optimize settings specifically to look good on historical data, you'll get misleading results (more on this critical topic later).

Despite these limitations, backtesting remains the single most valuable tool for strategy development. The alternative, testing with real money from day one, is far more expensive.


How Backtesting Works Under the Hood

You don't need to be an engineer to use backtesting, but understanding how it works will help you interpret results more intelligently. On Freya Finance, backtests run on Freya's own engine with chart data from the exchange you choose. Here's what happens when you run a backtest:

Step 1: Historical Data Loading

The platform retrieves historical price data for your chosen trading pair. This data consists of candlesticks (also called OHLCV data): each candle contains the Open, High, Low, Close price and Volume for a specific time period (1 minute, 5 minutes, 1 hour, etc.).

For example, if you're backtesting a BTC/USDT strategy over the last 6 months using 1-hour candles, the engine loads roughly 4,400 candles of data (24 hours × 183 days).

Step 2: Simulation Engine

The backtesting engine "replays" the market, candle by candle, as if it were happening in real time. At each candle, the engine:

  1. Updates the current price based on the candle's OHLCV data
  2. Checks trigger conditions: Should the bot open a new deal? Should it place a safety order? Has the take profit or stop loss been hit?
  3. Executes simulated orders: Buy and sell orders are placed at the simulated prices
  4. Tracks portfolio state: Running profit/loss, open positions, available capital

Step 3: Execution Model

This is where quality differences between platforms emerge. A good backtesting engine accounts for:

  • Order fills within candle range. If a safety order is set at $60,000 and a candle's low is $59,800, the order is considered filled at $60,000 (not at the close price).
  • Slippage modeling. Some platforms add a small simulated slippage to each order (e.g., 0.05%) to make results more realistic.
  • Fee calculation. Exchange trading fees (typically 0.1% per trade) are deducted from each simulated trade, just as they would be in live trading.

Freya's backtest engine models fees and slippage, and futures backtests also model isolated-margin liquidation.

When comparing backtesting platforms, always check whether fees and slippage are included in the simulation. A backtest that ignores fees will show inflated results, sometimes dramatically so, especially for strategies that trade frequently.

Step 4: Results Compilation

After processing all historical candles, the engine compiles your results: total profit/loss, number of completed deals, win rate, maximum drawdown, and other key metrics. Many platforms also generate an equity curve: a visual chart showing how your portfolio value changed over time.


Where Crypto Backtesting Data Comes From

A backtest is only as good as the price history behind it. Most crypto backtesting data is candlestick (OHLCV) history that exchanges publish through their market data APIs. Some tools buy it from data vendors that merge several exchanges into one feed. Three things decide whether that data can be trusted:

  • Which exchange it comes from. Prices, wicks and volume differ between exchanges. A safety order that filled on one exchange's wick may never have filled on another, so backtest on the data of the exchange your bot will actually trade on.
  • Gaps and bad ticks. Outages, maintenance windows and spikes on thin order books leave missing candles or wicks that never traded at size. A careful engine skips or flags them instead of filling orders on them.
  • Resolution. A one-hour candle hides the order of events inside that hour, such as whether the take profit or the stop loss was hit first. When both fall inside the same candle, Freya's engine uses 1-minute candles to decide which came first. See bar close vs intrabar evaluation for how this changes results.

On Freya Finance, backtests run on Freya's own engine with the historical chart data of the exchange you choose, with trading fees and slippage modelled on every simulated trade. How far back you can test depends on your plan: 90 days on Free, 365 days on Plus and no limit on Pro (see pricing).


Step-by-Step: Running a Backtest on Freya Finance

Let's walk through a practical backtest from start to finish. We'll configure a DCA bot for BTC/USDT and analyze the results together.

Step 1: Navigate to the Bot Configuration

Open Freya Finance and start creating a new DCA bot. Select your exchange (Binance, Bybit, or OKX), the market (spot or futures) and your trading pair. We'll use BTC/USDT for this example.

Step 2: Configure Your Strategy

Set up your bot parameters. For this example walkthrough, we'll use a moderate set of rules:

  • Base order size: $50
  • Safety order sizes: $100 for the first, then each one 20% larger ($100, $120, $144, $172.80)
  • Take profit: 2%
  • Stop loss: 10%
  • Max safety orders: 4
  • Safety order price deviation: 1.5%, 3%, 5%, 8% (widening)
  • Start condition: RSI(14) below 35 on the 1-hour chart

On Freya, you enter these rules order by order: you set each safety order's distance from the entry and its size yourself (there is no step-scale or volume-scale multiplier), and a DCA bot's order ladder can hold up to 40 orders.

Step 3: Set Your Backtest Parameters

Before running the backtest, choose the simulation period. Select the date range: we recommend at least 3-6 months, ideally covering different market conditions (trending up, trending down, and sideways). How far back you can go depends on your plan: 90 days of history on Free, 365 days on Plus and no limit on Pro.

Step 4: Run the Backtest

Start the backtest and let the engine process the historical data. How long it takes depends on the time range and the complexity of your strategy. Your plan sets how many backtests you can run each month: 4 on Free, 20 on Plus and unlimited on Pro.

Step 5: Analyze the Results

This is where the real learning happens. Your results show the key metrics; let's decode what each number means. On Plus and Pro, the results add advanced sections (exit reasons, trade streaks, risk ratios, time analysis, exposure, recovery and VaR), and Monte Carlo, walk-forward, R-multiple and volatility analysis are available on Pro only.

Don't worry if the results aren't perfect on your first try. The purpose of backtesting is to iterate: run, analyze, adjust, and run again. Trying several configurations before settling on one is normal, but every extra try also raises the risk of curve fitting.


Understanding Your Backtest Results

The numbers in your backtest results can feel overwhelming at first. Let's break down each key metric, what it actually tells you, and what to look for.

Total Profit (%)

What it measures: The overall return on your allocated capital over the backtest period.

Example: A total profit of 18.4% over 6 months means that if you started with $1,000, your ending balance would have been $1,184.

What to watch for: A positive number is good, but context matters. 18% over 6 months during a bull market where BTC itself gained 40% means your bot actually underperformed a simple buy-and-hold. Compare your bot's return to the underlying asset's performance over the same period.

Win Rate (%)

What it measures: The percentage of completed deals that ended in profit.

Example: A win rate of 78% means 78 out of every 100 deals were profitable.

What to watch for: Higher isn't always better. A 95% win rate with tiny profits and rare but devastating losses can be worse than a 60% win rate where winners are significantly larger than losers. Always look at win rate together with average profit per deal and max drawdown.

Max Drawdown (%)

What it measures: The largest peak-to-trough decline in your portfolio value during the backtest. This is arguably the most important risk metric. Tail-risk metrics that complement drawdown are covered in Value at Risk, CVaR, and the Omega ratio.

Example: A max drawdown of -12.5% means that at its worst point, your portfolio was down 12.5% from its previous high.

Why it matters: Max drawdown tells you the worst pain you would have experienced. Ask yourself: "If my portfolio dropped 12.5% in live trading, would I panic and shut everything down?" If yes, the drawdown is too high for your risk tolerance, even if the final profit is attractive.

Sharpe Ratio

What it measures: Risk-adjusted returns. It tells you how much return you earned per unit of risk taken. A higher Sharpe ratio means better returns relative to the volatility you endured.

How to interpret it:

  • Below 0.5: Poor risk-adjusted performance: you're taking a lot of risk for the returns you're getting
  • 0.5-1.0: Acceptable, reasonable for most crypto strategies
  • 1.0-2.0: Good: your strategy is delivering solid returns relative to risk
  • Above 2.0: Excellent, but double-check for curve fitting, because this is unusually good

Average Deal Duration

What it measures: How long, on average, each deal takes from opening to closing (either at take profit or stop loss).

Example: An average deal duration of 18 hours means most positions are opened and closed within the same day.

What to watch for: Very long deal durations (multiple days or weeks) mean your capital is tied up for extended periods. This affects how many deals your bot can complete and your overall capital efficiency. If your strategy shows a 15% total profit but average deals last 3 weeks, you might only complete a handful of deals in a quarter.

Total Deals

What it measures: The number of complete deal cycles (buy → sell) the bot executed during the backtest period.

What to watch for: More deals generally means more statistical significance: a strategy that completed 85 deals is more reliable than one that completed 4. However, very high deal counts can indicate overtrading, which increases fee costs.

MetricWhat It MeasuresWhat to Look ForWarning Signs
Total ProfitOverall return on capitalCompare it with buy-and-hold over the same periodResults that look too good to be true: possible curve fitting
Win Rate% of deals that were profitableRead it together with average profit and average lossA very high win rate can hide large losses
Max DrawdownWorst peak-to-trough declineA drop you could sit through in live tradingA drawdown beyond your personal risk tolerance
Sharpe RatioReturn per unit of risk0.5-2.0Below 0.5 (poor risk/reward) or above 3.0 (likely overfitted)
Avg Deal DurationTime per complete deal cycle2 hours to 7 daysOver 2 weeks: capital is tied up too long
Total DealsNumber of completed trades20+ for reliabilityUnder 10: not enough data to trust the results

Reading the Equity Curve

Numbers tell part of the story. The equity curve, a chart plotting your portfolio value over time, tells the rest. Learning to "read" this chart is one of the most valuable skills you can develop as a bot trader.

The Ideal Shape: Steady Upward Slope

The best equity curves look like a staircase climbing upward. Each "step" is a completed deal, and the overall direction is steadily up. Small, regular gains with minimal pullbacks indicate a robust strategy that behaves well across different conditions.

Think of it like a hiking trail. A steady, gradual incline is sustainable and safe. You might prefer a trail that climbs 1,000 feet over 5 miles versus one that climbs 1,000 feet in 1 mile, even though both reach the same elevation.

Red Flag: The Hockey Stick

If your equity curve is flat for months and then suddenly shoots up, your strategy may be dependent on one specific market event (like a sudden crash or a massive pump). This is fragile: you're betting that the same kind of event will happen again.

Red Flag: The Roller Coaster

Wild swings up and down, even if the final result is positive, indicate high volatility in your returns. This usually means your max drawdown is uncomfortable, and there's a real chance that in live trading, you'd abandon the strategy during a down period.

Red Flag: The Cliff

An equity curve that climbs steadily and then drops sharply at the end suggests your strategy has no defense against certain market conditions. Often this means the stop loss is too loose (or missing entirely), and a sudden market downturn wiped out weeks or months of gains.

What a Healthy Curve Looks Like

The healthiest equity curves share these traits:

  • Steady upward slope: not dependent on one or two big wins
  • Small, brief drawdowns: the curve dips occasionally but recovers quickly
  • Smooth progression: no extended flat periods or sudden spikes
  • Similar behavior across market phases: the curve doesn't only rise during one specific regime

When comparing two strategies with similar total profits, choose the one with the smoother equity curve. A smooth curve means steadier behavior and fewer sleepless nights when trading live.


The Danger of Curve Fitting: The Biggest Backtesting Trap

This is the most important section of this entire article. Curve fitting (also called over-optimization) is one of the most common reasons traders get great backtest results but lose money in live trading. Understanding it helps you catch an expensive mistake before it reaches your live bot.

What Is Curve Fitting?

Curve fitting happens when you tweak your strategy parameters so many times that they become perfectly tailored to past data rather than reflecting a genuinely good strategy. The backtest looks amazing, but only because you've essentially "memorized the test answers."

A Real-World Analogy

Imagine you're studying for an exam. Instead of learning the material, you memorize the answers to last year's test. If this year's test has the exact same questions, you'll ace it. But if the questions change even slightly, you'll fail spectacularly.

Curve fitting works the same way. You optimize your bot to "ace" the historical data, but when live markets inevitably present different conditions, the strategy falls apart.

Example: How Curve Fitting Happens

Here's a hypothetical example. You're backtesting a DCA bot on ETH/USDT over the last 3 months. Your first run shows a 12% return. But you think, "I can do better."

So you start tweaking:

  • Run 2: You change the RSI threshold from 30 to 27. Result: 14%. Better!
  • Run 3: You adjust safety order spacing to 1.7%, 3.3%, 6.1%. Result: 16.5%. Even better!
  • Run 4: You change the take profit from 2% to 1.85%. Result: 18.2%. Great!
  • Run 5: You add a second entry condition that happens to filter out the losing deals. Result: 22%. Amazing!

After 20 iterations, you've found a configuration that returns 28% over 3 months with a 92% win rate. It looks incredible.

The problem? Those hyper-specific settings (RSI at 27, safety orders at 1.7/3.3/6.1%, TP at 1.85%) aren't based on any trading logic. They just happen to align perfectly with the specific price movements that occurred during those exact 3 months. Run the same strategy on the next 3 months, and it might lose money.

How to Avoid Curve Fitting

  1. Use simple, round numbers. A take profit of 2% is more likely to work going forward than 1.87%. Round numbers suggest a strategy based on logic, not data mining.

  2. Test across multiple time periods. If your strategy works well on Jan-Mar, does it also work on Apr-Jun and Jul-Sep? Robust strategies behave similarly across different periods, not spectacularly in one and poorly in others.

  3. Limit the number of parameters. Every additional parameter you add gives you another knob to twist for optimization. Simpler strategies with fewer parameters are harder to curve fit and tend to be more robust.

  4. Use out-of-sample testing. Optimize on one time period (the "training" data), then test the exact same settings on a different time period (the "test" data) that you haven't looked at. If performance holds up, the strategy is likely genuine. On Freya, walk-forward analysis is available on the Pro plan.

  5. Be skeptical of perfect results. If your backtest shows a very high win rate, very high returns, and almost no drawdown, something is almost certainly too good to be true. Real-world strategies have imperfections.

A simple strategy that gives similar results across several different periods is far more trustworthy than a complex strategy that dazzles in one specific period. Holding up across conditions is the hallmark of a robust strategy.


Forward Testing vs. Backtesting: Bridging the Gap to Live Trading

Backtesting is step one. But there's an important intermediate step before going live with significant capital: forward testing. It's usually done in one of two ways: without real money (paper trading or a demo account, on platforms that offer them) or with a very small amount of real capital. Freya has no paper trading or demo mode, so on Freya forward testing means running the bot live with a small amount, and its orders are real.

What Is Forward Testing?

Forward testing means running your strategy in real-time market conditions, either without risking real money or with only a tiny amount. You watch the bot make decisions on live price data. On Freya, this step uses a small amount: the bot places real orders, but the capital at risk stays small.

Why Forward Testing Matters

Forward testing catches problems that backtesting can't:

  • Slippage. A backtest estimates slippage with a model. In live markets, your order might fill at a worse price than the model assumed, especially during volatile moments.
  • Latency. There's always a delay between a signal triggering and the order reaching the exchange. During fast price moves, this delay can matter.
  • Psychological readiness. Watching your bot handle a live 5% dip feels very different from seeing it on a historical chart. Forward testing helps you build the emotional tolerance to trust your strategy.
  • Execution edge cases. Things like partially filled orders, exchange maintenance windows, and API rate limits only surface in real-time execution.

When to Transition from Backtesting to Forward Testing

You're ready for forward testing when:

  • ✅ Your strategy shows positive results across at least 3 different backtesting periods
  • ✅ Max drawdown is within your personal comfort level
  • ✅ You understand why the strategy works (not just that it works)
  • ✅ You've resisted the urge to over-optimize for one specific time period

When to Transition from Forward Testing to Live Trading

You're ready to scale up to your full allocation when:

  • ✅ Forward test results are broadly in line with your backtest results
  • ✅ You've run the small live test for at least 2-4 weeks
  • ✅ You've experienced at least one market dip during that time and your strategy handled it as expected
  • ✅ You have a clear risk management plan (stop losses, position sizing, maximum capital allocation)

The progression should always be: Backtest → Forward Test (small capital) → Live (scaled capital). On Freya, the forward test is a live bot with a small amount. Skipping it is like skipping the test drive and going straight to a cross-country road trip. You might be fine, but why take the risk?


Interpreting AI-Powered Backtest Analysis

On Freya Finance, Freya AI can analyze a finished backtest for you on the Plus plan (30 analyses a day) and the Pro plan (unlimited); the Free plan doesn't include it. The analysis gives a 0-100 risk score and a verdict in plain English. The Freya AI chat assistant, available on every plan, can read your own data, such as your bots and backtests, but it doesn't see live prices, open positions or order fills.

What the AI Analyzes

The analysis reads your finished backtest results and gives you:

  • A risk score (0-100): a one-number summary of how risky the strategy looked in the backtest
  • A verdict: a plain-language reading of the results

How to Use AI Insights Effectively

The AI analysis is a starting point, not a final verdict. Here's how to get the most from it:

  1. Read the overall verdict first. Then compare it with the metrics you've read yourself.

  2. Read the risk score with the other metrics. Look at it together with max drawdown, win rate and deal count; a score alone isn't a decision.

  3. Treat changes as experiments. If you decide to change a setting after reading the analysis, run a new backtest with that change and compare. Not every change is an improvement, but each one is worth testing.

  4. Don't chase a perfect score. The goal isn't to keep adjusting until the analysis gives you a perfect rating; that's just another form of curve fitting. Use the analysis as a second opinion, not as a target.

For a deeper look at AI in crypto trading, read our article on what AI can and can't do in crypto trading.


Backtesting Best Practices Checklist

Before you finish backtesting and move to live trading, run through this checklist. Every item should be checked:

Data and Period Selection

  • ☐ Test at least 3-6 months of data: short periods don't capture enough market variety
  • ☐ Include different market conditions: your test period should cover at least one uptrend, one downtrend, and one sideways period
  • ☐ Use the correct trading pair: backtest on the same pair you plan to trade live

Strategy Validation

  • ☐ Test across multiple time periods: if your strategy only works in one specific window, it's likely overfitted
  • ☐ Keep parameters simple and logical: round numbers, reasonable ranges, clear logic behind each setting
  • ☐ Compare to buy-and-hold: your bot should do better than simply holding the asset (otherwise, why use a bot?)
  • ☐ Verify fees are included: make sure the backtest deducts trading fees from results

Risk Assessment

  • ☐ Max drawdown is within your tolerance: if you can't handle a 20% drawdown, don't run a strategy that shows one in backtesting
  • ☐ Stop loss is configured: every strategy should have a maximum loss per deal
  • ☐ Capital allocation is reasonable: don't allocate all your capital to a single bot or strategy
  • ☐ Total deals exceed 20: results from fewer deals aren't statistically meaningful

Before Going Live

  • ☐ Forward test for 2-4 weeks: run the strategy in real time with minimal capital (on Freya, a live bot with a small amount, since there's no demo mode)
  • ☐ Forward test results match backtest: if live results diverge significantly from backtesting, investigate before scaling up
  • ☐ You understand the strategy: can you explain why it works in one sentence? If not, keep studying

For more on optimizing your bot's performance after backtesting, check out our guide on Optimizing Trading Bot Performance.


Frequently Asked Questions

How far back should I backtest my crypto strategy?

For most strategies, 3-6 months provides a good balance. This is long enough to include different market conditions but recent enough to be relevant to current market dynamics. For strategies that trade less frequently (like weekly DCA), you may want 6-12 months of data to generate enough deals for meaningful analysis. The key is that your backtest period should include at least one significant dip (10%+) and one notable rally to see how your strategy handles both. A period that contains only a steady uptrend will flatter almost any long-biased strategy and tell you nothing about how it behaves when the market turns. If you have the data available, it is also worth running the same configuration separately across a bull stretch, a bear stretch and a sideways stretch rather than blending them into one average, because the blended number can hide a strategy that is spectacular in one regime and ruinous in another. On Freya, how far back you can test depends on your plan: 90 days of history on Free, 365 days on Plus and no limit on Pro.

Can I trust backtest results that show very high returns?

Be skeptical. If a backtest shows returns that seem too good to be true (very large gains over a few months together with a near-perfect win rate), there's a high chance of curve fitting: the settings have been tuned until they happen to fit the exact price path of that period, which will not repeat. A very high win rate deserves particular suspicion, because strategies without a stop loss can produce a long run of small wins while carrying one large unrealised loss that the win-rate figure never shows. If your backtest looks exceptional, run the identical settings on a different time window and on a different pair. If the results collapse, the original numbers described history rather than a strategy. Compare drawdown and average deal duration alongside profit, not profit alone.

What's the minimum number of deals needed for a reliable backtest?

A minimum of 20 completed deals is a reasonable baseline, but more is better. Think of it like coin flips: if you flip a coin 5 times and get 4 heads, you can't conclude the coin is unfair, but 80 heads out of 100 flips is meaningful. A strategy with 5 completed deals simply doesn't contain enough evidence to separate skill from luck, no matter how good the percentage looks. There is a second, subtler requirement: those deals should not all come from the same market condition. Twenty deals that all closed during one strong rally are closer to one observation repeated twenty times than to twenty independent tests. If your configuration produces only a handful of deals, extend the time range rather than loosening your entry conditions just to manufacture activity.

Should I backtest on 1-minute, 1-hour, or daily candles?

It depends on your strategy's timeframe. For most DCA bots, 1-hour candles offer the best balance of accuracy and processing speed. One-minute candles give more granular data but take considerably longer to process and rarely change the outcome for strategies that hold positions for hours or days. Daily candles are too coarse for most bot strategies and can miss intraday movements that would have triggered a safety order or a take-profit. There is an accuracy caveat worth understanding: a candle records only open, high, low and close, so the simulation cannot know in which order the high and the low occurred within that period. On coarse candles this ambiguity can make the difference between a deal that closed in profit and one that hit its stop first, which is another reason to prefer finer candles for strategies with tight targets. On Freya, when a take profit and a stop loss fall inside the same candle, the engine uses 1-minute candles to decide which was hit first.

How is backtesting different from paper trading?

Backtesting uses historical data: it replays past market conditions to simulate what would have happened. Paper trading (forward testing) runs your strategy against live market data in real time but without real money. Backtesting is faster, letting you evaluate months of behaviour in seconds, but it is a simulation and inherits the limits of simulation. Paper trading is slower because you have to wait for the market to actually move, yet it captures things a replay cannot: real order-book depth, slippage on entry and exit, exchange latency, and the operational reality of a bot running continuously. Freya has no paper trading or demo mode: on Freya, the step after a backtest is running the bot live with a small amount, and its orders are real. The sensible sequence is to backtest first to discard configurations that clearly fail, then run the survivors live with a small amount, and only then commit more capital.

Where can I get crypto backtesting data?

Most traders use the candlestick (OHLCV) history that exchanges publish through their APIs, either directly or through a backtesting platform that has already collected it. The safest source is the exchange you plan to trade on, because prices and wicks differ between exchanges. On Freya Finance, backtests run on Freya's own engine with chart data from the exchange you choose, so a backtest replays the market your bot will trade. The Free plan includes 4 backtests a month over the last 90 days of history; Plus gives 20 a month over 365 days, and Pro is unlimited with no history limit.

Does Freya Finance include trading fees in backtest calculations?

Yes. Freya Finance's backtesting engine models exchange trading fees and slippage on every simulated trade, and futures backtests also model isolated-margin liquidation. This gives you a more accurate picture of net performance. Some platforms skip fees, which can make results look noticeably better than they would be in practice, especially for strategies that execute many deals. Always verify that your backtesting platform accounts for fees before trusting the results.


Create an account

Put your knowledge into practice by opening a Freya account today.

Register Now

Related Articles

This content is for educational purposes only and does not constitute financial advice. Cryptocurrency trading involves significant risks. Never invest more than you can afford to lose.