Further enhance pair retrieval
This commit is contained in:
@@ -33,7 +33,7 @@ class JsonDataHandler(IDataHandler):
|
||||
re.search(
|
||||
cls._OHLCV_REGEX, p.name
|
||||
) for p in datadir.glob(f"*.{cls._get_file_extension()}")]
|
||||
return [(match[1].replace('_', '/'), match[2], match[3]) for match in _tmp
|
||||
return [(cls.rebuild_pair_from_filename(match[1]), match[2], match[3]) for match in _tmp
|
||||
if match and len(match.groups()) > 1]
|
||||
|
||||
@classmethod
|
||||
|
Reference in New Issue
Block a user