From 6d63de1932f3c0d1d4c6a7ef99ef750ac224b4a6 Mon Sep 17 00:00:00 2001 From: misagh Date: Wed, 7 Nov 2018 18:15:04 +0100 Subject: [PATCH] removing unnecessary lib --- freqtrade/edge/__init__.py | 1 - freqtrade/strategy/interface.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/edge/__init__.py b/freqtrade/edge/__init__.py index 648130e70..0a56e8bfa 100644 --- a/freqtrade/edge/__init__.py +++ b/freqtrade/edge/__init__.py @@ -14,7 +14,6 @@ from freqtrade.arguments import TimeRange from freqtrade.strategy.interface import SellType from freqtrade.strategy.resolver import IStrategy, StrategyResolver from collections import namedtuple -import sys logger = logging.getLogger(__name__) diff --git a/freqtrade/strategy/interface.py b/freqtrade/strategy/interface.py index 27016b18c..212559c8c 100644 --- a/freqtrade/strategy/interface.py +++ b/freqtrade/strategy/interface.py @@ -203,7 +203,8 @@ class IStrategy(ABC): return buy, sell def should_sell(self, trade: Trade, rate: float, date: datetime, buy: bool, - sell: bool, low: float = None, high: float = None, force_stoploss: float = 0) -> SellCheckTuple: + sell: bool, low: float = None, high: float = None, + force_stoploss: float = 0) -> SellCheckTuple: """ This function evaluate if on the condition required to trigger a sell has been reached if the threshold is reached and updates the trade record.