From 975bf8fe88ce480f1bdeadfdde094384e9201a2b Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 19 Aug 2022 09:23:53 +0200 Subject: [PATCH] Update Docstring to match actual return values --- freqtrade/data/history/hdf5datahandler.py | 2 +- freqtrade/data/history/idatahandler.py | 2 +- freqtrade/data/history/jsondatahandler.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/freqtrade/data/history/hdf5datahandler.py b/freqtrade/data/history/hdf5datahandler.py index dadc9c7e6..1aa7f2883 100644 --- a/freqtrade/data/history/hdf5datahandler.py +++ b/freqtrade/data/history/hdf5datahandler.py @@ -28,7 +28,7 @@ class HDF5DataHandler(IDataHandler): Returns a list of all pairs with ohlcv data available in this datadir :param datadir: Directory to search for ohlcv files :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: datadir = datadir.joinpath('futures') diff --git a/freqtrade/data/history/idatahandler.py b/freqtrade/data/history/idatahandler.py index 07dc7c763..17ee0918e 100644 --- a/freqtrade/data/history/idatahandler.py +++ b/freqtrade/data/history/idatahandler.py @@ -46,7 +46,7 @@ class IDataHandler(ABC): Returns a list of all pairs with ohlcv data available in this datadir :param datadir: Directory to search for ohlcv files :param trading_mode: trading-mode to be used - :return: List of Tuples of (pair, timeframe) + :return: List of Tuples of (pair, timeframe, CandleType) """ @classmethod diff --git a/freqtrade/data/history/jsondatahandler.py b/freqtrade/data/history/jsondatahandler.py index 83ec183df..c000cd15e 100644 --- a/freqtrade/data/history/jsondatahandler.py +++ b/freqtrade/data/history/jsondatahandler.py @@ -30,7 +30,7 @@ class JsonDataHandler(IDataHandler): Returns a list of all pairs with ohlcv data available in this datadir :param datadir: Directory to search for ohlcv files :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': datadir = datadir.joinpath('futures')