Fix mypy error

This commit is contained in:
Matthias 2020-07-25 17:19:41 +02:00
parent 119bf2a8ea
commit bad89307dd

View File

@ -191,11 +191,11 @@ class HDF5DataHandler(IDataHandler):
return False
@classmethod
def _pair_ohlcv_key(cls, pair: str, timeframe: str) -> Path:
def _pair_ohlcv_key(cls, pair: str, timeframe: str) -> str:
return f"{pair}/ohlcv/tf_{timeframe}"
@classmethod
def _pair_trades_key(cls, pair: str) -> Path:
def _pair_trades_key(cls, pair: str) -> str:
return f"{pair}/trades"
@classmethod