Align tests to have futures data in futures/ directory

This commit is contained in:
Matthias
2021-12-03 07:20:00 +01:00
parent 7baf11a497
commit b578e31255
9 changed files with 45 additions and 19 deletions

View File

@@ -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 = ""