Align tests to have futures data in futures/ directory
This commit is contained in:
@@ -50,6 +50,7 @@ class HDF5DataHandler(IDataHandler):
|
||||
"""
|
||||
|
||||
if candle_type:
|
||||
datadir = datadir.joinpath('futures')
|
||||
candle_type = f"-{candle_type}"
|
||||
else:
|
||||
candle_type = ""
|
||||
|
@@ -200,7 +200,8 @@ class IDataHandler(ABC):
|
||||
if candle_type:
|
||||
datadir = datadir.joinpath('futures')
|
||||
candle_type = f"-{candle_type}"
|
||||
filename = datadir.joinpath(f'{pair_s}-{timeframe}{candle_type}.{cls._get_file_extension()}')
|
||||
filename = datadir.joinpath(
|
||||
f'{pair_s}-{timeframe}{candle_type}.{cls._get_file_extension()}')
|
||||
return filename
|
||||
|
||||
@classmethod
|
||||
|
@@ -50,6 +50,7 @@ class JsonDataHandler(IDataHandler):
|
||||
:return: List of Pairs
|
||||
"""
|
||||
if candle_type:
|
||||
datadir = datadir.joinpath('futures')
|
||||
candle_type = f"-{candle_type}"
|
||||
else:
|
||||
candle_type = ""
|
||||
|
Reference in New Issue
Block a user