From 1fef384bbae17b18e7d4842d47581a1cef7dae4f Mon Sep 17 00:00:00 2001 From: creslin Date: Fri, 3 Aug 2018 08:40:16 +0000 Subject: [PATCH] flake 8 --- freqtrade/strategy/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 6035f50bf..a17fdb625 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -135,7 +135,7 @@ class IStrategy(ABC): # Test if seen this pair and last candle before. dataframe = parse_ticker_dataframe(ticker_history) - pair = metadata['pair'] + pair = metadata.get('pair') last_seen = self.candleSeen.get_last_seen(pair) if last_seen != dataframe.iloc[-1]['date'] or self.config.get('ta_on_candle') is False: