Fix wrong tradingMOde comparison

This commit is contained in:
Matthias 2021-12-08 16:07:27 +01:00
parent 25e1142f89
commit 35afc7b478
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class HDF5DataHandler(IDataHandler):
:param trading_mode: trading-mode to be used
:return: List of Tuples of (pair, timeframe)
"""
if trading_mode != 'spot':
if trading_mode == 'futures':
datadir = datadir.joinpath('futures')
_tmp = [
re.search(

View File

@ -31,7 +31,7 @@ class JsonDataHandler(IDataHandler):
:param trading_mode: trading-mode to be used
:return: List of Tuples of (pair, timeframe)
"""
if trading_mode != 'spot':
if trading_mode == 'futures':
datadir = datadir.joinpath('futures')
_tmp = [
re.search(