removing unnecessary lib

This commit is contained in:
misagh 2018-11-07 18:15:04 +01:00
parent 553e5656ac
commit 6d63de1932
2 changed files with 2 additions and 2 deletions

View File

@ -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__)

View File

@ -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.