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
- Compute required pre-range history from
startup_candle_countand the longest indicator window. [download] - Download an earlier timerange initially; for existing data, use
--prepend --timerange 20210101-20220101. [download] - Use
list-data --show-timerangeto 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
- Python 3.11+, Freqtrade installed, a pinned strategy, and a local user-data directory.
Permissions
- Use public market data and local history; treat every trading decision as research and never connect a live account.
Limitations
Extra history solves warmup only; it does not remove data bias or lookahead, and recursive convergence still needs checking.
Pinned upstream source
- 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