Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Crypto quant workflows

Fetch pre-range candles to warm up indicators

Prevent empty indicators or distorted signals at the start of a backtest due to insufficient startup candles.

Goal

Give the first backtest candle the history window required by the strategy.

Steps

  1. Compute required pre-range history from startup_candle_count and the longest indicator window. [download]
  2. Download an earlier timerange initially; for existing data, use --prepend --timerange 20210101-20220101. [download]
  3. Use list-data --show-timerange to confirm history starts before evaluation, then rerun the baseline. [download]

How to verify

Available candles predate the first evaluated signal, and results reproduce after excluding warmup.

Troubleshooting

If indicators remain empty, fetch more startup history or shorten unnecessary windows; do not mistake warmup gaps for a no-trade strategy.

Permissions

Prerequisites

Permissions

Limitations

Extra history solves warmup only; it does not remove data bias or lookahead, and recursive convergence still needs checking.

Pinned upstream source

https://github.com/freqtrade/freqtrade/blob/82e4c9604c51523f7e05c5a297167cf2b13a2129/docs/data-download.md

Repository
freqtrade/freqtrade
File path
docs/data-download.md
Pinned commit
82e4c9604c51523f7e05c5a297167cf2b13a2129
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: GPLv3

Main topic

Build a reproducible crypto research workflow

Related resources