Fix wrong tradingMOde comparison
This commit is contained in:
parent
25e1142f89
commit
35afc7b478
@ -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(
|
||||
|
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user