From c1a32bc6c8f390c07fb6dfd6d4f1387089b47595 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 15 Dec 2018 14:22:49 +0100 Subject: [PATCH] use json_load to load data - otherwise unforseen problems could appear due to the default beeing ujson --- freqtrade/data/history.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/data/history.py b/freqtrade/data/history.py index 793aee0d1..c397f7adb 100644 --- a/freqtrade/data/history.py +++ b/freqtrade/data/history.py @@ -81,11 +81,11 @@ def load_tickerdata_file( if gzipfile.is_file(): logger.debug('Loading ticker data from file %s', gzipfile) with gzip.open(gzipfile) as tickerdata: - pairdata = json.load(tickerdata) + pairdata = json_load(tickerdata) elif file.is_file(): logger.debug('Loading ticker data from file %s', file) with open(file) as tickerdata: - pairdata = json.load(tickerdata) + pairdata = json_load(tickerdata) else: return None