From 508a35fc2067ef6123fe3aadfe58c5954ece79a4 Mon Sep 17 00:00:00 2001 From: Matthias Date: Fri, 20 Sep 2019 20:20:16 +0200 Subject: [PATCH] Update comment as to why certain points have not been removed --- freqtrade/data/history.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/freqtrade/data/history.py b/freqtrade/data/history.py index 981a398da..865289f38 100644 --- a/freqtrade/data/history.py +++ b/freqtrade/data/history.py @@ -143,8 +143,12 @@ def load_data(datadir: Path, fill_up_missing: bool = True, ) -> Dict[str, DataFrame]: """ - Loads ticker history data for a list of pairs the given parameters + Loads ticker history data for a list of pairs :return: dict(:) + TODO: refresh_pairs is still used by edge to keep the data uptodate. + This should be replaced in the future. Instead, writing the current candles to disk + from dataprovider should be implemented, as this would avoid loading ohlcv data twice. + exchange and refresh_pairs are then not needed here nor in load_pair_history. """ result: Dict[str, DataFrame] = {}