From 491aaef73caad19391a0e114a8cff52d1c0300e2 Mon Sep 17 00:00:00 2001 From: creslin <34645187+creslinux@users.noreply.github.com> Date: Thu, 31 May 2018 12:14:19 +0300 Subject: [PATCH] Update __init__.py --- freqtrade/optimize/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/freqtrade/optimize/__init__.py b/freqtrade/optimize/__init__.py index 168481920..7e5ab4e7f 100644 --- a/freqtrade/optimize/__init__.py +++ b/freqtrade/optimize/__init__.py @@ -74,12 +74,11 @@ def load_tickerdata_file( pairdata = json.load(tickerdata) else: return None - + if timerange: pairdata = trim_tickerlist(pairdata, timerange) return pairdata - def load_data(datadir: str, ticker_interval: str, pairs: Optional[List[str]] = None,