Rename download_backtest_testdata to download_pair_history

This commit is contained in:
Matthias
2018-12-16 10:33:08 +01:00
parent 50938d410a
commit eb7034c7a7
3 changed files with 35 additions and 35 deletions

View File

@@ -9,7 +9,7 @@ import arrow
from freqtrade import arguments
from freqtrade.arguments import TimeRange
from freqtrade.exchange import Exchange
from freqtrade.data.history import download_backtesting_testdata
from freqtrade.data.history import download_pair_history
from freqtrade.configuration import set_loggers
import logging
@@ -82,10 +82,10 @@ for pair in PAIRS:
dl_file.unlink()
print(f'downloading pair {pair}, interval {tick_interval}')
download_backtesting_testdata(datadir=dl_path, exchange=exchange,
pair=pair,
tick_interval=tick_interval,
timerange=timerange)
download_pair_history(datadir=dl_path, exchange=exchange,
pair=pair,
tick_interval=tick_interval,
timerange=timerange)
if pairs_not_available: