2019-09-25 04:26:28 +00:00
# Data Downloading
2019-09-21 08:09:14 +00:00
## Getting data for backtesting and hyperopt
To download data (candles / OHLCV) needed for backtesting and hyperoptimization use the `freqtrade download-data` command.
2019-09-24 05:05:30 +00:00
If no additional parameter is specified, freqtrade will download data for `"1m"` and `"5m"` timeframes for the last 30 days.
Exchange and pairs will come from `config.json` (if specified using `-c/--config` ).
Otherwise `--exchange` becomes mandatory.
2019-09-21 08:09:14 +00:00
2020-12-08 17:04:26 +00:00
You can use a relative timerange (`--days 20`) or an absolute starting point (`--timerange 20200101-`). For incremental downloads, the relative approach should be used.
2020-09-19 07:13:43 +00:00
2019-10-30 12:27:04 +00:00
!!! Tip "Tip: Updating existing data"
2021-10-27 15:14:26 +00:00
If you already have backtesting data available in your data-directory and would like to refresh this data up to today, freqtrade will automatically calculate the data missing for the existing pairs and the download will occur from the latest available point until "now", neither --days or --timerange parameters are required. Freqtrade will keep the available data and only download the missing data.
2021-04-22 07:07:13 +00:00
If you are updating existing data after inserting new pairs that you have no data for, use `--new-pairs-days xx` parameter. Specified number of days will be downloaded for new pairs while old pairs will be updated with missing data only.
If you use `--days xx` parameter alone - data for specified number of days will be downloaded for _all_ pairs. Be careful, if specified number of days is smaller than gap between now and last downloaded candle - freqtrade will delete all existing data to avoid gaps in candle data.
2019-09-26 09:04:01 +00:00
2019-12-28 10:24:37 +00:00
### Usage
```
2020-07-25 15:06:58 +00:00
usage: freqtrade download-data [-h] [-v] [--logfile FILE] [-V] [-c PATH]
[-d PATH] [--userdir PATH]
[-p PAIRS [PAIRS ...]] [--pairs-file FILE]
2021-04-22 17:41:01 +00:00
[--days INT] [--new-pairs-days INT]
2021-10-17 14:09:56 +00:00
[--include-inactive-pairs]
2021-04-22 17:41:01 +00:00
[--timerange TIMERANGE] [--dl-trades]
[--exchange EXCHANGE]
2020-09-20 09:18:45 +00:00
[-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]]
2020-07-25 15:06:58 +00:00
[--erase]
[--data-format-ohlcv {json,jsongz,hdf5}]
[--data-format-trades {json,jsongz,hdf5}]
2021-12-06 06:11:15 +00:00
[--trading-mode {spot,margin,futures}]
2022-04-30 15:24:57 +00:00
[--prepend]
2019-12-28 10:24:37 +00:00
optional arguments:
-h, --help show this help message and exit
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
2021-04-17 08:53:03 +00:00
Limit command to these pairs. Pairs are space-
2020-07-25 15:06:58 +00:00
separated.
2019-12-28 10:24:37 +00:00
--pairs-file FILE File containing a list of pairs to download.
--days INT Download data for given number of days.
2021-04-22 17:41:01 +00:00
--new-pairs-days INT Download data of new pairs for given number of days.
Default: `None` .
2021-10-17 14:09:56 +00:00
--include-inactive-pairs
Also download data from inactive pairs.
2020-09-19 09:33:55 +00:00
--timerange TIMERANGE
Specify what timerange of data to use.
2020-07-25 15:06:58 +00:00
--dl-trades Download trades instead of OHLCV data. The bot will
resample trades to the desired timeframe as specified
as --timeframes/-t.
--exchange EXCHANGE Exchange name (default: `bittrex` ). Only valid if no
config is provided.
2020-09-20 09:18:45 +00:00
-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...], --timeframes {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]
2020-07-25 15:06:58 +00:00
Specify which tickers to download. Space-separated
list. Default: `1m 5m` .
--erase Clean all existing data for the selected
exchange/pairs/timeframes.
--data-format-ohlcv {json,jsongz,hdf5}
Storage format for downloaded candle (OHLCV) data.
2021-10-17 14:09:56 +00:00
(default: `json` ).
2020-07-25 15:06:58 +00:00
--data-format-trades {json,jsongz,hdf5}
Storage format for downloaded trades data. (default:
2021-10-17 14:09:56 +00:00
`jsongz` ).
2021-12-06 06:11:15 +00:00
--trading-mode {spot,margin,futures}
Select Trading mode
2022-04-30 15:24:57 +00:00
--prepend Allow data prepending.
2019-12-28 10:24:37 +00:00
Common arguments:
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
2020-07-25 15:06:58 +00:00
--logfile FILE Log to the file specified. Special values are:
'syslog', 'journald'. See the documentation for more
details.
2019-12-28 10:24:37 +00:00
-V, --version show program's version number and exit
-c PATH, --config PATH
2020-07-25 15:06:58 +00:00
Specify configuration file (default:
`userdir/config.json` or `config.json` whichever
exists). Multiple --config options may be used. Can be
set to `-` to read config from stdin.
2019-12-28 10:24:37 +00:00
-d PATH, --datadir PATH
Path to directory with historical backtesting data.
--userdir PATH, --user-data-dir PATH
Path to userdata directory.
2020-07-25 15:06:58 +00:00
2019-12-28 10:24:37 +00:00
```
2020-09-20 11:09:34 +00:00
!!! Note "Startup period"
`download-data` is a strategy-independent command. The idea is to download a big chunk of data once, and then iteratively increase the amount of data stored.
For that reason, `download-data` does not care about the "startup-period" defined in a strategy. It's up to the user to download additional days if the backtest should start at a specific point in time (while respecting startup period).
2021-10-17 14:09:56 +00:00
### Pairs file
In alternative to the whitelist from `config.json` , a `pairs.json` file can be used.
If you are using Binance for example:
- create a directory `user_data/data/binance` and copy or create the `pairs.json` file in that directory.
- update the `pairs.json` file to contain the currency pairs you are interested in.
```bash
mkdir -p user_data/data/binance
touch user_data/data/binance/pairs.json
```
The format of the `pairs.json` file is a simple json list.
Mixing different stake-currencies is allowed for this file, since it's only used for downloading.
``` json
[
"ETH/BTC",
"ETH/USDT",
"BTC/USDT",
"XRP/ETH"
]
```
!!! Tip "Downloading all data for one quote currency"
Often, you'll want to download data for all pairs of a specific quote-currency. In such cases, you can use the following shorthand:
`freqtrade download-data --exchange binance --pairs .*/USDT <...>` . The provided "pairs" string will be expanded to contain all active pairs on the exchange.
To also download data for inactive (delisted) pairs, add `--include-inactive-pairs` to the command.
??? Note "Permission denied errors"
If your configuration directory `user_data` was made by docker, you may get the following error:
```
cp: cannot create regular file 'user_data/data/binance/pairs.json': Permission denied
```
You can fix the permissions of your user-data directory as follows:
```
sudo chown -R $UID:$GID user_data
```
### Start download
Then run:
```bash
freqtrade download-data --exchange binance
```
This will download historical candle (OHLCV) data for all the currency pairs you defined in `pairs.json` .
Alternatively, specify the pairs directly
```bash
freqtrade download-data --exchange binance --pairs ETH/USDT XRP/USDT BTC/USDT
```
or as regex (to download all active USDT pairs)
```bash
freqtrade download-data --exchange binance --pairs .*/USDT
```
### Other Notes
- To use a different directory than the exchange specific default, use `--datadir user_data/data/some_directory` .
- To change the exchange used to download the historical data from, please use a different configuration file (you'll probably need to adjust rate limits etc.)
- To use `pairs.json` from some other directory, use `--pairs-file some_other_dir/pairs.json` .
- To download historical candle (OHLCV) data for only 10 days, use `--days 10` (defaults to 30 days).
2022-04-30 15:24:57 +00:00
- To download historical candle (OHLCV) data from a fixed starting point, use `--timerange 20200101-` - which will download all data from January 1st, 2020.
2021-10-17 14:09:56 +00:00
- Use `--timeframes` to specify what timeframe download the historical candle (OHLCV) data for. Default is `--timeframes 1m 5m` which will download 1-minute and 5-minute data.
- To use exchange, timeframe and list of pairs as defined in your configuration file, use the `-c/--config` option. With this, the script uses the whitelist defined in the config as the list of currency pairs to download data for and does not require the pairs.json file. You can combine `-c/--config` with most other options.
2022-04-30 15:24:57 +00:00
#### Download additional data before the current timerange
Assuming you downloaded all data from 2022 (`--timerange 20220101-`) - but you'd now like to also backtest with earlier data.
2022-05-01 12:50:36 +00:00
You can do so by using the `--prepend` flag, combined with `--timerange` - specifying an end-date.
2022-04-30 15:24:57 +00:00
``` bash
freqtrade download-data --exchange binance --pairs ETH/USDT XRP/USDT BTC/USDT --prepend --timerange 20210101-20220101
```
!!! Note
Freqtrade will ignore the end-date in this mode if data is available, updating the end-date to the existing data start point.
2021-10-17 14:09:56 +00:00
2019-12-28 10:24:37 +00:00
### Data format
2020-07-25 15:06:58 +00:00
Freqtrade currently supports 3 data-formats for both OHLCV and trades data:
* `json` (plain "text" json files)
* `jsongz` (a gzip-zipped version of json files)
* `hdf5` (a high performance datastore)
2020-02-19 11:54:59 +00:00
By default, OHLCV data is stored as `json` data, while trades data is stored as `jsongz` data.
2019-12-28 10:24:37 +00:00
2020-07-25 15:06:58 +00:00
This can be changed via the `--data-format-ohlcv` and `--data-format-trades` command line arguments respectively.
To persist this change, you can should also add the following snippet to your configuration, so you don't have to insert the above arguments each time:
2019-12-28 10:24:37 +00:00
2020-07-25 15:06:58 +00:00
``` jsonc
// ...
"dataformat_ohlcv": "hdf5",
"dataformat_trades": "hdf5",
// ...
```
If the default data-format has been changed during download, then the keys `dataformat_ohlcv` and `dataformat_trades` in the configuration file need to be adjusted to the selected dataformat as well.
2019-12-28 10:24:37 +00:00
!!! Note
2020-07-25 15:06:58 +00:00
You can convert between data-formats using the [convert-data ](#sub-command-convert-data ) and [convert-trade-data ](#sub-command-convert-trade-data ) methods.
2019-12-28 10:24:37 +00:00
2020-07-25 15:06:58 +00:00
#### Sub-command convert data
2019-12-28 10:24:37 +00:00
```
usage: freqtrade convert-data [-h] [-v] [--logfile FILE] [-V] [-c PATH]
[-d PATH] [--userdir PATH]
[-p PAIRS [PAIRS ...]] --format-from
2020-07-25 15:06:58 +00:00
{json,jsongz,hdf5} --format-to
{json,jsongz,hdf5} [--erase]
2020-09-20 09:18:45 +00:00
[-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]]
2021-12-06 06:11:15 +00:00
[--exchange EXCHANGE]
[--trading-mode {spot,margin,futures}]
[--candle-types {spot,,futures,mark,index,premiumIndex,funding_rate} [{spot,,futures,mark,index,premiumIndex,funding_rate} ...]]
2019-12-28 10:24:37 +00:00
optional arguments:
-h, --help show this help message and exit
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
2021-12-06 06:11:15 +00:00
Limit command to these pairs. Pairs are space-
2019-12-28 10:24:37 +00:00
separated.
2020-07-25 15:06:58 +00:00
--format-from {json,jsongz,hdf5}
2020-01-05 08:55:02 +00:00
Source format for data conversion.
2020-07-25 15:06:58 +00:00
--format-to {json,jsongz,hdf5}
2020-01-05 08:55:02 +00:00
Destination format for data conversion.
2019-12-28 10:24:37 +00:00
--erase Clean all existing data for the selected
exchange/pairs/timeframes.
2020-09-20 09:18:45 +00:00
-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...], --timeframes {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]
2019-12-28 10:24:37 +00:00
Specify which tickers to download. Space-separated
list. Default: `1m 5m` .
2021-12-06 06:11:15 +00:00
--exchange EXCHANGE Exchange name (default: `bittrex` ). Only valid if no
config is provided.
--trading-mode {spot,margin,futures}
Select Trading mode
--candle-types {spot,,futures,mark,index,premiumIndex,funding_rate} [{spot,,futures,mark,index,premiumIndex,funding_rate} ...]
2021-12-07 19:00:12 +00:00
Select candle type to use
2019-12-28 10:24:37 +00:00
Common arguments:
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
--logfile FILE Log to the file specified. Special values are:
'syslog', 'journald'. See the documentation for more
details.
-V, --version show program's version number and exit
-c PATH, --config PATH
2020-07-25 15:06:58 +00:00
Specify configuration file (default:
`userdir/config.json` or `config.json` whichever
exists). Multiple --config options may be used. Can be
set to `-` to read config from stdin.
2019-12-28 10:24:37 +00:00
-d PATH, --datadir PATH
Path to directory with historical backtesting data.
--userdir PATH, --user-data-dir PATH
Path to userdata directory.
2021-12-06 06:11:15 +00:00
2019-12-28 10:24:37 +00:00
` ``
##### Example converting data
2020-03-08 10:35:31 +00:00
The following command will convert all candle (OHLCV) data available in `~/.freqtrade/data/binance` from json to jsongz, saving diskspace in the process.
2020-02-19 11:54:59 +00:00
It'll also remove original json data files (`--erase` parameter).
2019-12-28 10:24:37 +00:00
``` bash
2020-06-16 05:17:15 +00:00
freqtrade convert-data --format-from json --format-to jsongz --datadir ~/.freqtrade/data/binance -t 5m 15m --erase
2019-12-28 10:24:37 +00:00
```
2020-07-25 15:06:58 +00:00
#### Sub-command convert trade data
2019-12-28 10:24:37 +00:00
```
usage: freqtrade convert-trade-data [-h] [-v] [--logfile FILE] [-V] [-c PATH]
[-d PATH] [--userdir PATH]
[-p PAIRS [PAIRS ...]] --format-from
2020-07-25 15:06:58 +00:00
{json,jsongz,hdf5} --format-to
{json,jsongz,hdf5} [--erase]
2019-12-28 10:24:37 +00:00
optional arguments:
-h, --help show this help message and exit
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
Show profits for only these pairs. Pairs are space-
separated.
2020-07-25 15:06:58 +00:00
--format-from {json,jsongz,hdf5}
2020-01-05 08:55:02 +00:00
Source format for data conversion.
2020-07-25 15:06:58 +00:00
--format-to {json,jsongz,hdf5}
2020-01-05 08:55:02 +00:00
Destination format for data conversion.
2019-12-28 10:24:37 +00:00
--erase Clean all existing data for the selected
exchange/pairs/timeframes.
Common arguments:
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
--logfile FILE Log to the file specified. Special values are:
'syslog', 'journald'. See the documentation for more
details.
-V, --version show program's version number and exit
-c PATH, --config PATH
2020-07-25 15:06:58 +00:00
Specify configuration file (default:
`userdir/config.json` or `config.json` whichever
exists). Multiple --config options may be used. Can be
set to `-` to read config from stdin.
2019-12-28 10:24:37 +00:00
-d PATH, --datadir PATH
Path to directory with historical backtesting data.
--userdir PATH, --user-data-dir PATH
Path to userdata directory.
2020-07-25 15:06:58 +00:00
2019-12-28 10:24:37 +00:00
```
##### Example converting trades
2020-02-19 11:54:59 +00:00
The following command will convert all available trade-data in `~/.freqtrade/data/kraken` from jsongz to json.
It'll also remove original jsongz data files (`--erase` parameter).
2019-12-28 10:24:37 +00:00
``` bash
2020-06-16 05:17:15 +00:00
freqtrade convert-trade-data --format-from jsongz --format-to json --datadir ~/.freqtrade/data/kraken --erase
2019-12-28 10:24:37 +00:00
```
2021-09-29 17:48:56 +00:00
### Sub-command trades to ohlcv
When you need to use `--dl-trades` (kraken only) to download data, conversion of trades data to ohlcv data is the last step.
This command will allow you to repeat this last step for additional timeframes without re-downloading the data.
```
usage: freqtrade trades-to-ohlcv [-h] [-v] [--logfile FILE] [-V] [-c PATH]
[-d PATH] [--userdir PATH]
[-p PAIRS [PAIRS ...]]
[-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]]
[--exchange EXCHANGE]
[--data-format-ohlcv {json,jsongz,hdf5}]
[--data-format-trades {json,jsongz,hdf5}]
optional arguments:
-h, --help show this help message and exit
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
Limit command to these pairs. Pairs are space-
separated.
-t {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...], --timeframes {1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} [{1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,2w,1M,1y} ...]
Specify which tickers to download. Space-separated
list. Default: `1m 5m` .
--exchange EXCHANGE Exchange name (default: `bittrex` ). Only valid if no
config is provided.
--data-format-ohlcv {json,jsongz,hdf5}
Storage format for downloaded candle (OHLCV) data.
(default: `json` ).
--data-format-trades {json,jsongz,hdf5}
Storage format for downloaded trades data. (default:
`jsongz` ).
Common arguments:
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
--logfile FILE Log to the file specified. Special values are:
'syslog', 'journald'. See the documentation for more
details.
-V, --version show program's version number and exit
-c PATH, --config PATH
Specify configuration file (default:
`userdir/config.json` or `config.json` whichever
exists). Multiple --config options may be used. Can be
set to `-` to read config from stdin.
-d PATH, --datadir PATH
Path to directory with historical backtesting data.
--userdir PATH, --user-data-dir PATH
Path to userdata directory.
```
#### Example trade-to-ohlcv conversion
``` bash
freqtrade trades-to-ohlcv --exchange kraken -t 5m 1h 1d --pairs BTC/EUR ETH/EUR
```
2020-07-25 15:06:58 +00:00
### Sub-command list-data
2020-07-12 08:05:47 +00:00
2020-07-25 15:06:58 +00:00
You can get a list of downloaded data using the `list-data` sub-command.
2020-07-12 08:05:47 +00:00
```
usage: freqtrade list-data [-h] [-v] [--logfile FILE] [-V] [-c PATH] [-d PATH]
[--userdir PATH] [--exchange EXCHANGE]
2020-07-25 15:06:58 +00:00
[--data-format-ohlcv {json,jsongz,hdf5}]
2020-07-14 04:55:34 +00:00
[-p PAIRS [PAIRS ...]]
2021-12-06 06:11:15 +00:00
[--trading-mode {spot,margin,futures}]
2020-07-12 08:05:47 +00:00
optional arguments:
-h, --help show this help message and exit
--exchange EXCHANGE Exchange name (default: `bittrex` ). Only valid if no
config is provided.
2020-07-25 15:06:58 +00:00
--data-format-ohlcv {json,jsongz,hdf5}
2020-07-12 08:05:47 +00:00
Storage format for downloaded candle (OHLCV) data.
(default: `json` ).
2020-07-14 04:55:34 +00:00
-p PAIRS [PAIRS ...], --pairs PAIRS [PAIRS ...]
2021-12-06 06:11:15 +00:00
Limit command to these pairs. Pairs are space-
2020-07-14 04:55:34 +00:00
separated.
2021-12-06 06:11:15 +00:00
--trading-mode {spot,margin,futures}
Select Trading mode
2020-07-12 08:05:47 +00:00
Common arguments:
-v, --verbose Verbose mode (-vv for more, -vvv to get all messages).
--logfile FILE Log to the file specified. Special values are:
'syslog', 'journald'. See the documentation for more
details.
-V, --version show program's version number and exit
-c PATH, --config PATH
Specify configuration file (default:
`userdir/config.json` or `config.json` whichever
exists). Multiple --config options may be used. Can be
set to `-` to read config from stdin.
-d PATH, --datadir PATH
Path to directory with historical backtesting data.
--userdir PATH, --user-data-dir PATH
Path to userdata directory.
2020-07-25 15:06:58 +00:00
2020-07-12 08:05:47 +00:00
```
#### Example list-data
```bash
> freqtrade list-data --userdir ~/.freqtrade/user_data/
Found 33 pair / timeframe combinations.
pairs timeframe
---------- -----------------------------------------
ADA/BTC 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d
ADA/ETH 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d
ETH/BTC 5m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 1d
ETH/USDT 5m, 15m, 30m, 1h, 2h, 4h
```
2019-10-13 17:35:33 +00:00
### Trades (tick) data
2020-07-25 15:06:58 +00:00
By default, `download-data` sub-command downloads Candles (OHLCV) data. Some exchanges also provide historic trade-data via their API.
2019-10-13 17:35:33 +00:00
This data can be useful if you need many different timeframes, since it is only downloaded once, and then resampled locally to the desired timeframes.
2019-10-19 08:05:30 +00:00
Since this data is large by default, the files use gzip by default. They are stored in your data-directory with the naming convention of `<pair>-trades.json.gz` (`ETH_BTC-trades.json.gz`). Incremental mode is also supported, as for historic OHLCV data, so downloading the data once per week with `--days 8` will create an incremental data-repository.
2019-10-13 17:35:33 +00:00
2019-10-19 08:05:30 +00:00
To use this mode, simply add `--dl-trades` to your call. This will swap the download method to download trades, and resamples the data locally.
2019-10-13 17:35:33 +00:00
2021-01-25 19:57:05 +00:00
!!! Warning "do not use"
You should not use this unless you're a kraken user. Most other exchanges provide OHLCV data with sufficient history.
2019-10-13 17:35:33 +00:00
Example call:
```bash
2021-01-25 19:57:05 +00:00
freqtrade download-data --exchange kraken --pairs XRP/EUR ETH/EUR --days 20 --dl-trades
2019-10-13 17:35:33 +00:00
```
!!! Note
While this method uses async calls, it will be slow, since it requires the result of the previous call to generate the next request to the exchange.
!!! Warning
2019-10-19 08:05:30 +00:00
The historic trades are not available during Freqtrade dry-run and live trade modes because all exchanges tested provide this data with a delay of few 100 candles, so it's not suitable for real-time trading.
2019-10-13 17:35:33 +00:00
2019-11-09 15:14:18 +00:00
!!! Note "Kraken user"
Kraken users should read [this ](exchanges.md#historic-kraken-data ) before starting to download data.
2019-10-13 17:35:33 +00:00
2019-09-21 08:09:14 +00:00
## Next step
Great, you now have backtest data downloaded, so you can now start [backtesting ](backtesting.md ) your strategy.