Update Docstring to match actual return values

This commit is contained in:
Matthias 2022-08-19 09:23:53 +02:00
parent 47b3143534
commit 975bf8fe88
3 changed files with 3 additions and 3 deletions

View File

@ -28,7 +28,7 @@ class HDF5DataHandler(IDataHandler):
Returns a list of all pairs with ohlcv data available in this datadir Returns a list of all pairs with ohlcv data available in this datadir
:param datadir: Directory to search for ohlcv files :param datadir: Directory to search for ohlcv files
:param trading_mode: trading-mode to be used :param trading_mode: trading-mode to be used
:return: List of Tuples of (pair, timeframe) :return: List of Tuples of (pair, timeframe, CandleType)
""" """
if trading_mode == TradingMode.FUTURES: if trading_mode == TradingMode.FUTURES:
datadir = datadir.joinpath('futures') datadir = datadir.joinpath('futures')

View File

@ -46,7 +46,7 @@ class IDataHandler(ABC):
Returns a list of all pairs with ohlcv data available in this datadir Returns a list of all pairs with ohlcv data available in this datadir
:param datadir: Directory to search for ohlcv files :param datadir: Directory to search for ohlcv files
:param trading_mode: trading-mode to be used :param trading_mode: trading-mode to be used
:return: List of Tuples of (pair, timeframe) :return: List of Tuples of (pair, timeframe, CandleType)
""" """
@classmethod @classmethod

View File

@ -30,7 +30,7 @@ class JsonDataHandler(IDataHandler):
Returns a list of all pairs with ohlcv data available in this datadir Returns a list of all pairs with ohlcv data available in this datadir
:param datadir: Directory to search for ohlcv files :param datadir: Directory to search for ohlcv files
:param trading_mode: trading-mode to be used :param trading_mode: trading-mode to be used
:return: List of Tuples of (pair, timeframe) :return: List of Tuples of (pair, timeframe, CandleType)
""" """
if trading_mode == 'futures': if trading_mode == 'futures':
datadir = datadir.joinpath('futures') datadir = datadir.joinpath('futures')