From 2ec5a536aadf63006e734b8989fbefa904a95945 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 1 Sep 2018 19:53:49 +0200 Subject: [PATCH] Fix comment location --- freqtrade/strategy/interface.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 05ede129e..6d865f4bc 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -119,11 +119,12 @@ class IStrategy(ABC): add several TA indicators and buy signal to it :return DataFrame with ticker data and indicator data """ - # Test if seen this pair and last candle before. + dataframe = parse_ticker_dataframe(ticker_history) pair = str(metadata.get('pair')) + # Test if seen this pair and last candle before. # always run if process_only_new_candles is set to true if (not self.process_only_new_candles or self._last_candle_seen_per_pair.get(pair, None) != dataframe.iloc[-1]['date']):